Documentation
¶
Index ¶
- Constants
- type AccessKey
- type AddUserRequest
- type AddUserRequestParams
- type AddUserResponse
- type AddUserResponseParams
- type AddUserToGroupRequest
- type AddUserToGroupRequestParams
- type AddUserToGroupResponse
- type AddUserToGroupResponseParams
- type AttachEntityOfPolicy
- type AttachGroupPolicyRequest
- type AttachGroupPolicyRequestParams
- type AttachGroupPolicyResponse
- type AttachGroupPolicyResponseParams
- type AttachPolicyInfo
- type AttachRolePolicyRequest
- type AttachRolePolicyRequestParams
- type AttachRolePolicyResponse
- type AttachRolePolicyResponseParams
- type AttachUserPolicyRequest
- type AttachUserPolicyRequestParams
- type AttachUserPolicyResponse
- type AttachUserPolicyResponseParams
- type AttachedPolicyOfRole
- type AttachedUserPolicy
- type AttachedUserPolicyGroupInfo
- type Client
- func (c *Client) AddUser(request *AddUserRequest) (response *AddUserResponse, err error)
- func (c *Client) AddUserToGroup(request *AddUserToGroupRequest) (response *AddUserToGroupResponse, err error)
- func (c *Client) AddUserToGroupWithContext(ctx context.Context, request *AddUserToGroupRequest) (response *AddUserToGroupResponse, err error)
- func (c *Client) AddUserWithContext(ctx context.Context, request *AddUserRequest) (response *AddUserResponse, err error)
- func (c *Client) AttachGroupPolicy(request *AttachGroupPolicyRequest) (response *AttachGroupPolicyResponse, err error)
- func (c *Client) AttachGroupPolicyWithContext(ctx context.Context, request *AttachGroupPolicyRequest) (response *AttachGroupPolicyResponse, err error)
- func (c *Client) AttachRolePolicy(request *AttachRolePolicyRequest) (response *AttachRolePolicyResponse, err error)
- func (c *Client) AttachRolePolicyWithContext(ctx context.Context, request *AttachRolePolicyRequest) (response *AttachRolePolicyResponse, err error)
- func (c *Client) AttachUserPolicy(request *AttachUserPolicyRequest) (response *AttachUserPolicyResponse, err error)
- func (c *Client) AttachUserPolicyWithContext(ctx context.Context, request *AttachUserPolicyRequest) (response *AttachUserPolicyResponse, err error)
- func (c *Client) ConsumeCustomMFAToken(request *ConsumeCustomMFATokenRequest) (response *ConsumeCustomMFATokenResponse, err error)
- func (c *Client) ConsumeCustomMFATokenWithContext(ctx context.Context, request *ConsumeCustomMFATokenRequest) (response *ConsumeCustomMFATokenResponse, err error)
- func (c *Client) CreateGroup(request *CreateGroupRequest) (response *CreateGroupResponse, err error)
- func (c *Client) CreateGroupWithContext(ctx context.Context, request *CreateGroupRequest) (response *CreateGroupResponse, err error)
- func (c *Client) CreateOIDCConfig(request *CreateOIDCConfigRequest) (response *CreateOIDCConfigResponse, err error)
- func (c *Client) CreateOIDCConfigWithContext(ctx context.Context, request *CreateOIDCConfigRequest) (response *CreateOIDCConfigResponse, err error)
- func (c *Client) CreatePolicy(request *CreatePolicyRequest) (response *CreatePolicyResponse, err error)
- func (c *Client) CreatePolicyVersion(request *CreatePolicyVersionRequest) (response *CreatePolicyVersionResponse, err error)
- func (c *Client) CreatePolicyVersionWithContext(ctx context.Context, request *CreatePolicyVersionRequest) (response *CreatePolicyVersionResponse, err error)
- func (c *Client) CreatePolicyWithContext(ctx context.Context, request *CreatePolicyRequest) (response *CreatePolicyResponse, err error)
- func (c *Client) CreateRole(request *CreateRoleRequest) (response *CreateRoleResponse, err error)
- func (c *Client) CreateRoleWithContext(ctx context.Context, request *CreateRoleRequest) (response *CreateRoleResponse, err error)
- func (c *Client) CreateSAMLProvider(request *CreateSAMLProviderRequest) (response *CreateSAMLProviderResponse, err error)
- func (c *Client) CreateSAMLProviderWithContext(ctx context.Context, request *CreateSAMLProviderRequest) (response *CreateSAMLProviderResponse, err error)
- func (c *Client) CreateServiceLinkedRole(request *CreateServiceLinkedRoleRequest) (response *CreateServiceLinkedRoleResponse, err error)
- func (c *Client) CreateServiceLinkedRoleWithContext(ctx context.Context, request *CreateServiceLinkedRoleRequest) (response *CreateServiceLinkedRoleResponse, err error)
- func (c *Client) CreateUserOIDCConfig(request *CreateUserOIDCConfigRequest) (response *CreateUserOIDCConfigResponse, err error)
- func (c *Client) CreateUserOIDCConfigWithContext(ctx context.Context, request *CreateUserOIDCConfigRequest) (response *CreateUserOIDCConfigResponse, err error)
- func (c *Client) CreateUserSAMLConfig(request *CreateUserSAMLConfigRequest) (response *CreateUserSAMLConfigResponse, err error)
- func (c *Client) CreateUserSAMLConfigWithContext(ctx context.Context, request *CreateUserSAMLConfigRequest) (response *CreateUserSAMLConfigResponse, err error)
- func (c *Client) DeleteGroup(request *DeleteGroupRequest) (response *DeleteGroupResponse, err error)
- func (c *Client) DeleteGroupWithContext(ctx context.Context, request *DeleteGroupRequest) (response *DeleteGroupResponse, err error)
- func (c *Client) DeleteOIDCConfig(request *DeleteOIDCConfigRequest) (response *DeleteOIDCConfigResponse, err error)
- func (c *Client) DeleteOIDCConfigWithContext(ctx context.Context, request *DeleteOIDCConfigRequest) (response *DeleteOIDCConfigResponse, err error)
- func (c *Client) DeletePolicy(request *DeletePolicyRequest) (response *DeletePolicyResponse, err error)
- func (c *Client) DeletePolicyVersion(request *DeletePolicyVersionRequest) (response *DeletePolicyVersionResponse, err error)
- func (c *Client) DeletePolicyVersionWithContext(ctx context.Context, request *DeletePolicyVersionRequest) (response *DeletePolicyVersionResponse, err error)
- func (c *Client) DeletePolicyWithContext(ctx context.Context, request *DeletePolicyRequest) (response *DeletePolicyResponse, err error)
- func (c *Client) DeleteRole(request *DeleteRoleRequest) (response *DeleteRoleResponse, err error)
- func (c *Client) DeleteRolePermissionsBoundary(request *DeleteRolePermissionsBoundaryRequest) (response *DeleteRolePermissionsBoundaryResponse, err error)
- func (c *Client) DeleteRolePermissionsBoundaryWithContext(ctx context.Context, request *DeleteRolePermissionsBoundaryRequest) (response *DeleteRolePermissionsBoundaryResponse, err error)
- func (c *Client) DeleteRoleWithContext(ctx context.Context, request *DeleteRoleRequest) (response *DeleteRoleResponse, err error)
- func (c *Client) DeleteSAMLProvider(request *DeleteSAMLProviderRequest) (response *DeleteSAMLProviderResponse, err error)
- func (c *Client) DeleteSAMLProviderWithContext(ctx context.Context, request *DeleteSAMLProviderRequest) (response *DeleteSAMLProviderResponse, err error)
- func (c *Client) DeleteServiceLinkedRole(request *DeleteServiceLinkedRoleRequest) (response *DeleteServiceLinkedRoleResponse, err error)
- func (c *Client) DeleteServiceLinkedRoleWithContext(ctx context.Context, request *DeleteServiceLinkedRoleRequest) (response *DeleteServiceLinkedRoleResponse, err error)
- func (c *Client) DeleteUser(request *DeleteUserRequest) (response *DeleteUserResponse, err error)
- func (c *Client) DeleteUserPermissionsBoundary(request *DeleteUserPermissionsBoundaryRequest) (response *DeleteUserPermissionsBoundaryResponse, err error)
- func (c *Client) DeleteUserPermissionsBoundaryWithContext(ctx context.Context, request *DeleteUserPermissionsBoundaryRequest) (response *DeleteUserPermissionsBoundaryResponse, err error)
- func (c *Client) DeleteUserWithContext(ctx context.Context, request *DeleteUserRequest) (response *DeleteUserResponse, err error)
- func (c *Client) DescribeOIDCConfig(request *DescribeOIDCConfigRequest) (response *DescribeOIDCConfigResponse, err error)
- func (c *Client) DescribeOIDCConfigWithContext(ctx context.Context, request *DescribeOIDCConfigRequest) (response *DescribeOIDCConfigResponse, err error)
- func (c *Client) DescribeRoleList(request *DescribeRoleListRequest) (response *DescribeRoleListResponse, err error)
- func (c *Client) DescribeRoleListWithContext(ctx context.Context, request *DescribeRoleListRequest) (response *DescribeRoleListResponse, err error)
- func (c *Client) DescribeSafeAuthFlagColl(request *DescribeSafeAuthFlagCollRequest) (response *DescribeSafeAuthFlagCollResponse, err error)
- func (c *Client) DescribeSafeAuthFlagCollWithContext(ctx context.Context, request *DescribeSafeAuthFlagCollRequest) (response *DescribeSafeAuthFlagCollResponse, err error)
- func (c *Client) DescribeSafeAuthFlagIntl(request *DescribeSafeAuthFlagIntlRequest) (response *DescribeSafeAuthFlagIntlResponse, err error)
- func (c *Client) DescribeSafeAuthFlagIntlWithContext(ctx context.Context, request *DescribeSafeAuthFlagIntlRequest) (response *DescribeSafeAuthFlagIntlResponse, err error)
- func (c *Client) DescribeSubAccounts(request *DescribeSubAccountsRequest) (response *DescribeSubAccountsResponse, err error)
- func (c *Client) DescribeSubAccountsWithContext(ctx context.Context, request *DescribeSubAccountsRequest) (response *DescribeSubAccountsResponse, err error)
- func (c *Client) DescribeUserOIDCConfig(request *DescribeUserOIDCConfigRequest) (response *DescribeUserOIDCConfigResponse, err error)
- func (c *Client) DescribeUserOIDCConfigWithContext(ctx context.Context, request *DescribeUserOIDCConfigRequest) (response *DescribeUserOIDCConfigResponse, err error)
- func (c *Client) DescribeUserSAMLConfig(request *DescribeUserSAMLConfigRequest) (response *DescribeUserSAMLConfigResponse, err error)
- func (c *Client) DescribeUserSAMLConfigWithContext(ctx context.Context, request *DescribeUserSAMLConfigRequest) (response *DescribeUserSAMLConfigResponse, err error)
- func (c *Client) DetachGroupPolicy(request *DetachGroupPolicyRequest) (response *DetachGroupPolicyResponse, err error)
- func (c *Client) DetachGroupPolicyWithContext(ctx context.Context, request *DetachGroupPolicyRequest) (response *DetachGroupPolicyResponse, err error)
- func (c *Client) DetachRolePolicy(request *DetachRolePolicyRequest) (response *DetachRolePolicyResponse, err error)
- func (c *Client) DetachRolePolicyWithContext(ctx context.Context, request *DetachRolePolicyRequest) (response *DetachRolePolicyResponse, err error)
- func (c *Client) DetachUserPolicy(request *DetachUserPolicyRequest) (response *DetachUserPolicyResponse, err error)
- func (c *Client) DetachUserPolicyWithContext(ctx context.Context, request *DetachUserPolicyRequest) (response *DetachUserPolicyResponse, err error)
- func (c *Client) DisableUserSSO(request *DisableUserSSORequest) (response *DisableUserSSOResponse, err error)
- func (c *Client) DisableUserSSOWithContext(ctx context.Context, request *DisableUserSSORequest) (response *DisableUserSSOResponse, err error)
- func (c *Client) GetAccountSummary(request *GetAccountSummaryRequest) (response *GetAccountSummaryResponse, err error)
- func (c *Client) GetAccountSummaryWithContext(ctx context.Context, request *GetAccountSummaryRequest) (response *GetAccountSummaryResponse, err error)
- func (c *Client) GetCustomMFATokenInfo(request *GetCustomMFATokenInfoRequest) (response *GetCustomMFATokenInfoResponse, err error)
- func (c *Client) GetCustomMFATokenInfoWithContext(ctx context.Context, request *GetCustomMFATokenInfoRequest) (response *GetCustomMFATokenInfoResponse, err error)
- func (c *Client) GetGroup(request *GetGroupRequest) (response *GetGroupResponse, err error)
- func (c *Client) GetGroupWithContext(ctx context.Context, request *GetGroupRequest) (response *GetGroupResponse, err error)
- func (c *Client) GetPolicy(request *GetPolicyRequest) (response *GetPolicyResponse, err error)
- func (c *Client) GetPolicyVersion(request *GetPolicyVersionRequest) (response *GetPolicyVersionResponse, err error)
- func (c *Client) GetPolicyVersionWithContext(ctx context.Context, request *GetPolicyVersionRequest) (response *GetPolicyVersionResponse, err error)
- func (c *Client) GetPolicyWithContext(ctx context.Context, request *GetPolicyRequest) (response *GetPolicyResponse, err error)
- func (c *Client) GetRole(request *GetRoleRequest) (response *GetRoleResponse, err error)
- func (c *Client) GetRoleWithContext(ctx context.Context, request *GetRoleRequest) (response *GetRoleResponse, err error)
- func (c *Client) GetSAMLProvider(request *GetSAMLProviderRequest) (response *GetSAMLProviderResponse, err error)
- func (c *Client) GetSAMLProviderWithContext(ctx context.Context, request *GetSAMLProviderRequest) (response *GetSAMLProviderResponse, err error)
- func (c *Client) GetSecurityLastUsed(request *GetSecurityLastUsedRequest) (response *GetSecurityLastUsedResponse, err error)
- func (c *Client) GetSecurityLastUsedWithContext(ctx context.Context, request *GetSecurityLastUsedRequest) (response *GetSecurityLastUsedResponse, err error)
- func (c *Client) GetServiceLinkedRoleDeletionStatus(request *GetServiceLinkedRoleDeletionStatusRequest) (response *GetServiceLinkedRoleDeletionStatusResponse, err error)
- func (c *Client) GetServiceLinkedRoleDeletionStatusWithContext(ctx context.Context, request *GetServiceLinkedRoleDeletionStatusRequest) (response *GetServiceLinkedRoleDeletionStatusResponse, err error)
- func (c *Client) GetUser(request *GetUserRequest) (response *GetUserResponse, err error)
- func (c *Client) GetUserAppId(request *GetUserAppIdRequest) (response *GetUserAppIdResponse, err error)
- func (c *Client) GetUserAppIdWithContext(ctx context.Context, request *GetUserAppIdRequest) (response *GetUserAppIdResponse, err error)
- func (c *Client) GetUserWithContext(ctx context.Context, request *GetUserRequest) (response *GetUserResponse, err error)
- func (c *Client) ListAccessKeys(request *ListAccessKeysRequest) (response *ListAccessKeysResponse, err error)
- func (c *Client) ListAccessKeysWithContext(ctx context.Context, request *ListAccessKeysRequest) (response *ListAccessKeysResponse, err error)
- func (c *Client) ListAttachedGroupPolicies(request *ListAttachedGroupPoliciesRequest) (response *ListAttachedGroupPoliciesResponse, err error)
- func (c *Client) ListAttachedGroupPoliciesWithContext(ctx context.Context, request *ListAttachedGroupPoliciesRequest) (response *ListAttachedGroupPoliciesResponse, err error)
- func (c *Client) ListAttachedRolePolicies(request *ListAttachedRolePoliciesRequest) (response *ListAttachedRolePoliciesResponse, err error)
- func (c *Client) ListAttachedRolePoliciesWithContext(ctx context.Context, request *ListAttachedRolePoliciesRequest) (response *ListAttachedRolePoliciesResponse, err error)
- func (c *Client) ListAttachedUserAllPolicies(request *ListAttachedUserAllPoliciesRequest) (response *ListAttachedUserAllPoliciesResponse, err error)
- func (c *Client) ListAttachedUserAllPoliciesWithContext(ctx context.Context, request *ListAttachedUserAllPoliciesRequest) (response *ListAttachedUserAllPoliciesResponse, err error)
- func (c *Client) ListAttachedUserPolicies(request *ListAttachedUserPoliciesRequest) (response *ListAttachedUserPoliciesResponse, err error)
- func (c *Client) ListAttachedUserPoliciesWithContext(ctx context.Context, request *ListAttachedUserPoliciesRequest) (response *ListAttachedUserPoliciesResponse, err error)
- func (c *Client) ListCollaborators(request *ListCollaboratorsRequest) (response *ListCollaboratorsResponse, err error)
- func (c *Client) ListCollaboratorsWithContext(ctx context.Context, request *ListCollaboratorsRequest) (response *ListCollaboratorsResponse, err error)
- func (c *Client) ListEntitiesForPolicy(request *ListEntitiesForPolicyRequest) (response *ListEntitiesForPolicyResponse, err error)
- func (c *Client) ListEntitiesForPolicyWithContext(ctx context.Context, request *ListEntitiesForPolicyRequest) (response *ListEntitiesForPolicyResponse, err error)
- func (c *Client) ListGroups(request *ListGroupsRequest) (response *ListGroupsResponse, err error)
- func (c *Client) ListGroupsForUser(request *ListGroupsForUserRequest) (response *ListGroupsForUserResponse, err error)
- func (c *Client) ListGroupsForUserWithContext(ctx context.Context, request *ListGroupsForUserRequest) (response *ListGroupsForUserResponse, err error)
- func (c *Client) ListGroupsWithContext(ctx context.Context, request *ListGroupsRequest) (response *ListGroupsResponse, err error)
- func (c *Client) ListPolicies(request *ListPoliciesRequest) (response *ListPoliciesResponse, err error)
- func (c *Client) ListPoliciesWithContext(ctx context.Context, request *ListPoliciesRequest) (response *ListPoliciesResponse, err error)
- func (c *Client) ListPolicyVersions(request *ListPolicyVersionsRequest) (response *ListPolicyVersionsResponse, err error)
- func (c *Client) ListPolicyVersionsWithContext(ctx context.Context, request *ListPolicyVersionsRequest) (response *ListPolicyVersionsResponse, err error)
- func (c *Client) ListSAMLProviders(request *ListSAMLProvidersRequest) (response *ListSAMLProvidersResponse, err error)
- func (c *Client) ListSAMLProvidersWithContext(ctx context.Context, request *ListSAMLProvidersRequest) (response *ListSAMLProvidersResponse, err error)
- func (c *Client) ListUsers(request *ListUsersRequest) (response *ListUsersResponse, err error)
- func (c *Client) ListUsersForGroup(request *ListUsersForGroupRequest) (response *ListUsersForGroupResponse, err error)
- func (c *Client) ListUsersForGroupWithContext(ctx context.Context, request *ListUsersForGroupRequest) (response *ListUsersForGroupResponse, err error)
- func (c *Client) ListUsersWithContext(ctx context.Context, request *ListUsersRequest) (response *ListUsersResponse, err error)
- func (c *Client) PutRolePermissionsBoundary(request *PutRolePermissionsBoundaryRequest) (response *PutRolePermissionsBoundaryResponse, err error)
- func (c *Client) PutRolePermissionsBoundaryWithContext(ctx context.Context, request *PutRolePermissionsBoundaryRequest) (response *PutRolePermissionsBoundaryResponse, err error)
- func (c *Client) PutUserPermissionsBoundary(request *PutUserPermissionsBoundaryRequest) (response *PutUserPermissionsBoundaryResponse, err error)
- func (c *Client) PutUserPermissionsBoundaryWithContext(ctx context.Context, request *PutUserPermissionsBoundaryRequest) (response *PutUserPermissionsBoundaryResponse, err error)
- func (c *Client) RemoveUserFromGroup(request *RemoveUserFromGroupRequest) (response *RemoveUserFromGroupResponse, err error)
- func (c *Client) RemoveUserFromGroupWithContext(ctx context.Context, request *RemoveUserFromGroupRequest) (response *RemoveUserFromGroupResponse, err error)
- func (c *Client) SetDefaultPolicyVersion(request *SetDefaultPolicyVersionRequest) (response *SetDefaultPolicyVersionResponse, err error)
- func (c *Client) SetDefaultPolicyVersionWithContext(ctx context.Context, request *SetDefaultPolicyVersionRequest) (response *SetDefaultPolicyVersionResponse, err error)
- func (c *Client) SetMfaFlag(request *SetMfaFlagRequest) (response *SetMfaFlagResponse, err error)
- func (c *Client) SetMfaFlagWithContext(ctx context.Context, request *SetMfaFlagRequest) (response *SetMfaFlagResponse, err error)
- func (c *Client) TagRole(request *TagRoleRequest) (response *TagRoleResponse, err error)
- func (c *Client) TagRoleWithContext(ctx context.Context, request *TagRoleRequest) (response *TagRoleResponse, err error)
- func (c *Client) UntagRole(request *UntagRoleRequest) (response *UntagRoleResponse, err error)
- func (c *Client) UntagRoleWithContext(ctx context.Context, request *UntagRoleRequest) (response *UntagRoleResponse, err error)
- func (c *Client) UpdateAssumeRolePolicy(request *UpdateAssumeRolePolicyRequest) (response *UpdateAssumeRolePolicyResponse, err error)
- func (c *Client) UpdateAssumeRolePolicyWithContext(ctx context.Context, request *UpdateAssumeRolePolicyRequest) (response *UpdateAssumeRolePolicyResponse, err error)
- func (c *Client) UpdateGroup(request *UpdateGroupRequest) (response *UpdateGroupResponse, err error)
- func (c *Client) UpdateGroupWithContext(ctx context.Context, request *UpdateGroupRequest) (response *UpdateGroupResponse, err error)
- func (c *Client) UpdateOIDCConfig(request *UpdateOIDCConfigRequest) (response *UpdateOIDCConfigResponse, err error)
- func (c *Client) UpdateOIDCConfigWithContext(ctx context.Context, request *UpdateOIDCConfigRequest) (response *UpdateOIDCConfigResponse, err error)
- func (c *Client) UpdatePolicy(request *UpdatePolicyRequest) (response *UpdatePolicyResponse, err error)
- func (c *Client) UpdatePolicyWithContext(ctx context.Context, request *UpdatePolicyRequest) (response *UpdatePolicyResponse, err error)
- func (c *Client) UpdateRoleConsoleLogin(request *UpdateRoleConsoleLoginRequest) (response *UpdateRoleConsoleLoginResponse, err error)
- func (c *Client) UpdateRoleConsoleLoginWithContext(ctx context.Context, request *UpdateRoleConsoleLoginRequest) (response *UpdateRoleConsoleLoginResponse, err error)
- func (c *Client) UpdateRoleDescription(request *UpdateRoleDescriptionRequest) (response *UpdateRoleDescriptionResponse, err error)
- func (c *Client) UpdateRoleDescriptionWithContext(ctx context.Context, request *UpdateRoleDescriptionRequest) (response *UpdateRoleDescriptionResponse, err error)
- func (c *Client) UpdateSAMLProvider(request *UpdateSAMLProviderRequest) (response *UpdateSAMLProviderResponse, err error)
- func (c *Client) UpdateSAMLProviderWithContext(ctx context.Context, request *UpdateSAMLProviderRequest) (response *UpdateSAMLProviderResponse, err error)
- func (c *Client) UpdateUser(request *UpdateUserRequest) (response *UpdateUserResponse, err error)
- func (c *Client) UpdateUserOIDCConfig(request *UpdateUserOIDCConfigRequest) (response *UpdateUserOIDCConfigResponse, err error)
- func (c *Client) UpdateUserOIDCConfigWithContext(ctx context.Context, request *UpdateUserOIDCConfigRequest) (response *UpdateUserOIDCConfigResponse, err error)
- func (c *Client) UpdateUserSAMLConfig(request *UpdateUserSAMLConfigRequest) (response *UpdateUserSAMLConfigResponse, err error)
- func (c *Client) UpdateUserSAMLConfigWithContext(ctx context.Context, request *UpdateUserSAMLConfigRequest) (response *UpdateUserSAMLConfigResponse, err error)
- func (c *Client) UpdateUserWithContext(ctx context.Context, request *UpdateUserRequest) (response *UpdateUserResponse, err error)
- type ConsumeCustomMFATokenRequest
- type ConsumeCustomMFATokenRequestParams
- type ConsumeCustomMFATokenResponse
- type ConsumeCustomMFATokenResponseParams
- type CreateGroupRequest
- type CreateGroupRequestParams
- type CreateGroupResponse
- type CreateGroupResponseParams
- type CreateOIDCConfigRequest
- type CreateOIDCConfigRequestParams
- type CreateOIDCConfigResponse
- type CreateOIDCConfigResponseParams
- type CreatePolicyRequest
- type CreatePolicyRequestParams
- type CreatePolicyResponse
- type CreatePolicyResponseParams
- type CreatePolicyVersionRequest
- type CreatePolicyVersionRequestParams
- type CreatePolicyVersionResponse
- type CreatePolicyVersionResponseParams
- type CreateRoleRequest
- type CreateRoleRequestParams
- type CreateRoleResponse
- type CreateRoleResponseParams
- type CreateSAMLProviderRequest
- type CreateSAMLProviderRequestParams
- type CreateSAMLProviderResponse
- type CreateSAMLProviderResponseParams
- type CreateServiceLinkedRoleRequest
- type CreateServiceLinkedRoleRequestParams
- type CreateServiceLinkedRoleResponse
- type CreateServiceLinkedRoleResponseParams
- type CreateUserOIDCConfigRequest
- type CreateUserOIDCConfigRequestParams
- type CreateUserOIDCConfigResponse
- type CreateUserOIDCConfigResponseParams
- type CreateUserSAMLConfigRequest
- type CreateUserSAMLConfigRequestParams
- type CreateUserSAMLConfigResponse
- type CreateUserSAMLConfigResponseParams
- type DeleteGroupRequest
- type DeleteGroupRequestParams
- type DeleteGroupResponse
- type DeleteGroupResponseParams
- type DeleteOIDCConfigRequest
- type DeleteOIDCConfigRequestParams
- type DeleteOIDCConfigResponse
- type DeleteOIDCConfigResponseParams
- type DeletePolicyRequest
- type DeletePolicyRequestParams
- type DeletePolicyResponse
- type DeletePolicyResponseParams
- type DeletePolicyVersionRequest
- type DeletePolicyVersionRequestParams
- type DeletePolicyVersionResponse
- type DeletePolicyVersionResponseParams
- type DeleteRolePermissionsBoundaryRequest
- type DeleteRolePermissionsBoundaryRequestParams
- type DeleteRolePermissionsBoundaryResponse
- type DeleteRolePermissionsBoundaryResponseParams
- type DeleteRoleRequest
- type DeleteRoleRequestParams
- type DeleteRoleResponse
- type DeleteRoleResponseParams
- type DeleteSAMLProviderRequest
- type DeleteSAMLProviderRequestParams
- type DeleteSAMLProviderResponse
- type DeleteSAMLProviderResponseParams
- type DeleteServiceLinkedRoleRequest
- type DeleteServiceLinkedRoleRequestParams
- type DeleteServiceLinkedRoleResponse
- type DeleteServiceLinkedRoleResponseParams
- type DeleteUserPermissionsBoundaryRequest
- type DeleteUserPermissionsBoundaryRequestParams
- type DeleteUserPermissionsBoundaryResponse
- type DeleteUserPermissionsBoundaryResponseParams
- type DeleteUserRequest
- type DeleteUserRequestParams
- type DeleteUserResponse
- type DeleteUserResponseParams
- type DescribeOIDCConfigRequest
- type DescribeOIDCConfigRequestParams
- type DescribeOIDCConfigResponse
- type DescribeOIDCConfigResponseParams
- type DescribeRoleListRequest
- type DescribeRoleListRequestParams
- type DescribeRoleListResponse
- type DescribeRoleListResponseParams
- type DescribeSafeAuthFlagCollRequest
- type DescribeSafeAuthFlagCollRequestParams
- type DescribeSafeAuthFlagCollResponse
- type DescribeSafeAuthFlagCollResponseParams
- type DescribeSafeAuthFlagIntlRequest
- type DescribeSafeAuthFlagIntlRequestParams
- type DescribeSafeAuthFlagIntlResponse
- type DescribeSafeAuthFlagIntlResponseParams
- type DescribeSubAccountsRequest
- type DescribeSubAccountsRequestParams
- type DescribeSubAccountsResponse
- type DescribeSubAccountsResponseParams
- type DescribeUserOIDCConfigRequest
- type DescribeUserOIDCConfigRequestParams
- type DescribeUserOIDCConfigResponse
- type DescribeUserOIDCConfigResponseParams
- type DescribeUserSAMLConfigRequest
- type DescribeUserSAMLConfigRequestParams
- type DescribeUserSAMLConfigResponse
- type DescribeUserSAMLConfigResponseParams
- type DetachGroupPolicyRequest
- type DetachGroupPolicyRequestParams
- type DetachGroupPolicyResponse
- type DetachGroupPolicyResponseParams
- type DetachRolePolicyRequest
- type DetachRolePolicyRequestParams
- type DetachRolePolicyResponse
- type DetachRolePolicyResponseParams
- type DetachUserPolicyRequest
- type DetachUserPolicyRequestParams
- type DetachUserPolicyResponse
- type DetachUserPolicyResponseParams
- type DisableUserSSORequest
- type DisableUserSSORequestParams
- type DisableUserSSOResponse
- type DisableUserSSOResponseParams
- type GetAccountSummaryRequest
- type GetAccountSummaryRequestParams
- type GetAccountSummaryResponse
- type GetAccountSummaryResponseParams
- type GetCustomMFATokenInfoRequest
- type GetCustomMFATokenInfoRequestParams
- type GetCustomMFATokenInfoResponse
- type GetCustomMFATokenInfoResponseParams
- type GetGroupRequest
- type GetGroupRequestParams
- type GetGroupResponse
- type GetGroupResponseParams
- type GetPolicyRequest
- type GetPolicyRequestParams
- type GetPolicyResponse
- type GetPolicyResponseParams
- type GetPolicyVersionRequest
- type GetPolicyVersionRequestParams
- type GetPolicyVersionResponse
- type GetPolicyVersionResponseParams
- type GetRoleRequest
- type GetRoleRequestParams
- type GetRoleResponse
- type GetRoleResponseParams
- type GetSAMLProviderRequest
- type GetSAMLProviderRequestParams
- type GetSAMLProviderResponse
- type GetSAMLProviderResponseParams
- type GetSecurityLastUsedRequest
- type GetSecurityLastUsedRequestParams
- type GetSecurityLastUsedResponse
- type GetSecurityLastUsedResponseParams
- type GetServiceLinkedRoleDeletionStatusRequest
- type GetServiceLinkedRoleDeletionStatusRequestParams
- type GetServiceLinkedRoleDeletionStatusResponse
- type GetServiceLinkedRoleDeletionStatusResponseParams
- type GetUserAppIdRequest
- type GetUserAppIdRequestParams
- type GetUserAppIdResponse
- type GetUserAppIdResponseParams
- type GetUserRequest
- type GetUserRequestParams
- type GetUserResponse
- type GetUserResponseParams
- type GroupIdOfUidInfo
- type GroupInfo
- type GroupMemberInfo
- type ListAccessKeysRequest
- type ListAccessKeysRequestParams
- type ListAccessKeysResponse
- type ListAccessKeysResponseParams
- type ListAttachedGroupPoliciesRequest
- type ListAttachedGroupPoliciesRequestParams
- type ListAttachedGroupPoliciesResponse
- type ListAttachedGroupPoliciesResponseParams
- type ListAttachedRolePoliciesRequest
- type ListAttachedRolePoliciesRequestParams
- type ListAttachedRolePoliciesResponse
- type ListAttachedRolePoliciesResponseParams
- type ListAttachedUserAllPoliciesRequest
- type ListAttachedUserAllPoliciesRequestParams
- type ListAttachedUserAllPoliciesResponse
- type ListAttachedUserAllPoliciesResponseParams
- type ListAttachedUserPoliciesRequest
- type ListAttachedUserPoliciesRequestParams
- type ListAttachedUserPoliciesResponse
- type ListAttachedUserPoliciesResponseParams
- type ListCollaboratorsRequest
- type ListCollaboratorsRequestParams
- type ListCollaboratorsResponse
- type ListCollaboratorsResponseParams
- type ListEntitiesForPolicyRequest
- type ListEntitiesForPolicyRequestParams
- type ListEntitiesForPolicyResponse
- type ListEntitiesForPolicyResponseParams
- type ListGroupsForUserRequest
- type ListGroupsForUserRequestParams
- type ListGroupsForUserResponse
- type ListGroupsForUserResponseParams
- type ListGroupsRequest
- type ListGroupsRequestParams
- type ListGroupsResponse
- type ListGroupsResponseParams
- type ListPoliciesRequest
- type ListPoliciesRequestParams
- type ListPoliciesResponse
- type ListPoliciesResponseParams
- type ListPolicyVersionsRequest
- type ListPolicyVersionsRequestParams
- type ListPolicyVersionsResponse
- type ListPolicyVersionsResponseParams
- type ListSAMLProvidersRequest
- type ListSAMLProvidersRequestParams
- type ListSAMLProvidersResponse
- type ListSAMLProvidersResponseParams
- type ListUsersForGroupRequest
- type ListUsersForGroupRequestParams
- type ListUsersForGroupResponse
- type ListUsersForGroupResponseParams
- type ListUsersRequest
- type ListUsersRequestParams
- type ListUsersResponse
- type ListUsersResponseParams
- type LoginActionFlag
- type LoginActionFlagIntl
- type LoginActionMfaFlag
- type OffsiteFlag
- type PolicyVersionDetail
- type PolicyVersionItem
- type PutRolePermissionsBoundaryRequest
- type PutRolePermissionsBoundaryRequestParams
- type PutRolePermissionsBoundaryResponse
- type PutRolePermissionsBoundaryResponseParams
- type PutUserPermissionsBoundaryRequest
- type PutUserPermissionsBoundaryRequestParams
- type PutUserPermissionsBoundaryResponse
- type PutUserPermissionsBoundaryResponseParams
- type RemoveUserFromGroupRequest
- type RemoveUserFromGroupRequestParams
- type RemoveUserFromGroupResponse
- type RemoveUserFromGroupResponseParams
- type RoleInfo
- type RoleTags
- type SAMLProviderInfo
- type SecretIdLastUsed
- type SetDefaultPolicyVersionRequest
- type SetDefaultPolicyVersionRequestParams
- type SetDefaultPolicyVersionResponse
- type SetDefaultPolicyVersionResponseParams
- type SetMfaFlagRequest
- type SetMfaFlagRequestParams
- type SetMfaFlagResponse
- type SetMfaFlagResponseParams
- type StrategyInfo
- type SubAccountInfo
- type SubAccountUser
- type TagRoleRequest
- type TagRoleRequestParams
- type TagRoleResponse
- type TagRoleResponseParams
- type UntagRoleRequest
- type UntagRoleRequestParams
- type UntagRoleResponse
- type UntagRoleResponseParams
- type UpdateAssumeRolePolicyRequest
- type UpdateAssumeRolePolicyRequestParams
- type UpdateAssumeRolePolicyResponse
- type UpdateAssumeRolePolicyResponseParams
- type UpdateGroupRequest
- type UpdateGroupRequestParams
- type UpdateGroupResponse
- type UpdateGroupResponseParams
- type UpdateOIDCConfigRequest
- type UpdateOIDCConfigRequestParams
- type UpdateOIDCConfigResponse
- type UpdateOIDCConfigResponseParams
- type UpdatePolicyRequest
- type UpdatePolicyRequestParams
- type UpdatePolicyResponse
- type UpdatePolicyResponseParams
- type UpdateRoleConsoleLoginRequest
- type UpdateRoleConsoleLoginRequestParams
- type UpdateRoleConsoleLoginResponse
- type UpdateRoleConsoleLoginResponseParams
- type UpdateRoleDescriptionRequest
- type UpdateRoleDescriptionRequestParams
- type UpdateRoleDescriptionResponse
- type UpdateRoleDescriptionResponseParams
- type UpdateSAMLProviderRequest
- type UpdateSAMLProviderRequestParams
- type UpdateSAMLProviderResponse
- type UpdateSAMLProviderResponseParams
- type UpdateUserOIDCConfigRequest
- type UpdateUserOIDCConfigRequestParams
- type UpdateUserOIDCConfigResponse
- type UpdateUserOIDCConfigResponseParams
- type UpdateUserRequest
- type UpdateUserRequestParams
- type UpdateUserResponse
- type UpdateUserResponseParams
- type UpdateUserSAMLConfigRequest
- type UpdateUserSAMLConfigRequestParams
- type UpdateUserSAMLConfigResponse
- type UpdateUserSAMLConfigResponseParams
Constants ¶
const ( // No permission. AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" // Operation failed. FAILEDOPERATION = "FailedOperation" // An error occurred while manipulating the access key. FAILEDOPERATION_ACCESSKEY = "FailedOperation.Accesskey" // The number of user policies has exceeded the limit. FAILEDOPERATION_POLICYFULL = "FailedOperation.PolicyFull" // The policy name specified by the `PolicyName` field already exists. FAILEDOPERATION_POLICYNAMEINUSE = "FailedOperation.PolicyNameInUse" // The policy version is already the default policy version. FAILEDOPERATION_POLICYVERSIONALREADYDEFAULT = "FailedOperation.PolicyVersionAlreadyDefault" // The number of policy versions has reached the upper limit. FAILEDOPERATION_POLICYVERSIONFULL = "FailedOperation.PolicyVersionFull" // Failed to bind the tag. FAILEDOPERATION_TAGRESOURCEFAILED = "FailedOperation.TagResourceFailed" // Failed to unbind the tag FAILEDOPERATION_UNTAGRESOURCEFAILED = "FailedOperation.UnTagResourceFailed" // No mobile number is bound to the account FAILEDOPERATION_USERNOTBINDPHONE = "FailedOperation.UserNotBindPhone" // No WeChat Account is bound to the account FAILEDOPERATION_USERNOTBINDWECHAT = "FailedOperation.UserNotBindWechat" // User does not have permission. FAILEDOPERATION_USERUNBINDNOPERMISSION = "FailedOperation.UserUnbindNoPermission" // Internal error INTERNALERROR = "InternalError" // Internal error. INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" // Incorrect parameter. INVALIDPARAMETER = "InvalidParameter" // `Action` field of policy document invalid. INVALIDPARAMETER_ACTIONERROR = "InvalidParameter.ActionError" // The action in the policy syntax does not exist. INVALIDPARAMETER_ACTIONMISS = "InvalidParameter.ActionMiss" // The action in the policy syntax does not exist. INVALIDPARAMETER_ACTIONNOTEXIST = "InvalidParameter.ActionNotExist" // The action service in the policy syntax does not exist. INVALIDPARAMETER_ACTIONSERVICENOTEXIST = "InvalidParameter.ActionServiceNotExist" // Limit on number of authorization object associated policies in the `principal` field reached. INVALIDPARAMETER_ATTACHMENTFULL = "InvalidParameter.AttachmentFull" // The condition content in the policy syntax is incorrect. INVALIDPARAMETER_CONDITIONCONTENTERROR = "InvalidParameter.ConditionContentError" // `condition` field of policy document invalid. INVALIDPARAMETER_CONDITIONERROR = "InvalidParameter.ConditionError" // The condition operator in the policy syntax is incorrect. INVALIDPARAMETER_CONDITIONTYPEERROR = "InvalidParameter.ConditionTypeError" // The task does not exist. INVALIDPARAMETER_DELETIONTASKNOTEXIST = "InvalidParameter.DeletionTaskNotExist" // The input parameter `description` cannot exceed 300 bytes in length. INVALIDPARAMETER_DESCRIPTIONLENGTHOVERLIMIT = "InvalidParameter.DescriptionLengthOverlimit" // `Effect` field of policy document invalid. INVALIDPARAMETER_EFFECTERROR = "InvalidParameter.EffectError" // `EntityFilter` field invalid. INVALIDPARAMETER_ENTITYFILTERERROR = "InvalidParameter.EntityFilterError" // Limit on number of user groups reached. INVALIDPARAMETER_GROUPFULL = "InvalidParameter.GroupFull" // `GroupId` field invalid. INVALIDPARAMETER_GROUPIDERROR = "InvalidParameter.GroupIdError" // User Group name repeated. INVALIDPARAMETER_GROUPNAMEINUSE = "InvalidParameter.GroupNameInUse" // User Group does not exist. INVALIDPARAMETER_GROUPNOTEXIST = "InvalidParameter.GroupNotExist" // Limit on number of sub-users in the user group reached. INVALIDPARAMETER_GROUPUSERFULL = "InvalidParameter.GroupUserFull" // Identity provider name already in use. INVALIDPARAMETER_IDENTITYNAMEINUSE = "InvalidParameter.IdentityNameInUse" // `Keyword` field invalid. INVALIDPARAMETER_KEYWORDERROR = "InvalidParameter.KeywordError" // Multi-factor Token verification failed. INVALIDPARAMETER_MFATOKENERROR = "InvalidParameter.MFATokenError" // CAM does not support the resource type specified in the policy document. INVALIDPARAMETER_NOTSUPPORTPRODUCT = "InvalidParameter.NotSupportProduct" // There were too many entities in one operation. INVALIDPARAMETER_OPERATEENTITIESOVERLIMIT = "InvalidParameter.OperateEntitiesOverLimit" // Invalid input parameter. INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" // Password incompatible with user safety settings. INVALIDPARAMETER_PASSWORDVIOLATEDRULES = "InvalidParameter.PasswordViolatedRules" // `PolicyDocument` field invalid. INVALIDPARAMETER_POLICYDOCUMENTERROR = "InvalidParameter.PolicyDocumentError" // `PolicyDocument` field exceeds length restriction. INVALIDPARAMETER_POLICYDOCUMENTLENGTHOVERLIMIT = "InvalidParameter.PolicyDocumentLengthOverLimit" // Input parameter `PolicyId` invalid. INVALIDPARAMETER_POLICYIDERROR = "InvalidParameter.PolicyIdError" // Policy ID does not exist. INVALIDPARAMETER_POLICYIDNOTEXIST = "InvalidParameter.PolicyIdNotExist" // `PolicyName` field invalid. INVALIDPARAMETER_POLICYNAMEERROR = "InvalidParameter.PolicyNameError" // The policy version does not exist. INVALIDPARAMETER_POLICYVERSIONNOTEXISTS = "InvalidParameter.PolicyVersionNotExists" // `principal` field of policy document invalid. INVALIDPARAMETER_PRINCIPALERROR = "InvalidParameter.PrincipalError" // Cross-site access is not supported for this role entity. INVALIDPARAMETER_PRINCIPALQCSCROSSERROR = "InvalidParameter.PrincipalQcsCrossError" // Incorrect `PrincipalQcsc`. INVALIDPARAMETER_PRINCIPALQCSERROR = "InvalidParameter.PrincipalQcsError" // `PrincipalQcs` does not exist. INVALIDPARAMETER_PRINCIPALQCSNOTEXIST = "InvalidParameter.PrincipalQcsNotExist" // `PrincipalService` does not exist. INVALIDPARAMETER_PRINCIPALSERVICENOTEXIST = "InvalidParameter.PrincipalServiceNotExist" // The resource context in the policy syntax is incorrect. INVALIDPARAMETER_RESOURCECONTENTERROR = "InvalidParameter.ResourceContentError" // `Resource` field of policy document invalid. INVALIDPARAMETER_RESOURCEERROR = "InvalidParameter.ResourceError" // The resource project in the policy syntax is incorrect. INVALIDPARAMETER_RESOURCEPROJECTERROR = "InvalidParameter.ResourceProjectError" // Incorrect resource `QCS`. INVALIDPARAMETER_RESOURCEQCSERROR = "InvalidParameter.ResourceQcsError" // The resource region in the policy syntax is incorrect. INVALIDPARAMETER_RESOURCEREGIONERROR = "InvalidParameter.ResourceRegionError" // The resource service in the policy syntax does not exist. INVALIDPARAMETER_RESOURCESERVICENOTEXIST = "InvalidParameter.ResourceServiceNotExist" // The resource root account in the policy syntax is incorrect. INVALIDPARAMETER_RESOURCEUINERROR = "InvalidParameter.ResourceUinError" // Limit on number of roles reached. INVALIDPARAMETER_ROLEFULL = "InvalidParameter.RoleFull" // Role name invalid. INVALIDPARAMETER_ROLENAMEERROR = "InvalidParameter.RoleNameError" // A role with the same name already exists. INVALIDPARAMETER_ROLENAMEINUSE = "InvalidParameter.RoleNameInUse" // Role does not exist. INVALIDPARAMETER_ROLENOTEXIST = "InvalidParameter.RoleNotExist" // `Scope` field invalid. INVALIDPARAMETER_SCOPEERROR = "InvalidParameter.ScopeError" // Service policies cannot be used for permission boundaries. INVALIDPARAMETER_SERVICELINKEDPOLICYCANTINPERMISSIONBOUNDARY = "InvalidParameter.ServiceLinkedPolicyCantInPermissionBoundary" // Permission boundaries cannot be used for service roles. INVALIDPARAMETER_SERVICELINKEDROLECANTUSEPERMISSIONBOUNDARY = "InvalidParameter.ServiceLinkedRoleCantUsePermissionBoundary" // `ServiceType` field invalid. INVALIDPARAMETER_SERVICETYPEERROR = "InvalidParameter.ServiceTypeError" // `Statement` field of policy document invalid. INVALIDPARAMETER_STATEMENTERROR = "InvalidParameter.StatementError" // Limit on number of sub-accounts reached. INVALIDPARAMETER_SUBUSERFULL = "InvalidParameter.SubUserFull" // Sub-user name repeated. INVALIDPARAMETER_SUBUSERNAMEINUSE = "InvalidParameter.SubUserNameInUse" // The tag limit has been exceeded. INVALIDPARAMETER_TAGLIMITEXCEEDED = "InvalidParameter.TagLimitExceeded" // Incorrect tag parameter. INVALIDPARAMETER_TAGPARAMERROR = "InvalidParameter.TagParamError" // `Uin` field invalid. INVALIDPARAMETER_UINERROR = "InvalidParameter.UinError" // Limit on number of user groups joined by a sub-user reached. INVALIDPARAMETER_USERGROUPFULL = "InvalidParameter.UserGroupFull" // Invalid username. INVALIDPARAMETER_USERNAMEILLEGAL = "InvalidParameter.UserNameIllegal" // User object does not exist INVALIDPARAMETER_USERNOTEXIST = "InvalidParameter.UserNotExist" // A user’s UIN and UID cannot be left empty at the same time. INVALIDPARAMETER_USERUINANDUINNOTALLNULL = "InvalidParameter.UserUinAndUinNotAllNull" // `Version` field of policy document invalid. INVALIDPARAMETER_VERSIONERROR = "InvalidParameter.VersionError" // The OIDC signature public key is incorrect. INVALIDPARAMETERVALUE_IDENTITYKEYERROR = "InvalidParameterValue.IdentityKeyError" // The IdP URL is incorrect. INVALIDPARAMETERVALUE_IDENTITYURLERROR = "InvalidParameterValue.IdentityUrlError" // Identity provider metadata document error. INVALIDPARAMETERVALUE_METADATAERROR = "InvalidParameterValue.MetadataError" // Identity provider name error. INVALIDPARAMETERVALUE_NAMEERROR = "InvalidParameterValue.NameError" // Limit on number of identity providers reached. LIMITEXCEEDED_IDENTITYFULL = "LimitExceeded.IdentityFull" // Each account can have up to two `AccessKey`. OPERATIONDENIED_ACCESSKEYOVERLIMIT = "OperationDenied.AccessKeyOverLimit" // There are undeleted API keys. OPERATIONDENIED_HAVEKEYS = "OperationDenied.HaveKeys" // The sub-user is not allowed to use the root account key. OPERATIONDENIED_SUBUIN = "OperationDenied.SubUin" // The access key does not match the account. OPERATIONDENIED_UINNOTMATCH = "OperationDenied.UinNotMatch" // The frequency limit of creating sub-users has been reached. REQUESTLIMITEXCEEDED_CREATEUSER = "RequestLimitExceeded.CreateUser" // The user account limit has been reached. REQUESTLIMITEXCEEDED_UINLIMITEXCEEDED = "RequestLimitExceeded.UinLimitExceeded" // User group does not exist. RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // Identity provider does not exist. RESOURCENOTFOUND_IDENTITYNOTEXIST = "ResourceNotFound.IdentityNotExist" // Resource does not exist. RESOURCENOTFOUND_NOTFOUND = "ResourceNotFound.NotFound" // Resources specified by `PolicyId` does not exist. RESOURCENOTFOUND_POLICYIDNOTFOUND = "ResourceNotFound.PolicyIdNotFound" // User does not exist. RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist" // Unauthorized operation. UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // User do not have the authorization to delete API keys. UNAUTHORIZEDOPERATION_DELETEAPIKEY = "UnauthorizedOperation.DeleteApiKey" )
const APIVersion = "2019-01-16"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessKey ¶
type AccessKey struct {
// Access key ID
AccessKeyId *string `json:"AccessKeyId,omitempty" name:"AccessKeyId"`
// Key status. Valid values: Active (activated), Inactive (not activated)
Status *string `json:"Status,omitempty" name:"Status"`
// Creation time
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
}
type AddUserRequest ¶
type AddUserRequest struct {
*tchttp.BaseRequest
// Sub-user username
Name *string `json:"Name,omitempty" name:"Name"`
// Sub-user remarks
Remark *string `json:"Remark,omitempty" name:"Remark"`
// Whether or not the sub-user is allowed to log in to the console. 0: No; 1: Yes.
ConsoleLogin *uint64 `json:"ConsoleLogin,omitempty" name:"ConsoleLogin"`
// Whether or not to generate keys for sub-users. 0: No; 1: Yes.
UseApi *uint64 `json:"UseApi,omitempty" name:"UseApi"`
// Sub-user's console login password. If no password rules have been set, the password must have a minimum of 8 characters containing uppercase letters, lowercase letters, digits, and special characters by default. This parameter will be valid only when the sub-user is allowed to log in to the console. If it is not specified and console login is allowed, the system will automatically generate a random 32-character password that contains uppercase letters, lowercase letters, digits, and special characters.
Password *string `json:"Password,omitempty" name:"Password"`
// If the sub-user needs to reset their password when they next log in to the console. 0: No; 1: Yes.
NeedResetPassword *uint64 `json:"NeedResetPassword,omitempty" name:"NeedResetPassword"`
// Mobile number
PhoneNum *string `json:"PhoneNum,omitempty" name:"PhoneNum"`
// Country/Area Code
CountryCode *string `json:"CountryCode,omitempty" name:"CountryCode"`
// Email
Email *string `json:"Email,omitempty" name:"Email"`
}
func NewAddUserRequest ¶
func NewAddUserRequest() (request *AddUserRequest)
func (*AddUserRequest) FromJsonString ¶
func (r *AddUserRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddUserRequest) ToJsonString ¶
func (r *AddUserRequest) ToJsonString() string
type AddUserRequestParams ¶
type AddUserRequestParams struct {
// Sub-user username
Name *string `json:"Name,omitempty" name:"Name"`
// Sub-user remarks
Remark *string `json:"Remark,omitempty" name:"Remark"`
// Whether or not the sub-user is allowed to log in to the console. 0: No; 1: Yes.
ConsoleLogin *uint64 `json:"ConsoleLogin,omitempty" name:"ConsoleLogin"`
// Whether or not to generate keys for sub-users. 0: No; 1: Yes.
UseApi *uint64 `json:"UseApi,omitempty" name:"UseApi"`
// Sub-user's console login password. If no password rules have been set, the password must have a minimum of 8 characters containing uppercase letters, lowercase letters, digits, and special characters by default. This parameter will be valid only when the sub-user is allowed to log in to the console. If it is not specified and console login is allowed, the system will automatically generate a random 32-character password that contains uppercase letters, lowercase letters, digits, and special characters.
Password *string `json:"Password,omitempty" name:"Password"`
// If the sub-user needs to reset their password when they next log in to the console. 0: No; 1: Yes.
NeedResetPassword *uint64 `json:"NeedResetPassword,omitempty" name:"NeedResetPassword"`
// Mobile number
PhoneNum *string `json:"PhoneNum,omitempty" name:"PhoneNum"`
// Country/Area Code
CountryCode *string `json:"CountryCode,omitempty" name:"CountryCode"`
// Email
Email *string `json:"Email,omitempty" name:"Email"`
}
Predefined struct for user
type AddUserResponse ¶
type AddUserResponse struct {
*tchttp.BaseResponse
Response *AddUserResponseParams `json:"Response"`
}
func NewAddUserResponse ¶
func NewAddUserResponse() (response *AddUserResponse)
func (*AddUserResponse) FromJsonString ¶
func (r *AddUserResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddUserResponse) ToJsonString ¶
func (r *AddUserResponse) ToJsonString() string
type AddUserResponseParams ¶
type AddUserResponseParams struct {
// Sub-user UIN
Uin *uint64 `json:"Uin,omitempty" name:"Uin"`
// Sub-user username
Name *string `json:"Name,omitempty" name:"Name"`
// If the combination of input parameters indicates that a random password should be generated, the generated password is returned
Password *string `json:"Password,omitempty" name:"Password"`
// Sub-user's key ID
SecretId *string `json:"SecretId,omitempty" name:"SecretId"`
// Sub-user's secret key
SecretKey *string `json:"SecretKey,omitempty" name:"SecretKey"`
// Sub-user UID
Uid *uint64 `json:"Uid,omitempty" name:"Uid"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type AddUserToGroupRequest ¶
type AddUserToGroupRequest struct {
*tchttp.BaseRequest
// The association between the user group ID and the sub-user UIN/UID.
Info []*GroupIdOfUidInfo `json:"Info,omitempty" name:"Info"`
}
func NewAddUserToGroupRequest ¶
func NewAddUserToGroupRequest() (request *AddUserToGroupRequest)
func (*AddUserToGroupRequest) FromJsonString ¶
func (r *AddUserToGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddUserToGroupRequest) ToJsonString ¶
func (r *AddUserToGroupRequest) ToJsonString() string
type AddUserToGroupRequestParams ¶
type AddUserToGroupRequestParams struct {
// The association between the user group ID and the sub-user UIN/UID.
Info []*GroupIdOfUidInfo `json:"Info,omitempty" name:"Info"`
}
Predefined struct for user
type AddUserToGroupResponse ¶
type AddUserToGroupResponse struct {
*tchttp.BaseResponse
Response *AddUserToGroupResponseParams `json:"Response"`
}
func NewAddUserToGroupResponse ¶
func NewAddUserToGroupResponse() (response *AddUserToGroupResponse)
func (*AddUserToGroupResponse) FromJsonString ¶
func (r *AddUserToGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddUserToGroupResponse) ToJsonString ¶
func (r *AddUserToGroupResponse) ToJsonString() string
type AddUserToGroupResponseParams ¶
type AddUserToGroupResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type AttachEntityOfPolicy ¶
type AttachEntityOfPolicy struct {
// Entity ID
Id *string `json:"Id,omitempty" name:"Id"`
// Entity Name
// Note: This field may return null, indicating that no valid value was found.
Name *string `json:"Name,omitempty" name:"Name"`
// Entity UIN
// Note: This field may return null, indicating that no valid value was found.
Uin *uint64 `json:"Uin,omitempty" name:"Uin"`
// Type of entity association. 1: Associate by users; 2: Associate by User Groups
RelatedType *uint64 `json:"RelatedType,omitempty" name:"RelatedType"`
// Policy association time
// Note: this field may return `null`, indicating that no valid value was found.
AttachmentTime *string `json:"AttachmentTime,omitempty" name:"AttachmentTime"`
}
type AttachGroupPolicyRequest ¶
type AttachGroupPolicyRequest struct {
*tchttp.BaseRequest
// Policy ID
PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
// User Group ID
AttachGroupId *uint64 `json:"AttachGroupId,omitempty" name:"AttachGroupId"`
}
func NewAttachGroupPolicyRequest ¶
func NewAttachGroupPolicyRequest() (request *AttachGroupPolicyRequest)
func (*AttachGroupPolicyRequest) FromJsonString ¶
func (r *AttachGroupPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AttachGroupPolicyRequest) ToJsonString ¶
func (r *AttachGroupPolicyRequest) ToJsonString() string
type AttachGroupPolicyRequestParams ¶
type AttachGroupPolicyRequestParams struct {
// Policy ID
PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
// User Group ID
AttachGroupId *uint64 `json:"AttachGroupId,omitempty" name:"AttachGroupId"`
}
Predefined struct for user
type AttachGroupPolicyResponse ¶
type AttachGroupPolicyResponse struct {
*tchttp.BaseResponse
Response *AttachGroupPolicyResponseParams `json:"Response"`
}
func NewAttachGroupPolicyResponse ¶
func NewAttachGroupPolicyResponse() (response *AttachGroupPolicyResponse)
func (*AttachGroupPolicyResponse) FromJsonString ¶
func (r *AttachGroupPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AttachGroupPolicyResponse) ToJsonString ¶
func (r *AttachGroupPolicyResponse) ToJsonString() string
type AttachGroupPolicyResponseParams ¶
type AttachGroupPolicyResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type AttachPolicyInfo ¶
type AttachPolicyInfo struct {
// Policy ID
PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
// Policy name
// Note: This field may return null, indicating that no valid value was found.
PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"`
// Time created
// Note: This field may return null, indicating that no valid value was found.
AddTime *string `json:"AddTime,omitempty" name:"AddTime"`
// How the policy was created: 1: Via console; 2: Via syntax
// Note: This field may return null, indicating that no valid value was found.
CreateMode *uint64 `json:"CreateMode,omitempty" name:"CreateMode"`
// Valid values: `user` and `QCS`
// Note: This field may return null, indicating that no valid value was found.
PolicyType *string `json:"PolicyType,omitempty" name:"PolicyType"`
// Policy remarks
Remark *string `json:"Remark,omitempty" name:"Remark"`
// Root account of the operator associating the policy
// Note: this field may return null, indicating that no valid values can be obtained.
OperateOwnerUin *string `json:"OperateOwnerUin,omitempty" name:"OperateOwnerUin"`
// The ID of the account associating the policy. If `UinType` is 0, this indicates that this is a sub-account `UIN`. If `UinType` is 1, this indicates this is a role ID
OperateUin *string `json:"OperateUin,omitempty" name:"OperateUin"`
// If `UinType` is 0, `OperateUin` indicates that this is a sub-account `UIN`. If `UinType` is 1, `OperateUin` indicates that this is a role ID
OperateUinType *uint64 `json:"OperateUinType,omitempty" name:"OperateUinType"`
// Queries if the policy has been deactivated
// Note: this field may return null, indicating that no valid values can be obtained.
Deactived *uint64 `json:"Deactived,omitempty" name:"Deactived"`
// List of deprecated products
// Note: this field may return null, indicating that no valid values can be obtained.
DeactivedDetail []*string `json:"DeactivedDetail,omitempty" name:"DeactivedDetail"`
}
type AttachRolePolicyRequest ¶
type AttachRolePolicyRequest struct {
*tchttp.BaseRequest
// Policy ID. Either `PolicyId` or `PolicyName` must be entered
PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
// Role ID, used to specify a role. Input either `AttachRoleId` or `AttachRoleName`
AttachRoleId *string `json:"AttachRoleId,omitempty" name:"AttachRoleId"`
// Role name, used to specify a role. Input either `AttachRoleId` or `AttachRoleName`
AttachRoleName *string `json:"AttachRoleName,omitempty" name:"AttachRoleName"`
// Policy name. Either `PolicyId` or `PolicyName` must be entered
PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"`
}
func NewAttachRolePolicyRequest ¶
func NewAttachRolePolicyRequest() (request *AttachRolePolicyRequest)
func (*AttachRolePolicyRequest) FromJsonString ¶
func (r *AttachRolePolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AttachRolePolicyRequest) ToJsonString ¶
func (r *AttachRolePolicyRequest) ToJsonString() string
type AttachRolePolicyRequestParams ¶
type AttachRolePolicyRequestParams struct {
// Policy ID. Either `PolicyId` or `PolicyName` must be entered
PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
// Role ID, used to specify a role. Input either `AttachRoleId` or `AttachRoleName`
AttachRoleId *string `json:"AttachRoleId,omitempty" name:"AttachRoleId"`
// Role name, used to specify a role. Input either `AttachRoleId` or `AttachRoleName`
AttachRoleName *string `json:"AttachRoleName,omitempty" name:"AttachRoleName"`
// Policy name. Either `PolicyId` or `PolicyName` must be entered
PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"`
}
Predefined struct for user
type AttachRolePolicyResponse ¶
type AttachRolePolicyResponse struct {
*tchttp.BaseResponse
Response *AttachRolePolicyResponseParams `json:"Response"`
}
func NewAttachRolePolicyResponse ¶
func NewAttachRolePolicyResponse() (response *AttachRolePolicyResponse)
func (*AttachRolePolicyResponse) FromJsonString ¶
func (r *AttachRolePolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AttachRolePolicyResponse) ToJsonString ¶
func (r *AttachRolePolicyResponse) ToJsonString() string
type AttachRolePolicyResponseParams ¶
type AttachRolePolicyResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type AttachUserPolicyRequest ¶
type AttachUserPolicyRequest struct {
*tchttp.BaseRequest
// Policy ID
PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
// Sub-account UIN
AttachUin *uint64 `json:"AttachUin,omitempty" name:"AttachUin"`
}
func NewAttachUserPolicyRequest ¶
func NewAttachUserPolicyRequest() (request *AttachUserPolicyRequest)
func (*AttachUserPolicyRequest) FromJsonString ¶
func (r *AttachUserPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AttachUserPolicyRequest) ToJsonString ¶
func (r *AttachUserPolicyRequest) ToJsonString() string
type AttachUserPolicyRequestParams ¶
type AttachUserPolicyRequestParams struct {
// Policy ID
PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
// Sub-account UIN
AttachUin *uint64 `json:"AttachUin,omitempty" name:"AttachUin"`
}
Predefined struct for user
type AttachUserPolicyResponse ¶
type AttachUserPolicyResponse struct {
*tchttp.BaseResponse
Response *AttachUserPolicyResponseParams `json:"Response"`
}
func NewAttachUserPolicyResponse ¶
func NewAttachUserPolicyResponse() (response *AttachUserPolicyResponse)
func (*AttachUserPolicyResponse) FromJsonString ¶
func (r *AttachUserPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AttachUserPolicyResponse) ToJsonString ¶
func (r *AttachUserPolicyResponse) ToJsonString() string
type AttachUserPolicyResponseParams ¶
type AttachUserPolicyResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type AttachedPolicyOfRole ¶
type AttachedPolicyOfRole struct {
// Policy ID
PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
// Policy name
PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"`
// Time of association
AddTime *string `json:"AddTime,omitempty" name:"AddTime"`
// Policy type. `User` indicates custom policy; `QCS` indicates preset policy
// Note: This field may return null, indicating that no valid value was found.
PolicyType *string `json:"PolicyType,omitempty" name:"PolicyType"`
// Policy creation method. 1: indicates the policy was created based on product function or item permission; other values indicate the policy was created based on the policy syntax
CreateMode *uint64 `json:"CreateMode,omitempty" name:"CreateMode"`
// Whether the product has been deprecated (0: no; 1: yes)
// Note: this field may return null, indicating that no valid values can be obtained.
Deactived *uint64 `json:"Deactived,omitempty" name:"Deactived"`
// List of deprecated products
// Note: this field may return null, indicating that no valid values can be obtained.
DeactivedDetail []*string `json:"DeactivedDetail,omitempty" name:"DeactivedDetail"`
// Policy description
// Note: this field may return null, indicating that no valid values can be obtained.
Description *string `json:"Description,omitempty" name:"Description"`
}
type AttachedUserPolicy ¶
type AttachedUserPolicy struct {
// Policy ID.
PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"`
// Policy name.
PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"`
// Policy description.
Description *string `json:"Description,omitempty" name:"Description"`
// Creation time.
AddTime *string `json:"AddTime,omitempty" name:"AddTime"`
// Policy type (`1`: custom policy; `2`: preset policy).
StrategyType *string `json:"StrategyType,omitempty" name:"StrategyType"`
// Creation mode (`1`: create by product feature or project permission; other values: create by policy syntax).
CreateMode *string `json:"CreateMode,omitempty" name:"CreateMode"`
// Information on policies inherited from the user group.
// Note: this field may return `null`, indicating that no valid values can be obtained.
Groups []*AttachedUserPolicyGroupInfo `json:"Groups,omitempty" name:"Groups"`
// Whether the product has been deprecated (`0`: no; `1`: yes).
// Note: this field may return `null`, indicating that no valid values can be obtained.
Deactived *uint64 `json:"Deactived,omitempty" name:"Deactived"`
// List of deprecated products.
// Note: this field may return `null`, indicating that no valid values can be obtained.
DeactivedDetail []*string `json:"DeactivedDetail,omitempty" name:"DeactivedDetail"`
}
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) AddUser ¶
func (c *Client) AddUser(request *AddUserRequest) (response *AddUserResponse, err error)
AddUser This API is used to add sub-users.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_PASSWORDVIOLATEDRULES = "InvalidParameter.PasswordViolatedRules" INVALIDPARAMETER_SUBUSERFULL = "InvalidParameter.SubUserFull" INVALIDPARAMETER_SUBUSERNAMEINUSE = "InvalidParameter.SubUserNameInUse" INVALIDPARAMETER_USERNAMEILLEGAL = "InvalidParameter.UserNameIllegal" REQUESTLIMITEXCEEDED_CREATEUSER = "RequestLimitExceeded.CreateUser"
func (*Client) AddUserToGroup ¶
func (c *Client) AddUserToGroup(request *AddUserToGroupRequest) (response *AddUserToGroupResponse, err error)
AddUserToGroup This API is used to add users to a user group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_GROUPNOTEXIST = "InvalidParameter.GroupNotExist" INVALIDPARAMETER_GROUPUSERFULL = "InvalidParameter.GroupUserFull" INVALIDPARAMETER_USERGROUPFULL = "InvalidParameter.UserGroupFull" INVALIDPARAMETER_USERUINANDUINNOTALLNULL = "InvalidParameter.UserUinAndUinNotAllNull" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) AddUserToGroupWithContext ¶
func (c *Client) AddUserToGroupWithContext(ctx context.Context, request *AddUserToGroupRequest) (response *AddUserToGroupResponse, err error)
AddUserToGroup This API is used to add users to a user group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_GROUPNOTEXIST = "InvalidParameter.GroupNotExist" INVALIDPARAMETER_GROUPUSERFULL = "InvalidParameter.GroupUserFull" INVALIDPARAMETER_USERGROUPFULL = "InvalidParameter.UserGroupFull" INVALIDPARAMETER_USERUINANDUINNOTALLNULL = "InvalidParameter.UserUinAndUinNotAllNull" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) AddUserWithContext ¶
func (c *Client) AddUserWithContext(ctx context.Context, request *AddUserRequest) (response *AddUserResponse, err error)
AddUser This API is used to add sub-users.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_PASSWORDVIOLATEDRULES = "InvalidParameter.PasswordViolatedRules" INVALIDPARAMETER_SUBUSERFULL = "InvalidParameter.SubUserFull" INVALIDPARAMETER_SUBUSERNAMEINUSE = "InvalidParameter.SubUserNameInUse" INVALIDPARAMETER_USERNAMEILLEGAL = "InvalidParameter.UserNameIllegal" REQUESTLIMITEXCEEDED_CREATEUSER = "RequestLimitExceeded.CreateUser"
func (*Client) AttachGroupPolicy ¶
func (c *Client) AttachGroupPolicy(request *AttachGroupPolicyRequest) (response *AttachGroupPolicyResponse, err error)
AttachGroupPolicy This API (AttachGroupPolicy) is used to associate a policy with a user group.
error code that may be returned:
FAILEDOPERATION_POLICYFULL = "FailedOperation.PolicyFull" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ATTACHMENTFULL = "InvalidParameter.AttachmentFull" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYIDERROR = "InvalidParameter.PolicyIdError" INVALIDPARAMETER_POLICYIDNOTEXIST = "InvalidParameter.PolicyIdNotExist" INVALIDPARAMETER_USERNOTEXIST = "InvalidParameter.UserNotExist" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" RESOURCENOTFOUND_POLICYIDNOTFOUND = "ResourceNotFound.PolicyIdNotFound" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) AttachGroupPolicyWithContext ¶
func (c *Client) AttachGroupPolicyWithContext(ctx context.Context, request *AttachGroupPolicyRequest) (response *AttachGroupPolicyResponse, err error)
AttachGroupPolicy This API (AttachGroupPolicy) is used to associate a policy with a user group.
error code that may be returned:
FAILEDOPERATION_POLICYFULL = "FailedOperation.PolicyFull" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ATTACHMENTFULL = "InvalidParameter.AttachmentFull" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYIDERROR = "InvalidParameter.PolicyIdError" INVALIDPARAMETER_POLICYIDNOTEXIST = "InvalidParameter.PolicyIdNotExist" INVALIDPARAMETER_USERNOTEXIST = "InvalidParameter.UserNotExist" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" RESOURCENOTFOUND_POLICYIDNOTFOUND = "ResourceNotFound.PolicyIdNotFound" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) AttachRolePolicy ¶
func (c *Client) AttachRolePolicy(request *AttachRolePolicyRequest) (response *AttachRolePolicyResponse, err error)
AttachRolePolicy This API (AttachRolePolicy) is used to associate a policy with a role.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ATTACHMENTFULL = "InvalidParameter.AttachmentFull" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYIDNOTEXIST = "InvalidParameter.PolicyIdNotExist" INVALIDPARAMETER_POLICYNAMEERROR = "InvalidParameter.PolicyNameError" INVALIDPARAMETER_ROLENOTEXIST = "InvalidParameter.RoleNotExist" INVALIDPARAMETER_VERSIONERROR = "InvalidParameter.VersionError"
func (*Client) AttachRolePolicyWithContext ¶
func (c *Client) AttachRolePolicyWithContext(ctx context.Context, request *AttachRolePolicyRequest) (response *AttachRolePolicyResponse, err error)
AttachRolePolicy This API (AttachRolePolicy) is used to associate a policy with a role.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ATTACHMENTFULL = "InvalidParameter.AttachmentFull" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYIDNOTEXIST = "InvalidParameter.PolicyIdNotExist" INVALIDPARAMETER_POLICYNAMEERROR = "InvalidParameter.PolicyNameError" INVALIDPARAMETER_ROLENOTEXIST = "InvalidParameter.RoleNotExist" INVALIDPARAMETER_VERSIONERROR = "InvalidParameter.VersionError"
func (*Client) AttachUserPolicy ¶
func (c *Client) AttachUserPolicy(request *AttachUserPolicyRequest) (response *AttachUserPolicyResponse, err error)
AttachUserPolicy This API (AttachUserPolicy) is used to associates a policy with a user.
error code that may be returned:
FAILEDOPERATION_POLICYFULL = "FailedOperation.PolicyFull" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ATTACHMENTFULL = "InvalidParameter.AttachmentFull" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYIDERROR = "InvalidParameter.PolicyIdError" INVALIDPARAMETER_POLICYIDNOTEXIST = "InvalidParameter.PolicyIdNotExist" INVALIDPARAMETER_USERNOTEXIST = "InvalidParameter.UserNotExist" RESOURCENOTFOUND_POLICYIDNOTFOUND = "ResourceNotFound.PolicyIdNotFound" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) AttachUserPolicyWithContext ¶
func (c *Client) AttachUserPolicyWithContext(ctx context.Context, request *AttachUserPolicyRequest) (response *AttachUserPolicyResponse, err error)
AttachUserPolicy This API (AttachUserPolicy) is used to associates a policy with a user.
error code that may be returned:
FAILEDOPERATION_POLICYFULL = "FailedOperation.PolicyFull" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ATTACHMENTFULL = "InvalidParameter.AttachmentFull" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYIDERROR = "InvalidParameter.PolicyIdError" INVALIDPARAMETER_POLICYIDNOTEXIST = "InvalidParameter.PolicyIdNotExist" INVALIDPARAMETER_USERNOTEXIST = "InvalidParameter.UserNotExist" RESOURCENOTFOUND_POLICYIDNOTFOUND = "ResourceNotFound.PolicyIdNotFound" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) ConsumeCustomMFAToken ¶
func (c *Client) ConsumeCustomMFAToken(request *ConsumeCustomMFATokenRequest) (response *ConsumeCustomMFATokenResponse, err error)
ConsumeCustomMFAToken This API is used to verify a custom multi-factor Token.
error code that may be returned:
INVALIDPARAMETER_MFATOKENERROR = "InvalidParameter.MFATokenError"
func (*Client) ConsumeCustomMFATokenWithContext ¶
func (c *Client) ConsumeCustomMFATokenWithContext(ctx context.Context, request *ConsumeCustomMFATokenRequest) (response *ConsumeCustomMFATokenResponse, err error)
ConsumeCustomMFAToken This API is used to verify a custom multi-factor Token.
error code that may be returned:
INVALIDPARAMETER_MFATOKENERROR = "InvalidParameter.MFATokenError"
func (*Client) CreateGroup ¶
func (c *Client) CreateGroup(request *CreateGroupRequest) (response *CreateGroupResponse, err error)
CreateGroup This API is used to create a user group.
error code that may be returned:
INVALIDPARAMETER_GROUPFULL = "InvalidParameter.GroupFull" INVALIDPARAMETER_GROUPNAMEINUSE = "InvalidParameter.GroupNameInUse"
func (*Client) CreateGroupWithContext ¶
func (c *Client) CreateGroupWithContext(ctx context.Context, request *CreateGroupRequest) (response *CreateGroupResponse, err error)
CreateGroup This API is used to create a user group.
error code that may be returned:
INVALIDPARAMETER_GROUPFULL = "InvalidParameter.GroupFull" INVALIDPARAMETER_GROUPNAMEINUSE = "InvalidParameter.GroupNameInUse"
func (*Client) CreateOIDCConfig ¶
func (c *Client) CreateOIDCConfig(request *CreateOIDCConfigRequest) (response *CreateOIDCConfigResponse, err error)
CreateOIDCConfig This API is used to create role OIDC configurations.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_IDENTITYNAMEINUSE = "InvalidParameter.IdentityNameInUse" INVALIDPARAMETERVALUE_IDENTITYURLERROR = "InvalidParameterValue.IdentityUrlError" INVALIDPARAMETERVALUE_METADATAERROR = "InvalidParameterValue.MetadataError" INVALIDPARAMETERVALUE_NAMEERROR = "InvalidParameterValue.NameError" LIMITEXCEEDED_IDENTITYFULL = "LimitExceeded.IdentityFull"
func (*Client) CreateOIDCConfigWithContext ¶
func (c *Client) CreateOIDCConfigWithContext(ctx context.Context, request *CreateOIDCConfigRequest) (response *CreateOIDCConfigResponse, err error)
CreateOIDCConfig This API is used to create role OIDC configurations.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_IDENTITYNAMEINUSE = "InvalidParameter.IdentityNameInUse" INVALIDPARAMETERVALUE_IDENTITYURLERROR = "InvalidParameterValue.IdentityUrlError" INVALIDPARAMETERVALUE_METADATAERROR = "InvalidParameterValue.MetadataError" INVALIDPARAMETERVALUE_NAMEERROR = "InvalidParameterValue.NameError" LIMITEXCEEDED_IDENTITYFULL = "LimitExceeded.IdentityFull"
func (*Client) CreatePolicy ¶
func (c *Client) CreatePolicy(request *CreatePolicyRequest) (response *CreatePolicyResponse, err error)
CreatePolicy This API (CreatePolicy) is used to create a policy.
error code that may be returned:
FAILEDOPERATION_POLICYFULL = "FailedOperation.PolicyFull" FAILEDOPERATION_POLICYNAMEINUSE = "FailedOperation.PolicyNameInUse" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ACTIONERROR = "InvalidParameter.ActionError" INVALIDPARAMETER_ACTIONMISS = "InvalidParameter.ActionMiss" INVALIDPARAMETER_ACTIONNOTEXIST = "InvalidParameter.ActionNotExist" INVALIDPARAMETER_ACTIONSERVICENOTEXIST = "InvalidParameter.ActionServiceNotExist" INVALIDPARAMETER_ATTACHMENTFULL = "InvalidParameter.AttachmentFull" INVALIDPARAMETER_CONDITIONCONTENTERROR = "InvalidParameter.ConditionContentError" INVALIDPARAMETER_CONDITIONERROR = "InvalidParameter.ConditionError" INVALIDPARAMETER_CONDITIONTYPEERROR = "InvalidParameter.ConditionTypeError" INVALIDPARAMETER_DESCRIPTIONLENGTHOVERLIMIT = "InvalidParameter.DescriptionLengthOverlimit" INVALIDPARAMETER_EFFECTERROR = "InvalidParameter.EffectError" INVALIDPARAMETER_NOTSUPPORTPRODUCT = "InvalidParameter.NotSupportProduct" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYDOCUMENTERROR = "InvalidParameter.PolicyDocumentError" INVALIDPARAMETER_POLICYDOCUMENTLENGTHOVERLIMIT = "InvalidParameter.PolicyDocumentLengthOverLimit" INVALIDPARAMETER_POLICYNAMEERROR = "InvalidParameter.PolicyNameError" INVALIDPARAMETER_PRINCIPALERROR = "InvalidParameter.PrincipalError" INVALIDPARAMETER_RESOURCECONTENTERROR = "InvalidParameter.ResourceContentError" INVALIDPARAMETER_RESOURCEERROR = "InvalidParameter.ResourceError" INVALIDPARAMETER_RESOURCEPROJECTERROR = "InvalidParameter.ResourceProjectError" INVALIDPARAMETER_RESOURCEQCSERROR = "InvalidParameter.ResourceQcsError" INVALIDPARAMETER_RESOURCEREGIONERROR = "InvalidParameter.ResourceRegionError" INVALIDPARAMETER_RESOURCESERVICENOTEXIST = "InvalidParameter.ResourceServiceNotExist" INVALIDPARAMETER_RESOURCEUINERROR = "InvalidParameter.ResourceUinError" INVALIDPARAMETER_STATEMENTERROR = "InvalidParameter.StatementError" INVALIDPARAMETER_USERNOTEXIST = "InvalidParameter.UserNotExist" INVALIDPARAMETER_VERSIONERROR = "InvalidParameter.VersionError" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" RESOURCENOTFOUND_NOTFOUND = "ResourceNotFound.NotFound" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) CreatePolicyVersion ¶
func (c *Client) CreatePolicyVersion(request *CreatePolicyVersionRequest) (response *CreatePolicyVersionResponse, err error)
CreatePolicyVersion This API is used to add a policy version. After creating a policy version, you can easily change the policy by changing the policy version.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_POLICYFULL = "FailedOperation.PolicyFull" FAILEDOPERATION_POLICYNAMEINUSE = "FailedOperation.PolicyNameInUse" FAILEDOPERATION_POLICYVERSIONFULL = "FailedOperation.PolicyVersionFull" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ACTIONERROR = "InvalidParameter.ActionError" INVALIDPARAMETER_ACTIONMISS = "InvalidParameter.ActionMiss" INVALIDPARAMETER_ACTIONNOTEXIST = "InvalidParameter.ActionNotExist" INVALIDPARAMETER_ACTIONSERVICENOTEXIST = "InvalidParameter.ActionServiceNotExist" INVALIDPARAMETER_ATTACHMENTFULL = "InvalidParameter.AttachmentFull" INVALIDPARAMETER_CONDITIONCONTENTERROR = "InvalidParameter.ConditionContentError" INVALIDPARAMETER_CONDITIONERROR = "InvalidParameter.ConditionError" INVALIDPARAMETER_CONDITIONTYPEERROR = "InvalidParameter.ConditionTypeError" INVALIDPARAMETER_DESCRIPTIONLENGTHOVERLIMIT = "InvalidParameter.DescriptionLengthOverlimit" INVALIDPARAMETER_EFFECTERROR = "InvalidParameter.EffectError" INVALIDPARAMETER_NOTSUPPORTPRODUCT = "InvalidParameter.NotSupportProduct" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYDOCUMENTERROR = "InvalidParameter.PolicyDocumentError" INVALIDPARAMETER_POLICYDOCUMENTLENGTHOVERLIMIT = "InvalidParameter.PolicyDocumentLengthOverLimit" INVALIDPARAMETER_POLICYIDNOTEXIST = "InvalidParameter.PolicyIdNotExist" INVALIDPARAMETER_POLICYNAMEERROR = "InvalidParameter.PolicyNameError" INVALIDPARAMETER_PRINCIPALERROR = "InvalidParameter.PrincipalError" INVALIDPARAMETER_RESOURCECONTENTERROR = "InvalidParameter.ResourceContentError" INVALIDPARAMETER_RESOURCEERROR = "InvalidParameter.ResourceError" INVALIDPARAMETER_RESOURCEPROJECTERROR = "InvalidParameter.ResourceProjectError" INVALIDPARAMETER_RESOURCEQCSERROR = "InvalidParameter.ResourceQcsError" INVALIDPARAMETER_RESOURCEREGIONERROR = "InvalidParameter.ResourceRegionError" INVALIDPARAMETER_RESOURCESERVICENOTEXIST = "InvalidParameter.ResourceServiceNotExist" INVALIDPARAMETER_RESOURCEUINERROR = "InvalidParameter.ResourceUinError" INVALIDPARAMETER_STATEMENTERROR = "InvalidParameter.StatementError" INVALIDPARAMETER_USERNOTEXIST = "InvalidParameter.UserNotExist" INVALIDPARAMETER_VERSIONERROR = "InvalidParameter.VersionError" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" RESOURCENOTFOUND_NOTFOUND = "ResourceNotFound.NotFound" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) CreatePolicyVersionWithContext ¶
func (c *Client) CreatePolicyVersionWithContext(ctx context.Context, request *CreatePolicyVersionRequest) (response *CreatePolicyVersionResponse, err error)
CreatePolicyVersion This API is used to add a policy version. After creating a policy version, you can easily change the policy by changing the policy version.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_POLICYFULL = "FailedOperation.PolicyFull" FAILEDOPERATION_POLICYNAMEINUSE = "FailedOperation.PolicyNameInUse" FAILEDOPERATION_POLICYVERSIONFULL = "FailedOperation.PolicyVersionFull" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ACTIONERROR = "InvalidParameter.ActionError" INVALIDPARAMETER_ACTIONMISS = "InvalidParameter.ActionMiss" INVALIDPARAMETER_ACTIONNOTEXIST = "InvalidParameter.ActionNotExist" INVALIDPARAMETER_ACTIONSERVICENOTEXIST = "InvalidParameter.ActionServiceNotExist" INVALIDPARAMETER_ATTACHMENTFULL = "InvalidParameter.AttachmentFull" INVALIDPARAMETER_CONDITIONCONTENTERROR = "InvalidParameter.ConditionContentError" INVALIDPARAMETER_CONDITIONERROR = "InvalidParameter.ConditionError" INVALIDPARAMETER_CONDITIONTYPEERROR = "InvalidParameter.ConditionTypeError" INVALIDPARAMETER_DESCRIPTIONLENGTHOVERLIMIT = "InvalidParameter.DescriptionLengthOverlimit" INVALIDPARAMETER_EFFECTERROR = "InvalidParameter.EffectError" INVALIDPARAMETER_NOTSUPPORTPRODUCT = "InvalidParameter.NotSupportProduct" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYDOCUMENTERROR = "InvalidParameter.PolicyDocumentError" INVALIDPARAMETER_POLICYDOCUMENTLENGTHOVERLIMIT = "InvalidParameter.PolicyDocumentLengthOverLimit" INVALIDPARAMETER_POLICYIDNOTEXIST = "InvalidParameter.PolicyIdNotExist" INVALIDPARAMETER_POLICYNAMEERROR = "InvalidParameter.PolicyNameError" INVALIDPARAMETER_PRINCIPALERROR = "InvalidParameter.PrincipalError" INVALIDPARAMETER_RESOURCECONTENTERROR = "InvalidParameter.ResourceContentError" INVALIDPARAMETER_RESOURCEERROR = "InvalidParameter.ResourceError" INVALIDPARAMETER_RESOURCEPROJECTERROR = "InvalidParameter.ResourceProjectError" INVALIDPARAMETER_RESOURCEQCSERROR = "InvalidParameter.ResourceQcsError" INVALIDPARAMETER_RESOURCEREGIONERROR = "InvalidParameter.ResourceRegionError" INVALIDPARAMETER_RESOURCESERVICENOTEXIST = "InvalidParameter.ResourceServiceNotExist" INVALIDPARAMETER_RESOURCEUINERROR = "InvalidParameter.ResourceUinError" INVALIDPARAMETER_STATEMENTERROR = "InvalidParameter.StatementError" INVALIDPARAMETER_USERNOTEXIST = "InvalidParameter.UserNotExist" INVALIDPARAMETER_VERSIONERROR = "InvalidParameter.VersionError" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" RESOURCENOTFOUND_NOTFOUND = "ResourceNotFound.NotFound" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) CreatePolicyWithContext ¶
func (c *Client) CreatePolicyWithContext(ctx context.Context, request *CreatePolicyRequest) (response *CreatePolicyResponse, err error)
CreatePolicy This API (CreatePolicy) is used to create a policy.
error code that may be returned:
FAILEDOPERATION_POLICYFULL = "FailedOperation.PolicyFull" FAILEDOPERATION_POLICYNAMEINUSE = "FailedOperation.PolicyNameInUse" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ACTIONERROR = "InvalidParameter.ActionError" INVALIDPARAMETER_ACTIONMISS = "InvalidParameter.ActionMiss" INVALIDPARAMETER_ACTIONNOTEXIST = "InvalidParameter.ActionNotExist" INVALIDPARAMETER_ACTIONSERVICENOTEXIST = "InvalidParameter.ActionServiceNotExist" INVALIDPARAMETER_ATTACHMENTFULL = "InvalidParameter.AttachmentFull" INVALIDPARAMETER_CONDITIONCONTENTERROR = "InvalidParameter.ConditionContentError" INVALIDPARAMETER_CONDITIONERROR = "InvalidParameter.ConditionError" INVALIDPARAMETER_CONDITIONTYPEERROR = "InvalidParameter.ConditionTypeError" INVALIDPARAMETER_DESCRIPTIONLENGTHOVERLIMIT = "InvalidParameter.DescriptionLengthOverlimit" INVALIDPARAMETER_EFFECTERROR = "InvalidParameter.EffectError" INVALIDPARAMETER_NOTSUPPORTPRODUCT = "InvalidParameter.NotSupportProduct" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYDOCUMENTERROR = "InvalidParameter.PolicyDocumentError" INVALIDPARAMETER_POLICYDOCUMENTLENGTHOVERLIMIT = "InvalidParameter.PolicyDocumentLengthOverLimit" INVALIDPARAMETER_POLICYNAMEERROR = "InvalidParameter.PolicyNameError" INVALIDPARAMETER_PRINCIPALERROR = "InvalidParameter.PrincipalError" INVALIDPARAMETER_RESOURCECONTENTERROR = "InvalidParameter.ResourceContentError" INVALIDPARAMETER_RESOURCEERROR = "InvalidParameter.ResourceError" INVALIDPARAMETER_RESOURCEPROJECTERROR = "InvalidParameter.ResourceProjectError" INVALIDPARAMETER_RESOURCEQCSERROR = "InvalidParameter.ResourceQcsError" INVALIDPARAMETER_RESOURCEREGIONERROR = "InvalidParameter.ResourceRegionError" INVALIDPARAMETER_RESOURCESERVICENOTEXIST = "InvalidParameter.ResourceServiceNotExist" INVALIDPARAMETER_RESOURCEUINERROR = "InvalidParameter.ResourceUinError" INVALIDPARAMETER_STATEMENTERROR = "InvalidParameter.StatementError" INVALIDPARAMETER_USERNOTEXIST = "InvalidParameter.UserNotExist" INVALIDPARAMETER_VERSIONERROR = "InvalidParameter.VersionError" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" RESOURCENOTFOUND_NOTFOUND = "ResourceNotFound.NotFound" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) CreateRole ¶
func (c *Client) CreateRole(request *CreateRoleRequest) (response *CreateRoleResponse, err error)
CreateRole This API (CreateRole) is used to create a role.
error code that may be returned:
FAILEDOPERATION_TAGRESOURCEFAILED = "FailedOperation.TagResourceFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ACTIONERROR = "InvalidParameter.ActionError" INVALIDPARAMETER_ACTIONMISS = "InvalidParameter.ActionMiss" INVALIDPARAMETER_ATTACHMENTFULL = "InvalidParameter.AttachmentFull" INVALIDPARAMETER_CONDITIONCONTENTERROR = "InvalidParameter.ConditionContentError" INVALIDPARAMETER_CONDITIONERROR = "InvalidParameter.ConditionError" INVALIDPARAMETER_CONDITIONTYPEERROR = "InvalidParameter.ConditionTypeError" INVALIDPARAMETER_DESCRIPTIONLENGTHOVERLIMIT = "InvalidParameter.DescriptionLengthOverlimit" INVALIDPARAMETER_EFFECTERROR = "InvalidParameter.EffectError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_PRINCIPALERROR = "InvalidParameter.PrincipalError" INVALIDPARAMETER_PRINCIPALQCSCROSSERROR = "InvalidParameter.PrincipalQcsCrossError" INVALIDPARAMETER_PRINCIPALQCSERROR = "InvalidParameter.PrincipalQcsError" INVALIDPARAMETER_PRINCIPALQCSNOTEXIST = "InvalidParameter.PrincipalQcsNotExist" INVALIDPARAMETER_PRINCIPALSERVICENOTEXIST = "InvalidParameter.PrincipalServiceNotExist" INVALIDPARAMETER_ROLEFULL = "InvalidParameter.RoleFull" INVALIDPARAMETER_ROLENAMEERROR = "InvalidParameter.RoleNameError" INVALIDPARAMETER_ROLENAMEINUSE = "InvalidParameter.RoleNameInUse" INVALIDPARAMETER_STATEMENTERROR = "InvalidParameter.StatementError" INVALIDPARAMETER_TAGLIMITEXCEEDED = "InvalidParameter.TagLimitExceeded" INVALIDPARAMETER_TAGPARAMERROR = "InvalidParameter.TagParamError" INVALIDPARAMETER_USERNOTEXIST = "InvalidParameter.UserNotExist" INVALIDPARAMETER_VERSIONERROR = "InvalidParameter.VersionError"
func (*Client) CreateRoleWithContext ¶
func (c *Client) CreateRoleWithContext(ctx context.Context, request *CreateRoleRequest) (response *CreateRoleResponse, err error)
CreateRole This API (CreateRole) is used to create a role.
error code that may be returned:
FAILEDOPERATION_TAGRESOURCEFAILED = "FailedOperation.TagResourceFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ACTIONERROR = "InvalidParameter.ActionError" INVALIDPARAMETER_ACTIONMISS = "InvalidParameter.ActionMiss" INVALIDPARAMETER_ATTACHMENTFULL = "InvalidParameter.AttachmentFull" INVALIDPARAMETER_CONDITIONCONTENTERROR = "InvalidParameter.ConditionContentError" INVALIDPARAMETER_CONDITIONERROR = "InvalidParameter.ConditionError" INVALIDPARAMETER_CONDITIONTYPEERROR = "InvalidParameter.ConditionTypeError" INVALIDPARAMETER_DESCRIPTIONLENGTHOVERLIMIT = "InvalidParameter.DescriptionLengthOverlimit" INVALIDPARAMETER_EFFECTERROR = "InvalidParameter.EffectError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_PRINCIPALERROR = "InvalidParameter.PrincipalError" INVALIDPARAMETER_PRINCIPALQCSCROSSERROR = "InvalidParameter.PrincipalQcsCrossError" INVALIDPARAMETER_PRINCIPALQCSERROR = "InvalidParameter.PrincipalQcsError" INVALIDPARAMETER_PRINCIPALQCSNOTEXIST = "InvalidParameter.PrincipalQcsNotExist" INVALIDPARAMETER_PRINCIPALSERVICENOTEXIST = "InvalidParameter.PrincipalServiceNotExist" INVALIDPARAMETER_ROLEFULL = "InvalidParameter.RoleFull" INVALIDPARAMETER_ROLENAMEERROR = "InvalidParameter.RoleNameError" INVALIDPARAMETER_ROLENAMEINUSE = "InvalidParameter.RoleNameInUse" INVALIDPARAMETER_STATEMENTERROR = "InvalidParameter.StatementError" INVALIDPARAMETER_TAGLIMITEXCEEDED = "InvalidParameter.TagLimitExceeded" INVALIDPARAMETER_TAGPARAMERROR = "InvalidParameter.TagParamError" INVALIDPARAMETER_USERNOTEXIST = "InvalidParameter.UserNotExist" INVALIDPARAMETER_VERSIONERROR = "InvalidParameter.VersionError"
func (*Client) CreateSAMLProvider ¶
func (c *Client) CreateSAMLProvider(request *CreateSAMLProviderRequest) (response *CreateSAMLProviderResponse, err error)
CreateSAMLProvider This API is used to create a SAML identity provider.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_IDENTITYNAMEINUSE = "InvalidParameter.IdentityNameInUse" INVALIDPARAMETERVALUE_METADATAERROR = "InvalidParameterValue.MetadataError" INVALIDPARAMETERVALUE_NAMEERROR = "InvalidParameterValue.NameError" LIMITEXCEEDED_IDENTITYFULL = "LimitExceeded.IdentityFull"
func (*Client) CreateSAMLProviderWithContext ¶
func (c *Client) CreateSAMLProviderWithContext(ctx context.Context, request *CreateSAMLProviderRequest) (response *CreateSAMLProviderResponse, err error)
CreateSAMLProvider This API is used to create a SAML identity provider.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_IDENTITYNAMEINUSE = "InvalidParameter.IdentityNameInUse" INVALIDPARAMETERVALUE_METADATAERROR = "InvalidParameterValue.MetadataError" INVALIDPARAMETERVALUE_NAMEERROR = "InvalidParameterValue.NameError" LIMITEXCEEDED_IDENTITYFULL = "LimitExceeded.IdentityFull"
func (*Client) CreateServiceLinkedRole ¶
func (c *Client) CreateServiceLinkedRole(request *CreateServiceLinkedRoleRequest) (response *CreateServiceLinkedRoleResponse, err error)
CreateServiceLinkedRole This API is used to create a service-linked role.
error code that may be returned:
FAILEDOPERATION_TAGRESOURCEFAILED = "FailedOperation.TagResourceFailed" INVALIDPARAMETER_CONDITIONCONTENTERROR = "InvalidParameter.ConditionContentError" INVALIDPARAMETER_CONDITIONERROR = "InvalidParameter.ConditionError" INVALIDPARAMETER_CONDITIONTYPEERROR = "InvalidParameter.ConditionTypeError" INVALIDPARAMETER_DESCRIPTIONLENGTHOVERLIMIT = "InvalidParameter.DescriptionLengthOverlimit" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYIDNOTEXIST = "InvalidParameter.PolicyIdNotExist" INVALIDPARAMETER_PRINCIPALERROR = "InvalidParameter.PrincipalError" INVALIDPARAMETER_PRINCIPALQCSERROR = "InvalidParameter.PrincipalQcsError" INVALIDPARAMETER_PRINCIPALQCSNOTEXIST = "InvalidParameter.PrincipalQcsNotExist" INVALIDPARAMETER_PRINCIPALSERVICENOTEXIST = "InvalidParameter.PrincipalServiceNotExist" INVALIDPARAMETER_ROLENAMEERROR = "InvalidParameter.RoleNameError" INVALIDPARAMETER_ROLENAMEINUSE = "InvalidParameter.RoleNameInUse" INVALIDPARAMETER_TAGLIMITEXCEEDED = "InvalidParameter.TagLimitExceeded" INVALIDPARAMETER_TAGPARAMERROR = "InvalidParameter.TagParamError"
func (*Client) CreateServiceLinkedRoleWithContext ¶
func (c *Client) CreateServiceLinkedRoleWithContext(ctx context.Context, request *CreateServiceLinkedRoleRequest) (response *CreateServiceLinkedRoleResponse, err error)
CreateServiceLinkedRole This API is used to create a service-linked role.
error code that may be returned:
FAILEDOPERATION_TAGRESOURCEFAILED = "FailedOperation.TagResourceFailed" INVALIDPARAMETER_CONDITIONCONTENTERROR = "InvalidParameter.ConditionContentError" INVALIDPARAMETER_CONDITIONERROR = "InvalidParameter.ConditionError" INVALIDPARAMETER_CONDITIONTYPEERROR = "InvalidParameter.ConditionTypeError" INVALIDPARAMETER_DESCRIPTIONLENGTHOVERLIMIT = "InvalidParameter.DescriptionLengthOverlimit" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYIDNOTEXIST = "InvalidParameter.PolicyIdNotExist" INVALIDPARAMETER_PRINCIPALERROR = "InvalidParameter.PrincipalError" INVALIDPARAMETER_PRINCIPALQCSERROR = "InvalidParameter.PrincipalQcsError" INVALIDPARAMETER_PRINCIPALQCSNOTEXIST = "InvalidParameter.PrincipalQcsNotExist" INVALIDPARAMETER_PRINCIPALSERVICENOTEXIST = "InvalidParameter.PrincipalServiceNotExist" INVALIDPARAMETER_ROLENAMEERROR = "InvalidParameter.RoleNameError" INVALIDPARAMETER_ROLENAMEINUSE = "InvalidParameter.RoleNameInUse" INVALIDPARAMETER_TAGLIMITEXCEEDED = "InvalidParameter.TagLimitExceeded" INVALIDPARAMETER_TAGPARAMERROR = "InvalidParameter.TagParamError"
func (*Client) CreateUserOIDCConfig ¶
func (c *Client) CreateUserOIDCConfig(request *CreateUserOIDCConfigRequest) (response *CreateUserOIDCConfigResponse, err error)
CreateUserOIDCConfig This API is used to create a user OIDC configuration. Only one user OIDC IdP can be created, and the user SAML SSO IdP will be automatically disabled after it is created.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_IDENTITYNAMEINUSE = "InvalidParameter.IdentityNameInUse" INVALIDPARAMETERVALUE_IDENTITYKEYERROR = "InvalidParameterValue.IdentityKeyError" INVALIDPARAMETERVALUE_IDENTITYURLERROR = "InvalidParameterValue.IdentityUrlError" INVALIDPARAMETERVALUE_METADATAERROR = "InvalidParameterValue.MetadataError" INVALIDPARAMETERVALUE_NAMEERROR = "InvalidParameterValue.NameError" LIMITEXCEEDED_IDENTITYFULL = "LimitExceeded.IdentityFull"
func (*Client) CreateUserOIDCConfigWithContext ¶
func (c *Client) CreateUserOIDCConfigWithContext(ctx context.Context, request *CreateUserOIDCConfigRequest) (response *CreateUserOIDCConfigResponse, err error)
CreateUserOIDCConfig This API is used to create a user OIDC configuration. Only one user OIDC IdP can be created, and the user SAML SSO IdP will be automatically disabled after it is created.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_IDENTITYNAMEINUSE = "InvalidParameter.IdentityNameInUse" INVALIDPARAMETERVALUE_IDENTITYKEYERROR = "InvalidParameterValue.IdentityKeyError" INVALIDPARAMETERVALUE_IDENTITYURLERROR = "InvalidParameterValue.IdentityUrlError" INVALIDPARAMETERVALUE_METADATAERROR = "InvalidParameterValue.MetadataError" INVALIDPARAMETERVALUE_NAMEERROR = "InvalidParameterValue.NameError" LIMITEXCEEDED_IDENTITYFULL = "LimitExceeded.IdentityFull"
func (*Client) CreateUserSAMLConfig ¶
func (c *Client) CreateUserSAMLConfig(request *CreateUserSAMLConfigRequest) (response *CreateUserSAMLConfigResponse, err error)
CreateUserSAMLConfig This API is used to create user SAML configurations.
error code that may be returned:
INVALIDPARAMETERVALUE_METADATAERROR = "InvalidParameterValue.MetadataError"
func (*Client) CreateUserSAMLConfigWithContext ¶
func (c *Client) CreateUserSAMLConfigWithContext(ctx context.Context, request *CreateUserSAMLConfigRequest) (response *CreateUserSAMLConfigResponse, err error)
CreateUserSAMLConfig This API is used to create user SAML configurations.
error code that may be returned:
INVALIDPARAMETERVALUE_METADATAERROR = "InvalidParameterValue.MetadataError"
func (*Client) DeleteGroup ¶
func (c *Client) DeleteGroup(request *DeleteGroupRequest) (response *DeleteGroupResponse, err error)
DeleteGroup This API is used to delete a user group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) DeleteGroupWithContext ¶
func (c *Client) DeleteGroupWithContext(ctx context.Context, request *DeleteGroupRequest) (response *DeleteGroupResponse, err error)
DeleteGroup This API is used to delete a user group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) DeleteOIDCConfig ¶
func (c *Client) DeleteOIDCConfig(request *DeleteOIDCConfigRequest) (response *DeleteOIDCConfigResponse, err error)
DeleteOIDCConfig This API is used to delete OIDC IdPs.
error code that may be returned:
RESOURCENOTFOUND_IDENTITYNOTEXIST = "ResourceNotFound.IdentityNotExist" RESOURCENOTFOUND_NOTFOUND = "ResourceNotFound.NotFound"
func (*Client) DeleteOIDCConfigWithContext ¶
func (c *Client) DeleteOIDCConfigWithContext(ctx context.Context, request *DeleteOIDCConfigRequest) (response *DeleteOIDCConfigResponse, err error)
DeleteOIDCConfig This API is used to delete OIDC IdPs.
error code that may be returned:
RESOURCENOTFOUND_IDENTITYNOTEXIST = "ResourceNotFound.IdentityNotExist" RESOURCENOTFOUND_NOTFOUND = "ResourceNotFound.NotFound"
func (*Client) DeletePolicy ¶
func (c *Client) DeletePolicy(request *DeletePolicyRequest) (response *DeletePolicyResponse, err error)
DeletePolicy This API (DeletePolicy) is used to delete a policy.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYIDERROR = "InvalidParameter.PolicyIdError" INVALIDPARAMETER_POLICYIDNOTEXIST = "InvalidParameter.PolicyIdNotExist" RESOURCENOTFOUND_NOTFOUND = "ResourceNotFound.NotFound" RESOURCENOTFOUND_POLICYIDNOTFOUND = "ResourceNotFound.PolicyIdNotFound"
func (*Client) DeletePolicyVersion ¶
func (c *Client) DeletePolicyVersion(request *DeletePolicyVersionRequest) (response *DeletePolicyVersionResponse, err error)
DeletePolicyVersion This API is used to delete a policy version of a policy.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_POLICYNAMEINUSE = "FailedOperation.PolicyNameInUse" FAILEDOPERATION_POLICYVERSIONALREADYDEFAULT = "FailedOperation.PolicyVersionAlreadyDefault" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ACTIONERROR = "InvalidParameter.ActionError" INVALIDPARAMETER_ATTACHMENTFULL = "InvalidParameter.AttachmentFull" INVALIDPARAMETER_CONDITIONERROR = "InvalidParameter.ConditionError" INVALIDPARAMETER_DESCRIPTIONLENGTHOVERLIMIT = "InvalidParameter.DescriptionLengthOverlimit" INVALIDPARAMETER_EFFECTERROR = "InvalidParameter.EffectError" INVALIDPARAMETER_NOTSUPPORTPRODUCT = "InvalidParameter.NotSupportProduct" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYDOCUMENTERROR = "InvalidParameter.PolicyDocumentError" INVALIDPARAMETER_POLICYDOCUMENTLENGTHOVERLIMIT = "InvalidParameter.PolicyDocumentLengthOverLimit" INVALIDPARAMETER_POLICYIDERROR = "InvalidParameter.PolicyIdError" INVALIDPARAMETER_POLICYIDNOTEXIST = "InvalidParameter.PolicyIdNotExist" INVALIDPARAMETER_POLICYNAMEERROR = "InvalidParameter.PolicyNameError" INVALIDPARAMETER_POLICYVERSIONNOTEXISTS = "InvalidParameter.PolicyVersionNotExists" INVALIDPARAMETER_PRINCIPALERROR = "InvalidParameter.PrincipalError" INVALIDPARAMETER_RESOURCEERROR = "InvalidParameter.ResourceError" INVALIDPARAMETER_STATEMENTERROR = "InvalidParameter.StatementError" INVALIDPARAMETER_USERNOTEXIST = "InvalidParameter.UserNotExist" INVALIDPARAMETER_VERSIONERROR = "InvalidParameter.VersionError" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" RESOURCENOTFOUND_NOTFOUND = "ResourceNotFound.NotFound" RESOURCENOTFOUND_POLICYIDNOTFOUND = "ResourceNotFound.PolicyIdNotFound" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) DeletePolicyVersionWithContext ¶
func (c *Client) DeletePolicyVersionWithContext(ctx context.Context, request *DeletePolicyVersionRequest) (response *DeletePolicyVersionResponse, err error)
DeletePolicyVersion This API is used to delete a policy version of a policy.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_POLICYNAMEINUSE = "FailedOperation.PolicyNameInUse" FAILEDOPERATION_POLICYVERSIONALREADYDEFAULT = "FailedOperation.PolicyVersionAlreadyDefault" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ACTIONERROR = "InvalidParameter.ActionError" INVALIDPARAMETER_ATTACHMENTFULL = "InvalidParameter.AttachmentFull" INVALIDPARAMETER_CONDITIONERROR = "InvalidParameter.ConditionError" INVALIDPARAMETER_DESCRIPTIONLENGTHOVERLIMIT = "InvalidParameter.DescriptionLengthOverlimit" INVALIDPARAMETER_EFFECTERROR = "InvalidParameter.EffectError" INVALIDPARAMETER_NOTSUPPORTPRODUCT = "InvalidParameter.NotSupportProduct" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYDOCUMENTERROR = "InvalidParameter.PolicyDocumentError" INVALIDPARAMETER_POLICYDOCUMENTLENGTHOVERLIMIT = "InvalidParameter.PolicyDocumentLengthOverLimit" INVALIDPARAMETER_POLICYIDERROR = "InvalidParameter.PolicyIdError" INVALIDPARAMETER_POLICYIDNOTEXIST = "InvalidParameter.PolicyIdNotExist" INVALIDPARAMETER_POLICYNAMEERROR = "InvalidParameter.PolicyNameError" INVALIDPARAMETER_POLICYVERSIONNOTEXISTS = "InvalidParameter.PolicyVersionNotExists" INVALIDPARAMETER_PRINCIPALERROR = "InvalidParameter.PrincipalError" INVALIDPARAMETER_RESOURCEERROR = "InvalidParameter.ResourceError" INVALIDPARAMETER_STATEMENTERROR = "InvalidParameter.StatementError" INVALIDPARAMETER_USERNOTEXIST = "InvalidParameter.UserNotExist" INVALIDPARAMETER_VERSIONERROR = "InvalidParameter.VersionError" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" RESOURCENOTFOUND_NOTFOUND = "ResourceNotFound.NotFound" RESOURCENOTFOUND_POLICYIDNOTFOUND = "ResourceNotFound.PolicyIdNotFound" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) DeletePolicyWithContext ¶
func (c *Client) DeletePolicyWithContext(ctx context.Context, request *DeletePolicyRequest) (response *DeletePolicyResponse, err error)
DeletePolicy This API (DeletePolicy) is used to delete a policy.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYIDERROR = "InvalidParameter.PolicyIdError" INVALIDPARAMETER_POLICYIDNOTEXIST = "InvalidParameter.PolicyIdNotExist" RESOURCENOTFOUND_NOTFOUND = "ResourceNotFound.NotFound" RESOURCENOTFOUND_POLICYIDNOTFOUND = "ResourceNotFound.PolicyIdNotFound"
func (*Client) DeleteRole ¶
func (c *Client) DeleteRole(request *DeleteRoleRequest) (response *DeleteRoleResponse, err error)
DeleteRole This API (DeleteRole) is used to delete a specified role.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYNAMEERROR = "InvalidParameter.PolicyNameError" INVALIDPARAMETER_ROLENOTEXIST = "InvalidParameter.RoleNotExist"
func (*Client) DeleteRolePermissionsBoundary ¶
func (c *Client) DeleteRolePermissionsBoundary(request *DeleteRolePermissionsBoundaryRequest) (response *DeleteRolePermissionsBoundaryResponse, err error)
DeleteRolePermissionsBoundary This API is used to delete a role permission boundary.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_OPERATEENTITIESOVERLIMIT = "InvalidParameter.OperateEntitiesOverLimit" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYIDNOTEXIST = "InvalidParameter.PolicyIdNotExist" INVALIDPARAMETER_ROLENOTEXIST = "InvalidParameter.RoleNotExist" INVALIDPARAMETER_SERVICELINKEDROLECANTUSEPERMISSIONBOUNDARY = "InvalidParameter.ServiceLinkedRoleCantUsePermissionBoundary" INVALIDPARAMETER_USERNOTEXIST = "InvalidParameter.UserNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteRolePermissionsBoundaryWithContext ¶
func (c *Client) DeleteRolePermissionsBoundaryWithContext(ctx context.Context, request *DeleteRolePermissionsBoundaryRequest) (response *DeleteRolePermissionsBoundaryResponse, err error)
DeleteRolePermissionsBoundary This API is used to delete a role permission boundary.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_OPERATEENTITIESOVERLIMIT = "InvalidParameter.OperateEntitiesOverLimit" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYIDNOTEXIST = "InvalidParameter.PolicyIdNotExist" INVALIDPARAMETER_ROLENOTEXIST = "InvalidParameter.RoleNotExist" INVALIDPARAMETER_SERVICELINKEDROLECANTUSEPERMISSIONBOUNDARY = "InvalidParameter.ServiceLinkedRoleCantUsePermissionBoundary" INVALIDPARAMETER_USERNOTEXIST = "InvalidParameter.UserNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteRoleWithContext ¶
func (c *Client) DeleteRoleWithContext(ctx context.Context, request *DeleteRoleRequest) (response *DeleteRoleResponse, err error)
DeleteRole This API (DeleteRole) is used to delete a specified role.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYNAMEERROR = "InvalidParameter.PolicyNameError" INVALIDPARAMETER_ROLENOTEXIST = "InvalidParameter.RoleNotExist"
func (*Client) DeleteSAMLProvider ¶
func (c *Client) DeleteSAMLProvider(request *DeleteSAMLProviderRequest) (response *DeleteSAMLProviderResponse, err error)
DeleteSAMLProvider This API is used to delete a SAML identity provider.
error code that may be returned:
RESOURCENOTFOUND_IDENTITYNOTEXIST = "ResourceNotFound.IdentityNotExist" RESOURCENOTFOUND_NOTFOUND = "ResourceNotFound.NotFound"
func (*Client) DeleteSAMLProviderWithContext ¶
func (c *Client) DeleteSAMLProviderWithContext(ctx context.Context, request *DeleteSAMLProviderRequest) (response *DeleteSAMLProviderResponse, err error)
DeleteSAMLProvider This API is used to delete a SAML identity provider.
error code that may be returned:
RESOURCENOTFOUND_IDENTITYNOTEXIST = "ResourceNotFound.IdentityNotExist" RESOURCENOTFOUND_NOTFOUND = "ResourceNotFound.NotFound"
func (*Client) DeleteServiceLinkedRole ¶
func (c *Client) DeleteServiceLinkedRole(request *DeleteServiceLinkedRoleRequest) (response *DeleteServiceLinkedRoleResponse, err error)
DeleteServiceLinkedRole This API is used to delete a service-linked role.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_ROLENOTEXIST = "InvalidParameter.RoleNotExist"
func (*Client) DeleteServiceLinkedRoleWithContext ¶
func (c *Client) DeleteServiceLinkedRoleWithContext(ctx context.Context, request *DeleteServiceLinkedRoleRequest) (response *DeleteServiceLinkedRoleResponse, err error)
DeleteServiceLinkedRole This API is used to delete a service-linked role.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_ROLENOTEXIST = "InvalidParameter.RoleNotExist"
func (*Client) DeleteUser ¶
func (c *Client) DeleteUser(request *DeleteUserRequest) (response *DeleteUserResponse, err error)
DeleteUser This API is used to delete a sub-user.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" OPERATIONDENIED_HAVEKEYS = "OperationDenied.HaveKeys" REQUESTLIMITEXCEEDED_UINLIMITEXCEEDED = "RequestLimitExceeded.UinLimitExceeded" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist" UNAUTHORIZEDOPERATION_DELETEAPIKEY = "UnauthorizedOperation.DeleteApiKey"
func (*Client) DeleteUserPermissionsBoundary ¶
func (c *Client) DeleteUserPermissionsBoundary(request *DeleteUserPermissionsBoundaryRequest) (response *DeleteUserPermissionsBoundaryResponse, err error)
DeleteUserPermissionsBoundary This API is used to delete a user permission boundary.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_OPERATEENTITIESOVERLIMIT = "InvalidParameter.OperateEntitiesOverLimit" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_ROLENOTEXIST = "InvalidParameter.RoleNotExist" INVALIDPARAMETER_USERNOTEXIST = "InvalidParameter.UserNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteUserPermissionsBoundaryWithContext ¶
func (c *Client) DeleteUserPermissionsBoundaryWithContext(ctx context.Context, request *DeleteUserPermissionsBoundaryRequest) (response *DeleteUserPermissionsBoundaryResponse, err error)
DeleteUserPermissionsBoundary This API is used to delete a user permission boundary.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_OPERATEENTITIESOVERLIMIT = "InvalidParameter.OperateEntitiesOverLimit" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_ROLENOTEXIST = "InvalidParameter.RoleNotExist" INVALIDPARAMETER_USERNOTEXIST = "InvalidParameter.UserNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteUserWithContext ¶
func (c *Client) DeleteUserWithContext(ctx context.Context, request *DeleteUserRequest) (response *DeleteUserResponse, err error)
DeleteUser This API is used to delete a sub-user.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" OPERATIONDENIED_HAVEKEYS = "OperationDenied.HaveKeys" REQUESTLIMITEXCEEDED_UINLIMITEXCEEDED = "RequestLimitExceeded.UinLimitExceeded" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist" UNAUTHORIZEDOPERATION_DELETEAPIKEY = "UnauthorizedOperation.DeleteApiKey"
func (*Client) DescribeOIDCConfig ¶
func (c *Client) DescribeOIDCConfig(request *DescribeOIDCConfigRequest) (response *DescribeOIDCConfigResponse, err error)
DescribeOIDCConfig This API is used to query role OIDC configurations.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_NAMEERROR = "InvalidParameterValue.NameError" RESOURCENOTFOUND_IDENTITYNOTEXIST = "ResourceNotFound.IdentityNotExist"
func (*Client) DescribeOIDCConfigWithContext ¶
func (c *Client) DescribeOIDCConfigWithContext(ctx context.Context, request *DescribeOIDCConfigRequest) (response *DescribeOIDCConfigResponse, err error)
DescribeOIDCConfig This API is used to query role OIDC configurations.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_NAMEERROR = "InvalidParameterValue.NameError" RESOURCENOTFOUND_IDENTITYNOTEXIST = "ResourceNotFound.IdentityNotExist"
func (*Client) DescribeRoleList ¶
func (c *Client) DescribeRoleList(request *DescribeRoleListRequest) (response *DescribeRoleListResponse, err error)
DescribeRoleList This API (DescribeRoleList) is used to get the role list under the account.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError"
func (*Client) DescribeRoleListWithContext ¶
func (c *Client) DescribeRoleListWithContext(ctx context.Context, request *DescribeRoleListRequest) (response *DescribeRoleListResponse, err error)
DescribeRoleList This API (DescribeRoleList) is used to get the role list under the account.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError"
func (*Client) DescribeSafeAuthFlagColl ¶
func (c *Client) DescribeSafeAuthFlagColl(request *DescribeSafeAuthFlagCollRequest) (response *DescribeSafeAuthFlagCollResponse, err error)
DescribeSafeAuthFlagColl This API is used to query security settings.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) DescribeSafeAuthFlagCollWithContext ¶
func (c *Client) DescribeSafeAuthFlagCollWithContext(ctx context.Context, request *DescribeSafeAuthFlagCollRequest) (response *DescribeSafeAuthFlagCollResponse, err error)
DescribeSafeAuthFlagColl This API is used to query security settings.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) DescribeSafeAuthFlagIntl ¶
func (c *Client) DescribeSafeAuthFlagIntl(request *DescribeSafeAuthFlagIntlRequest) (response *DescribeSafeAuthFlagIntlResponse, err error)
DescribeSafeAuthFlagIntl This API is used to query security settings.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) DescribeSafeAuthFlagIntlWithContext ¶
func (c *Client) DescribeSafeAuthFlagIntlWithContext(ctx context.Context, request *DescribeSafeAuthFlagIntlRequest) (response *DescribeSafeAuthFlagIntlResponse, err error)
DescribeSafeAuthFlagIntl This API is used to query security settings.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) DescribeSubAccounts ¶
func (c *Client) DescribeSubAccounts(request *DescribeSubAccountsRequest) (response *DescribeSubAccountsResponse, err error)
DescribeSubAccounts This API is used to query sub-users through the sub-user UIN list.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeSubAccountsWithContext ¶
func (c *Client) DescribeSubAccountsWithContext(ctx context.Context, request *DescribeSubAccountsRequest) (response *DescribeSubAccountsResponse, err error)
DescribeSubAccounts This API is used to query sub-users through the sub-user UIN list.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeUserOIDCConfig ¶
func (c *Client) DescribeUserOIDCConfig(request *DescribeUserOIDCConfigRequest) (response *DescribeUserOIDCConfigResponse, err error)
DescribeUserOIDCConfig This API is used to query the user OIDC configuration.
error code that may be returned:
RESOURCENOTFOUND_IDENTITYNOTEXIST = "ResourceNotFound.IdentityNotExist"
func (*Client) DescribeUserOIDCConfigWithContext ¶
func (c *Client) DescribeUserOIDCConfigWithContext(ctx context.Context, request *DescribeUserOIDCConfigRequest) (response *DescribeUserOIDCConfigResponse, err error)
DescribeUserOIDCConfig This API is used to query the user OIDC configuration.
error code that may be returned:
RESOURCENOTFOUND_IDENTITYNOTEXIST = "ResourceNotFound.IdentityNotExist"
func (*Client) DescribeUserSAMLConfig ¶
func (c *Client) DescribeUserSAMLConfig(request *DescribeUserSAMLConfigRequest) (response *DescribeUserSAMLConfigResponse, err error)
DescribeUserSAMLConfig This API is used to query user SAML configurations.
error code that may be returned:
RESOURCENOTFOUND_IDENTITYNOTEXIST = "ResourceNotFound.IdentityNotExist"
func (*Client) DescribeUserSAMLConfigWithContext ¶
func (c *Client) DescribeUserSAMLConfigWithContext(ctx context.Context, request *DescribeUserSAMLConfigRequest) (response *DescribeUserSAMLConfigResponse, err error)
DescribeUserSAMLConfig This API is used to query user SAML configurations.
error code that may be returned:
RESOURCENOTFOUND_IDENTITYNOTEXIST = "ResourceNotFound.IdentityNotExist"
func (*Client) DetachGroupPolicy ¶
func (c *Client) DetachGroupPolicy(request *DetachGroupPolicyRequest) (response *DetachGroupPolicyResponse, err error)
DetachGroupPolicy This API (DetachGroupPolicy) is used to unassociate a policy and a user group.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYIDERROR = "InvalidParameter.PolicyIdError" INVALIDPARAMETER_POLICYIDNOTEXIST = "InvalidParameter.PolicyIdNotExist" INVALIDPARAMETER_USERNOTEXIST = "InvalidParameter.UserNotExist" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) DetachGroupPolicyWithContext ¶
func (c *Client) DetachGroupPolicyWithContext(ctx context.Context, request *DetachGroupPolicyRequest) (response *DetachGroupPolicyResponse, err error)
DetachGroupPolicy This API (DetachGroupPolicy) is used to unassociate a policy and a user group.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYIDERROR = "InvalidParameter.PolicyIdError" INVALIDPARAMETER_POLICYIDNOTEXIST = "InvalidParameter.PolicyIdNotExist" INVALIDPARAMETER_USERNOTEXIST = "InvalidParameter.UserNotExist" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) DetachRolePolicy ¶
func (c *Client) DetachRolePolicy(request *DetachRolePolicyRequest) (response *DetachRolePolicyResponse, err error)
DetachRolePolicy This API (DetachRolePolicy) is used to unassociate a policy and a role.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYIDNOTEXIST = "InvalidParameter.PolicyIdNotExist" INVALIDPARAMETER_ROLENOTEXIST = "InvalidParameter.RoleNotExist"
func (*Client) DetachRolePolicyWithContext ¶
func (c *Client) DetachRolePolicyWithContext(ctx context.Context, request *DetachRolePolicyRequest) (response *DetachRolePolicyResponse, err error)
DetachRolePolicy This API (DetachRolePolicy) is used to unassociate a policy and a role.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYIDNOTEXIST = "InvalidParameter.PolicyIdNotExist" INVALIDPARAMETER_ROLENOTEXIST = "InvalidParameter.RoleNotExist"
func (*Client) DetachUserPolicy ¶
func (c *Client) DetachUserPolicy(request *DetachUserPolicyRequest) (response *DetachUserPolicyResponse, err error)
DetachUserPolicy This API (DetachUserPolicy) is used to unassociate a policy and a user.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ATTACHMENTFULL = "InvalidParameter.AttachmentFull" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYIDERROR = "InvalidParameter.PolicyIdError" INVALIDPARAMETER_POLICYIDNOTEXIST = "InvalidParameter.PolicyIdNotExist" INVALIDPARAMETER_USERNOTEXIST = "InvalidParameter.UserNotExist" RESOURCENOTFOUND_POLICYIDNOTFOUND = "ResourceNotFound.PolicyIdNotFound" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) DetachUserPolicyWithContext ¶
func (c *Client) DetachUserPolicyWithContext(ctx context.Context, request *DetachUserPolicyRequest) (response *DetachUserPolicyResponse, err error)
DetachUserPolicy This API (DetachUserPolicy) is used to unassociate a policy and a user.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ATTACHMENTFULL = "InvalidParameter.AttachmentFull" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYIDERROR = "InvalidParameter.PolicyIdError" INVALIDPARAMETER_POLICYIDNOTEXIST = "InvalidParameter.PolicyIdNotExist" INVALIDPARAMETER_USERNOTEXIST = "InvalidParameter.UserNotExist" RESOURCENOTFOUND_POLICYIDNOTFOUND = "ResourceNotFound.PolicyIdNotFound" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) DisableUserSSO ¶
func (c *Client) DisableUserSSO(request *DisableUserSSORequest) (response *DisableUserSSOResponse, err error)
DisableUserSSO This API is used to disable user SSO.
error code that may be returned:
INVALIDPARAMETERVALUE_METADATAERROR = "InvalidParameterValue.MetadataError"
func (*Client) DisableUserSSOWithContext ¶
func (c *Client) DisableUserSSOWithContext(ctx context.Context, request *DisableUserSSORequest) (response *DisableUserSSOResponse, err error)
DisableUserSSO This API is used to disable user SSO.
error code that may be returned:
INVALIDPARAMETERVALUE_METADATAERROR = "InvalidParameterValue.MetadataError"
func (*Client) GetAccountSummary ¶
func (c *Client) GetAccountSummary(request *GetAccountSummaryRequest) (response *GetAccountSummaryResponse, err error)
GetAccountSummary This API is used to query account summary.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
func (*Client) GetAccountSummaryWithContext ¶
func (c *Client) GetAccountSummaryWithContext(ctx context.Context, request *GetAccountSummaryRequest) (response *GetAccountSummaryResponse, err error)
GetAccountSummary This API is used to query account summary.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
func (*Client) GetCustomMFATokenInfo ¶
func (c *Client) GetCustomMFATokenInfo(request *GetCustomMFATokenInfoRequest) (response *GetCustomMFATokenInfoResponse, err error)
GetCustomMFATokenInfo This API is used to get information associated with a custom multi-factor Token
error code that may be returned:
INVALIDPARAMETER_MFATOKENERROR = "InvalidParameter.MFATokenError"
func (*Client) GetCustomMFATokenInfoWithContext ¶
func (c *Client) GetCustomMFATokenInfoWithContext(ctx context.Context, request *GetCustomMFATokenInfoRequest) (response *GetCustomMFATokenInfoResponse, err error)
GetCustomMFATokenInfo This API is used to get information associated with a custom multi-factor Token
error code that may be returned:
INVALIDPARAMETER_MFATOKENERROR = "InvalidParameter.MFATokenError"
func (*Client) GetGroup ¶
func (c *Client) GetGroup(request *GetGroupRequest) (response *GetGroupResponse, err error)
GetGroup This API is used to query user group details.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) GetGroupWithContext ¶
func (c *Client) GetGroupWithContext(ctx context.Context, request *GetGroupRequest) (response *GetGroupResponse, err error)
GetGroup This API is used to query user group details.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) GetPolicy ¶
func (c *Client) GetPolicy(request *GetPolicyRequest) (response *GetPolicyResponse, err error)
GetPolicy This API (GetPolicy) is used to query and view policy details.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYIDERROR = "InvalidParameter.PolicyIdError" RESOURCENOTFOUND_POLICYIDNOTFOUND = "ResourceNotFound.PolicyIdNotFound"
func (*Client) GetPolicyVersion ¶
func (c *Client) GetPolicyVersion(request *GetPolicyVersionRequest) (response *GetPolicyVersionResponse, err error)
GetPolicyVersion This API is used to query policy version details.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYIDERROR = "InvalidParameter.PolicyIdError" INVALIDPARAMETER_POLICYVERSIONNOTEXISTS = "InvalidParameter.PolicyVersionNotExists" RESOURCENOTFOUND_POLICYIDNOTFOUND = "ResourceNotFound.PolicyIdNotFound"
func (*Client) GetPolicyVersionWithContext ¶
func (c *Client) GetPolicyVersionWithContext(ctx context.Context, request *GetPolicyVersionRequest) (response *GetPolicyVersionResponse, err error)
GetPolicyVersion This API is used to query policy version details.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYIDERROR = "InvalidParameter.PolicyIdError" INVALIDPARAMETER_POLICYVERSIONNOTEXISTS = "InvalidParameter.PolicyVersionNotExists" RESOURCENOTFOUND_POLICYIDNOTFOUND = "ResourceNotFound.PolicyIdNotFound"
func (*Client) GetPolicyWithContext ¶
func (c *Client) GetPolicyWithContext(ctx context.Context, request *GetPolicyRequest) (response *GetPolicyResponse, err error)
GetPolicy This API (GetPolicy) is used to query and view policy details.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYIDERROR = "InvalidParameter.PolicyIdError" RESOURCENOTFOUND_POLICYIDNOTFOUND = "ResourceNotFound.PolicyIdNotFound"
func (*Client) GetRole ¶
func (c *Client) GetRole(request *GetRoleRequest) (response *GetRoleResponse, err error)
GetRole This API (GetRole) is used to get the details of a specified role.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_ROLENOTEXIST = "InvalidParameter.RoleNotExist"
func (*Client) GetRoleWithContext ¶
func (c *Client) GetRoleWithContext(ctx context.Context, request *GetRoleRequest) (response *GetRoleResponse, err error)
GetRole This API (GetRole) is used to get the details of a specified role.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_ROLENOTEXIST = "InvalidParameter.RoleNotExist"
func (*Client) GetSAMLProvider ¶
func (c *Client) GetSAMLProvider(request *GetSAMLProviderRequest) (response *GetSAMLProviderResponse, err error)
GetSAMLProvider This API is used to query SAML identity provider details.
error code that may be returned:
RESOURCENOTFOUND_IDENTITYNOTEXIST = "ResourceNotFound.IdentityNotExist" RESOURCENOTFOUND_NOTFOUND = "ResourceNotFound.NotFound"
func (*Client) GetSAMLProviderWithContext ¶
func (c *Client) GetSAMLProviderWithContext(ctx context.Context, request *GetSAMLProviderRequest) (response *GetSAMLProviderResponse, err error)
GetSAMLProvider This API is used to query SAML identity provider details.
error code that may be returned:
RESOURCENOTFOUND_IDENTITYNOTEXIST = "ResourceNotFound.IdentityNotExist" RESOURCENOTFOUND_NOTFOUND = "ResourceNotFound.NotFound"
func (*Client) GetSecurityLastUsed ¶
func (c *Client) GetSecurityLastUsed(request *GetSecurityLastUsedRequest) (response *GetSecurityLastUsedResponse, err error)
GetSecurityLastUsed This API is used to get a key’s recent usage details.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter"
func (*Client) GetSecurityLastUsedWithContext ¶
func (c *Client) GetSecurityLastUsedWithContext(ctx context.Context, request *GetSecurityLastUsedRequest) (response *GetSecurityLastUsedResponse, err error)
GetSecurityLastUsed This API is used to get a key’s recent usage details.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter"
func (*Client) GetServiceLinkedRoleDeletionStatus ¶
func (c *Client) GetServiceLinkedRoleDeletionStatus(request *GetServiceLinkedRoleDeletionStatusRequest) (response *GetServiceLinkedRoleDeletionStatusResponse, err error)
GetServiceLinkedRoleDeletionStatus This API is used to get the status of the service-linked role deletion based on the `TaskId`
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_DELETIONTASKNOTEXIST = "InvalidParameter.DeletionTaskNotExist" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError"
func (*Client) GetServiceLinkedRoleDeletionStatusWithContext ¶
func (c *Client) GetServiceLinkedRoleDeletionStatusWithContext(ctx context.Context, request *GetServiceLinkedRoleDeletionStatusRequest) (response *GetServiceLinkedRoleDeletionStatusResponse, err error)
GetServiceLinkedRoleDeletionStatus This API is used to get the status of the service-linked role deletion based on the `TaskId`
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_DELETIONTASKNOTEXIST = "InvalidParameter.DeletionTaskNotExist" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError"
func (*Client) GetUser ¶
func (c *Client) GetUser(request *GetUserRequest) (response *GetUserResponse, err error)
GetUser This API is used to query sub-users.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) GetUserAppId ¶
func (c *Client) GetUserAppId(request *GetUserAppIdRequest) (response *GetUserAppIdResponse, err error)
GetUserAppId This API is used to get the user AppId.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
func (*Client) GetUserAppIdWithContext ¶
func (c *Client) GetUserAppIdWithContext(ctx context.Context, request *GetUserAppIdRequest) (response *GetUserAppIdResponse, err error)
GetUserAppId This API is used to get the user AppId.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
func (*Client) GetUserWithContext ¶
func (c *Client) GetUserWithContext(ctx context.Context, request *GetUserRequest) (response *GetUserResponse, err error)
GetUser This API is used to query sub-users.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) ListAccessKeys ¶
func (c *Client) ListAccessKeys(request *ListAccessKeysRequest) (response *ListAccessKeysResponse, err error)
ListAccessKeys This API is used to list the access keys associated with a specified CAM user.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_ACCESSKEY = "FailedOperation.Accesskey" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_USERNOTEXIST = "InvalidParameter.UserNotExist" OPERATIONDENIED_ACCESSKEYOVERLIMIT = "OperationDenied.AccessKeyOverLimit" OPERATIONDENIED_SUBUIN = "OperationDenied.SubUin" OPERATIONDENIED_UINNOTMATCH = "OperationDenied.UinNotMatch"
func (*Client) ListAccessKeysWithContext ¶
func (c *Client) ListAccessKeysWithContext(ctx context.Context, request *ListAccessKeysRequest) (response *ListAccessKeysResponse, err error)
ListAccessKeys This API is used to list the access keys associated with a specified CAM user.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_ACCESSKEY = "FailedOperation.Accesskey" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_USERNOTEXIST = "InvalidParameter.UserNotExist" OPERATIONDENIED_ACCESSKEYOVERLIMIT = "OperationDenied.AccessKeyOverLimit" OPERATIONDENIED_SUBUIN = "OperationDenied.SubUin" OPERATIONDENIED_UINNOTMATCH = "OperationDenied.UinNotMatch"
func (*Client) ListAttachedGroupPolicies ¶
func (c *Client) ListAttachedGroupPolicies(request *ListAttachedGroupPoliciesRequest) (response *ListAttachedGroupPoliciesResponse, err error)
ListAttachedGroupPolicies This API (ListAttachedGroupPolicies) is used to query the list of policies associated with a user group.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError"
func (*Client) ListAttachedGroupPoliciesWithContext ¶
func (c *Client) ListAttachedGroupPoliciesWithContext(ctx context.Context, request *ListAttachedGroupPoliciesRequest) (response *ListAttachedGroupPoliciesResponse, err error)
ListAttachedGroupPolicies This API (ListAttachedGroupPolicies) is used to query the list of policies associated with a user group.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError"
func (*Client) ListAttachedRolePolicies ¶
func (c *Client) ListAttachedRolePolicies(request *ListAttachedRolePoliciesRequest) (response *ListAttachedRolePoliciesResponse, err error)
ListAttachedRolePolicies This API (ListAttachedRolePolicies) is used to obtain the list of the policies associated with a role.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError"
func (*Client) ListAttachedRolePoliciesWithContext ¶
func (c *Client) ListAttachedRolePoliciesWithContext(ctx context.Context, request *ListAttachedRolePoliciesRequest) (response *ListAttachedRolePoliciesResponse, err error)
ListAttachedRolePolicies This API (ListAttachedRolePolicies) is used to obtain the list of the policies associated with a role.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError"
func (*Client) ListAttachedUserAllPolicies ¶
func (c *Client) ListAttachedUserAllPolicies(request *ListAttachedUserAllPoliciesRequest) (response *ListAttachedUserAllPoliciesResponse, err error)
ListAttachedUserAllPolicies This API is used to list policies associated with the user (including those inherited from the user group).
error code that may be returned:
INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ListAttachedUserAllPoliciesWithContext ¶
func (c *Client) ListAttachedUserAllPoliciesWithContext(ctx context.Context, request *ListAttachedUserAllPoliciesRequest) (response *ListAttachedUserAllPoliciesResponse, err error)
ListAttachedUserAllPolicies This API is used to list policies associated with the user (including those inherited from the user group).
error code that may be returned:
INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ListAttachedUserPolicies ¶
func (c *Client) ListAttachedUserPolicies(request *ListAttachedUserPoliciesRequest) (response *ListAttachedUserPoliciesResponse, err error)
ListAttachedUserPolicies This API (ListAttachedUserPolicies) is used to query the list of policies associated with a sub-account.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError"
func (*Client) ListAttachedUserPoliciesWithContext ¶
func (c *Client) ListAttachedUserPoliciesWithContext(ctx context.Context, request *ListAttachedUserPoliciesRequest) (response *ListAttachedUserPoliciesResponse, err error)
ListAttachedUserPolicies This API (ListAttachedUserPolicies) is used to query the list of policies associated with a sub-account.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError"
func (*Client) ListCollaborators ¶
func (c *Client) ListCollaborators(request *ListCollaboratorsRequest) (response *ListCollaboratorsResponse, err error)
ListCollaborators This API is used to get the collaborator list.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) ListCollaboratorsWithContext ¶
func (c *Client) ListCollaboratorsWithContext(ctx context.Context, request *ListCollaboratorsRequest) (response *ListCollaboratorsResponse, err error)
ListCollaborators This API is used to get the collaborator list.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) ListEntitiesForPolicy ¶
func (c *Client) ListEntitiesForPolicy(request *ListEntitiesForPolicyRequest) (response *ListEntitiesForPolicyResponse, err error)
ListEntitiesForPolicy This API (ListEntitiesForPolicy) is used to query the list of entities associated with a policy.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ENTITYFILTERERROR = "InvalidParameter.EntityFilterError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYIDERROR = "InvalidParameter.PolicyIdError"
func (*Client) ListEntitiesForPolicyWithContext ¶
func (c *Client) ListEntitiesForPolicyWithContext(ctx context.Context, request *ListEntitiesForPolicyRequest) (response *ListEntitiesForPolicyResponse, err error)
ListEntitiesForPolicy This API (ListEntitiesForPolicy) is used to query the list of entities associated with a policy.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ENTITYFILTERERROR = "InvalidParameter.EntityFilterError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYIDERROR = "InvalidParameter.PolicyIdError"
func (*Client) ListGroups ¶
func (c *Client) ListGroups(request *ListGroupsRequest) (response *ListGroupsResponse, err error)
ListGroups This API is used to query the list of user groups.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) ListGroupsForUser ¶
func (c *Client) ListGroupsForUser(request *ListGroupsForUserRequest) (response *ListGroupsForUserResponse, err error)
ListGroupsForUser This API is used to list user groups associated with a user.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) ListGroupsForUserWithContext ¶
func (c *Client) ListGroupsForUserWithContext(ctx context.Context, request *ListGroupsForUserRequest) (response *ListGroupsForUserResponse, err error)
ListGroupsForUser This API is used to list user groups associated with a user.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) ListGroupsWithContext ¶
func (c *Client) ListGroupsWithContext(ctx context.Context, request *ListGroupsRequest) (response *ListGroupsResponse, err error)
ListGroups This API is used to query the list of user groups.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) ListPolicies ¶
func (c *Client) ListPolicies(request *ListPoliciesRequest) (response *ListPoliciesResponse, err error)
ListPolicies This API is used to query the policy list.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_GROUPIDERROR = "InvalidParameter.GroupIdError" INVALIDPARAMETER_KEYWORDERROR = "InvalidParameter.KeywordError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_SCOPEERROR = "InvalidParameter.ScopeError" INVALIDPARAMETER_SERVICETYPEERROR = "InvalidParameter.ServiceTypeError" INVALIDPARAMETER_UINERROR = "InvalidParameter.UinError"
func (*Client) ListPoliciesWithContext ¶
func (c *Client) ListPoliciesWithContext(ctx context.Context, request *ListPoliciesRequest) (response *ListPoliciesResponse, err error)
ListPolicies This API is used to query the policy list.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_GROUPIDERROR = "InvalidParameter.GroupIdError" INVALIDPARAMETER_KEYWORDERROR = "InvalidParameter.KeywordError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_SCOPEERROR = "InvalidParameter.ScopeError" INVALIDPARAMETER_SERVICETYPEERROR = "InvalidParameter.ServiceTypeError" INVALIDPARAMETER_UINERROR = "InvalidParameter.UinError"
func (*Client) ListPolicyVersions ¶
func (c *Client) ListPolicyVersions(request *ListPolicyVersionsRequest) (response *ListPolicyVersionsResponse, err error)
ListPolicyVersions This API is used to get the list of policy versions.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYIDNOTEXIST = "InvalidParameter.PolicyIdNotExist" RESOURCENOTFOUND_POLICYIDNOTFOUND = "ResourceNotFound.PolicyIdNotFound"
func (*Client) ListPolicyVersionsWithContext ¶
func (c *Client) ListPolicyVersionsWithContext(ctx context.Context, request *ListPolicyVersionsRequest) (response *ListPolicyVersionsResponse, err error)
ListPolicyVersions This API is used to get the list of policy versions.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYIDNOTEXIST = "InvalidParameter.PolicyIdNotExist" RESOURCENOTFOUND_POLICYIDNOTFOUND = "ResourceNotFound.PolicyIdNotFound"
func (*Client) ListSAMLProviders ¶
func (c *Client) ListSAMLProviders(request *ListSAMLProvidersRequest) (response *ListSAMLProvidersResponse, err error)
ListSAMLProviders This API is used to query the list of SAML identity providers.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYIDNOTEXIST = "InvalidParameter.PolicyIdNotExist" RESOURCENOTFOUND_POLICYIDNOTFOUND = "ResourceNotFound.PolicyIdNotFound"
func (*Client) ListSAMLProvidersWithContext ¶
func (c *Client) ListSAMLProvidersWithContext(ctx context.Context, request *ListSAMLProvidersRequest) (response *ListSAMLProvidersResponse, err error)
ListSAMLProviders This API is used to query the list of SAML identity providers.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYIDNOTEXIST = "InvalidParameter.PolicyIdNotExist" RESOURCENOTFOUND_POLICYIDNOTFOUND = "ResourceNotFound.PolicyIdNotFound"
func (*Client) ListUsers ¶
func (c *Client) ListUsers(request *ListUsersRequest) (response *ListUsersResponse, err error)
ListUsers This API is used to pull sub-users.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) ListUsersForGroup ¶
func (c *Client) ListUsersForGroup(request *ListUsersForGroupRequest) (response *ListUsersForGroupResponse, err error)
ListUsersForGroup This API is used to query the list of users associated with a user group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist"
func (*Client) ListUsersForGroupWithContext ¶
func (c *Client) ListUsersForGroupWithContext(ctx context.Context, request *ListUsersForGroupRequest) (response *ListUsersForGroupResponse, err error)
ListUsersForGroup This API is used to query the list of users associated with a user group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist"
func (*Client) ListUsersWithContext ¶
func (c *Client) ListUsersWithContext(ctx context.Context, request *ListUsersRequest) (response *ListUsersResponse, err error)
ListUsers This API is used to pull sub-users.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) PutRolePermissionsBoundary ¶
func (c *Client) PutRolePermissionsBoundary(request *PutRolePermissionsBoundaryRequest) (response *PutRolePermissionsBoundaryResponse, err error)
PutRolePermissionsBoundary This API is used to set a role permission boundary.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_OPERATEENTITIESOVERLIMIT = "InvalidParameter.OperateEntitiesOverLimit" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYIDNOTEXIST = "InvalidParameter.PolicyIdNotExist" INVALIDPARAMETER_ROLENOTEXIST = "InvalidParameter.RoleNotExist" INVALIDPARAMETER_SERVICELINKEDPOLICYCANTINPERMISSIONBOUNDARY = "InvalidParameter.ServiceLinkedPolicyCantInPermissionBoundary" INVALIDPARAMETER_SERVICELINKEDROLECANTUSEPERMISSIONBOUNDARY = "InvalidParameter.ServiceLinkedRoleCantUsePermissionBoundary" INVALIDPARAMETER_USERNOTEXIST = "InvalidParameter.UserNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) PutRolePermissionsBoundaryWithContext ¶
func (c *Client) PutRolePermissionsBoundaryWithContext(ctx context.Context, request *PutRolePermissionsBoundaryRequest) (response *PutRolePermissionsBoundaryResponse, err error)
PutRolePermissionsBoundary This API is used to set a role permission boundary.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_OPERATEENTITIESOVERLIMIT = "InvalidParameter.OperateEntitiesOverLimit" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYIDNOTEXIST = "InvalidParameter.PolicyIdNotExist" INVALIDPARAMETER_ROLENOTEXIST = "InvalidParameter.RoleNotExist" INVALIDPARAMETER_SERVICELINKEDPOLICYCANTINPERMISSIONBOUNDARY = "InvalidParameter.ServiceLinkedPolicyCantInPermissionBoundary" INVALIDPARAMETER_SERVICELINKEDROLECANTUSEPERMISSIONBOUNDARY = "InvalidParameter.ServiceLinkedRoleCantUsePermissionBoundary" INVALIDPARAMETER_USERNOTEXIST = "InvalidParameter.UserNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) PutUserPermissionsBoundary ¶
func (c *Client) PutUserPermissionsBoundary(request *PutUserPermissionsBoundaryRequest) (response *PutUserPermissionsBoundaryResponse, err error)
PutUserPermissionsBoundary This API is used to set a user permission boundary.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_OPERATEENTITIESOVERLIMIT = "InvalidParameter.OperateEntitiesOverLimit" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYIDNOTEXIST = "InvalidParameter.PolicyIdNotExist" INVALIDPARAMETER_ROLENOTEXIST = "InvalidParameter.RoleNotExist" INVALIDPARAMETER_SERVICELINKEDPOLICYCANTINPERMISSIONBOUNDARY = "InvalidParameter.ServiceLinkedPolicyCantInPermissionBoundary" INVALIDPARAMETER_USERNOTEXIST = "InvalidParameter.UserNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) PutUserPermissionsBoundaryWithContext ¶
func (c *Client) PutUserPermissionsBoundaryWithContext(ctx context.Context, request *PutUserPermissionsBoundaryRequest) (response *PutUserPermissionsBoundaryResponse, err error)
PutUserPermissionsBoundary This API is used to set a user permission boundary.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_OPERATEENTITIESOVERLIMIT = "InvalidParameter.OperateEntitiesOverLimit" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYIDNOTEXIST = "InvalidParameter.PolicyIdNotExist" INVALIDPARAMETER_ROLENOTEXIST = "InvalidParameter.RoleNotExist" INVALIDPARAMETER_SERVICELINKEDPOLICYCANTINPERMISSIONBOUNDARY = "InvalidParameter.ServiceLinkedPolicyCantInPermissionBoundary" INVALIDPARAMETER_USERNOTEXIST = "InvalidParameter.UserNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) RemoveUserFromGroup ¶
func (c *Client) RemoveUserFromGroup(request *RemoveUserFromGroupRequest) (response *RemoveUserFromGroupResponse, err error)
RemoveUserFromGroup This API is used to delete users from a user group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_USERUINANDUINNOTALLNULL = "InvalidParameter.UserUinAndUinNotAllNull" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) RemoveUserFromGroupWithContext ¶
func (c *Client) RemoveUserFromGroupWithContext(ctx context.Context, request *RemoveUserFromGroupRequest) (response *RemoveUserFromGroupResponse, err error)
RemoveUserFromGroup This API is used to delete users from a user group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_USERUINANDUINNOTALLNULL = "InvalidParameter.UserUinAndUinNotAllNull" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) SetDefaultPolicyVersion ¶
func (c *Client) SetDefaultPolicyVersion(request *SetDefaultPolicyVersionRequest) (response *SetDefaultPolicyVersionResponse, err error)
SetDefaultPolicyVersion This API is used to set the operative policy version.
error code that may be returned:
FAILEDOPERATION_POLICYNAMEINUSE = "FailedOperation.PolicyNameInUse" FAILEDOPERATION_POLICYVERSIONALREADYDEFAULT = "FailedOperation.PolicyVersionAlreadyDefault" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ACTIONERROR = "InvalidParameter.ActionError" INVALIDPARAMETER_ACTIONMISS = "InvalidParameter.ActionMiss" INVALIDPARAMETER_ACTIONNOTEXIST = "InvalidParameter.ActionNotExist" INVALIDPARAMETER_ACTIONSERVICENOTEXIST = "InvalidParameter.ActionServiceNotExist" INVALIDPARAMETER_ATTACHMENTFULL = "InvalidParameter.AttachmentFull" INVALIDPARAMETER_CONDITIONCONTENTERROR = "InvalidParameter.ConditionContentError" INVALIDPARAMETER_CONDITIONERROR = "InvalidParameter.ConditionError" INVALIDPARAMETER_CONDITIONTYPEERROR = "InvalidParameter.ConditionTypeError" INVALIDPARAMETER_DESCRIPTIONLENGTHOVERLIMIT = "InvalidParameter.DescriptionLengthOverlimit" INVALIDPARAMETER_EFFECTERROR = "InvalidParameter.EffectError" INVALIDPARAMETER_NOTSUPPORTPRODUCT = "InvalidParameter.NotSupportProduct" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYDOCUMENTERROR = "InvalidParameter.PolicyDocumentError" INVALIDPARAMETER_POLICYDOCUMENTLENGTHOVERLIMIT = "InvalidParameter.PolicyDocumentLengthOverLimit" INVALIDPARAMETER_POLICYIDERROR = "InvalidParameter.PolicyIdError" INVALIDPARAMETER_POLICYIDNOTEXIST = "InvalidParameter.PolicyIdNotExist" INVALIDPARAMETER_POLICYNAMEERROR = "InvalidParameter.PolicyNameError" INVALIDPARAMETER_POLICYVERSIONNOTEXISTS = "InvalidParameter.PolicyVersionNotExists" INVALIDPARAMETER_PRINCIPALERROR = "InvalidParameter.PrincipalError" INVALIDPARAMETER_PRINCIPALQCSERROR = "InvalidParameter.PrincipalQcsError" INVALIDPARAMETER_PRINCIPALQCSNOTEXIST = "InvalidParameter.PrincipalQcsNotExist" INVALIDPARAMETER_PRINCIPALSERVICENOTEXIST = "InvalidParameter.PrincipalServiceNotExist" INVALIDPARAMETER_RESOURCECONTENTERROR = "InvalidParameter.ResourceContentError" INVALIDPARAMETER_RESOURCEERROR = "InvalidParameter.ResourceError" INVALIDPARAMETER_RESOURCEPROJECTERROR = "InvalidParameter.ResourceProjectError" INVALIDPARAMETER_RESOURCEQCSERROR = "InvalidParameter.ResourceQcsError" INVALIDPARAMETER_RESOURCEREGIONERROR = "InvalidParameter.ResourceRegionError" INVALIDPARAMETER_RESOURCESERVICENOTEXIST = "InvalidParameter.ResourceServiceNotExist" INVALIDPARAMETER_RESOURCEUINERROR = "InvalidParameter.ResourceUinError" INVALIDPARAMETER_STATEMENTERROR = "InvalidParameter.StatementError" INVALIDPARAMETER_USERNOTEXIST = "InvalidParameter.UserNotExist" INVALIDPARAMETER_VERSIONERROR = "InvalidParameter.VersionError" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" RESOURCENOTFOUND_NOTFOUND = "ResourceNotFound.NotFound" RESOURCENOTFOUND_POLICYIDNOTFOUND = "ResourceNotFound.PolicyIdNotFound" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) SetDefaultPolicyVersionWithContext ¶
func (c *Client) SetDefaultPolicyVersionWithContext(ctx context.Context, request *SetDefaultPolicyVersionRequest) (response *SetDefaultPolicyVersionResponse, err error)
SetDefaultPolicyVersion This API is used to set the operative policy version.
error code that may be returned:
FAILEDOPERATION_POLICYNAMEINUSE = "FailedOperation.PolicyNameInUse" FAILEDOPERATION_POLICYVERSIONALREADYDEFAULT = "FailedOperation.PolicyVersionAlreadyDefault" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ACTIONERROR = "InvalidParameter.ActionError" INVALIDPARAMETER_ACTIONMISS = "InvalidParameter.ActionMiss" INVALIDPARAMETER_ACTIONNOTEXIST = "InvalidParameter.ActionNotExist" INVALIDPARAMETER_ACTIONSERVICENOTEXIST = "InvalidParameter.ActionServiceNotExist" INVALIDPARAMETER_ATTACHMENTFULL = "InvalidParameter.AttachmentFull" INVALIDPARAMETER_CONDITIONCONTENTERROR = "InvalidParameter.ConditionContentError" INVALIDPARAMETER_CONDITIONERROR = "InvalidParameter.ConditionError" INVALIDPARAMETER_CONDITIONTYPEERROR = "InvalidParameter.ConditionTypeError" INVALIDPARAMETER_DESCRIPTIONLENGTHOVERLIMIT = "InvalidParameter.DescriptionLengthOverlimit" INVALIDPARAMETER_EFFECTERROR = "InvalidParameter.EffectError" INVALIDPARAMETER_NOTSUPPORTPRODUCT = "InvalidParameter.NotSupportProduct" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYDOCUMENTERROR = "InvalidParameter.PolicyDocumentError" INVALIDPARAMETER_POLICYDOCUMENTLENGTHOVERLIMIT = "InvalidParameter.PolicyDocumentLengthOverLimit" INVALIDPARAMETER_POLICYIDERROR = "InvalidParameter.PolicyIdError" INVALIDPARAMETER_POLICYIDNOTEXIST = "InvalidParameter.PolicyIdNotExist" INVALIDPARAMETER_POLICYNAMEERROR = "InvalidParameter.PolicyNameError" INVALIDPARAMETER_POLICYVERSIONNOTEXISTS = "InvalidParameter.PolicyVersionNotExists" INVALIDPARAMETER_PRINCIPALERROR = "InvalidParameter.PrincipalError" INVALIDPARAMETER_PRINCIPALQCSERROR = "InvalidParameter.PrincipalQcsError" INVALIDPARAMETER_PRINCIPALQCSNOTEXIST = "InvalidParameter.PrincipalQcsNotExist" INVALIDPARAMETER_PRINCIPALSERVICENOTEXIST = "InvalidParameter.PrincipalServiceNotExist" INVALIDPARAMETER_RESOURCECONTENTERROR = "InvalidParameter.ResourceContentError" INVALIDPARAMETER_RESOURCEERROR = "InvalidParameter.ResourceError" INVALIDPARAMETER_RESOURCEPROJECTERROR = "InvalidParameter.ResourceProjectError" INVALIDPARAMETER_RESOURCEQCSERROR = "InvalidParameter.ResourceQcsError" INVALIDPARAMETER_RESOURCEREGIONERROR = "InvalidParameter.ResourceRegionError" INVALIDPARAMETER_RESOURCESERVICENOTEXIST = "InvalidParameter.ResourceServiceNotExist" INVALIDPARAMETER_RESOURCEUINERROR = "InvalidParameter.ResourceUinError" INVALIDPARAMETER_STATEMENTERROR = "InvalidParameter.StatementError" INVALIDPARAMETER_USERNOTEXIST = "InvalidParameter.UserNotExist" INVALIDPARAMETER_VERSIONERROR = "InvalidParameter.VersionError" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" RESOURCENOTFOUND_NOTFOUND = "ResourceNotFound.NotFound" RESOURCENOTFOUND_POLICYIDNOTFOUND = "ResourceNotFound.PolicyIdNotFound" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) SetMfaFlag ¶
func (c *Client) SetMfaFlag(request *SetMfaFlagRequest) (response *SetMfaFlagResponse, err error)
SetMfaFlag This API is used to set account verification for login and sensitive operations for sub-users.
error code that may be returned:
FAILEDOPERATION_USERNOTBINDPHONE = "FailedOperation.UserNotBindPhone" FAILEDOPERATION_USERNOTBINDWECHAT = "FailedOperation.UserNotBindWechat" FAILEDOPERATION_USERUNBINDNOPERMISSION = "FailedOperation.UserUnbindNoPermission" INVALIDPARAMETER_MFATOKENERROR = "InvalidParameter.MFATokenError" INVALIDPARAMETER_USERNOTEXIST = "InvalidParameter.UserNotExist" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) SetMfaFlagWithContext ¶
func (c *Client) SetMfaFlagWithContext(ctx context.Context, request *SetMfaFlagRequest) (response *SetMfaFlagResponse, err error)
SetMfaFlag This API is used to set account verification for login and sensitive operations for sub-users.
error code that may be returned:
FAILEDOPERATION_USERNOTBINDPHONE = "FailedOperation.UserNotBindPhone" FAILEDOPERATION_USERNOTBINDWECHAT = "FailedOperation.UserNotBindWechat" FAILEDOPERATION_USERUNBINDNOPERMISSION = "FailedOperation.UserUnbindNoPermission" INVALIDPARAMETER_MFATOKENERROR = "InvalidParameter.MFATokenError" INVALIDPARAMETER_USERNOTEXIST = "InvalidParameter.UserNotExist" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) TagRole ¶
func (c *Client) TagRole(request *TagRoleRequest) (response *TagRoleResponse, err error)
TagRole This API is used to bind tags to a role.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_TAGRESOURCEFAILED = "FailedOperation.TagResourceFailed" INTERNALERROR = "InternalError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ROLENOTEXIST = "InvalidParameter.RoleNotExist" INVALIDPARAMETER_TAGLIMITEXCEEDED = "InvalidParameter.TagLimitExceeded" INVALIDPARAMETER_TAGPARAMERROR = "InvalidParameter.TagParamError"
func (*Client) TagRoleWithContext ¶
func (c *Client) TagRoleWithContext(ctx context.Context, request *TagRoleRequest) (response *TagRoleResponse, err error)
TagRole This API is used to bind tags to a role.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_TAGRESOURCEFAILED = "FailedOperation.TagResourceFailed" INTERNALERROR = "InternalError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ROLENOTEXIST = "InvalidParameter.RoleNotExist" INVALIDPARAMETER_TAGLIMITEXCEEDED = "InvalidParameter.TagLimitExceeded" INVALIDPARAMETER_TAGPARAMERROR = "InvalidParameter.TagParamError"
func (*Client) UntagRole ¶
func (c *Client) UntagRole(request *UntagRoleRequest) (response *UntagRoleResponse, err error)
UntagRole This API is used to unbind tags from a role.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_UNTAGRESOURCEFAILED = "FailedOperation.UnTagResourceFailed" INTERNALERROR = "InternalError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_ROLENAMEERROR = "InvalidParameter.RoleNameError" INVALIDPARAMETER_ROLENOTEXIST = "InvalidParameter.RoleNotExist" INVALIDPARAMETER_TAGPARAMERROR = "InvalidParameter.TagParamError"
func (*Client) UntagRoleWithContext ¶
func (c *Client) UntagRoleWithContext(ctx context.Context, request *UntagRoleRequest) (response *UntagRoleResponse, err error)
UntagRole This API is used to unbind tags from a role.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_UNTAGRESOURCEFAILED = "FailedOperation.UnTagResourceFailed" INTERNALERROR = "InternalError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_ROLENAMEERROR = "InvalidParameter.RoleNameError" INVALIDPARAMETER_ROLENOTEXIST = "InvalidParameter.RoleNotExist" INVALIDPARAMETER_TAGPARAMERROR = "InvalidParameter.TagParamError"
func (*Client) UpdateAssumeRolePolicy ¶
func (c *Client) UpdateAssumeRolePolicy(request *UpdateAssumeRolePolicyRequest) (response *UpdateAssumeRolePolicyResponse, err error)
UpdateAssumeRolePolicy This API (UpdateAssumeRolePolicy) is used to modify the trust policy of a role.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ACTIONERROR = "InvalidParameter.ActionError" INVALIDPARAMETER_ACTIONMISS = "InvalidParameter.ActionMiss" INVALIDPARAMETER_ATTACHMENTFULL = "InvalidParameter.AttachmentFull" INVALIDPARAMETER_CONDITIONCONTENTERROR = "InvalidParameter.ConditionContentError" INVALIDPARAMETER_CONDITIONERROR = "InvalidParameter.ConditionError" INVALIDPARAMETER_CONDITIONTYPEERROR = "InvalidParameter.ConditionTypeError" INVALIDPARAMETER_EFFECTERROR = "InvalidParameter.EffectError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYDOCUMENTLENGTHOVERLIMIT = "InvalidParameter.PolicyDocumentLengthOverLimit" INVALIDPARAMETER_PRINCIPALERROR = "InvalidParameter.PrincipalError" INVALIDPARAMETER_PRINCIPALQCSCROSSERROR = "InvalidParameter.PrincipalQcsCrossError" INVALIDPARAMETER_PRINCIPALQCSERROR = "InvalidParameter.PrincipalQcsError" INVALIDPARAMETER_PRINCIPALQCSNOTEXIST = "InvalidParameter.PrincipalQcsNotExist" INVALIDPARAMETER_PRINCIPALSERVICENOTEXIST = "InvalidParameter.PrincipalServiceNotExist" INVALIDPARAMETER_ROLENOTEXIST = "InvalidParameter.RoleNotExist" INVALIDPARAMETER_STATEMENTERROR = "InvalidParameter.StatementError" INVALIDPARAMETER_USERNOTEXIST = "InvalidParameter.UserNotExist" INVALIDPARAMETER_VERSIONERROR = "InvalidParameter.VersionError"
func (*Client) UpdateAssumeRolePolicyWithContext ¶
func (c *Client) UpdateAssumeRolePolicyWithContext(ctx context.Context, request *UpdateAssumeRolePolicyRequest) (response *UpdateAssumeRolePolicyResponse, err error)
UpdateAssumeRolePolicy This API (UpdateAssumeRolePolicy) is used to modify the trust policy of a role.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ACTIONERROR = "InvalidParameter.ActionError" INVALIDPARAMETER_ACTIONMISS = "InvalidParameter.ActionMiss" INVALIDPARAMETER_ATTACHMENTFULL = "InvalidParameter.AttachmentFull" INVALIDPARAMETER_CONDITIONCONTENTERROR = "InvalidParameter.ConditionContentError" INVALIDPARAMETER_CONDITIONERROR = "InvalidParameter.ConditionError" INVALIDPARAMETER_CONDITIONTYPEERROR = "InvalidParameter.ConditionTypeError" INVALIDPARAMETER_EFFECTERROR = "InvalidParameter.EffectError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYDOCUMENTLENGTHOVERLIMIT = "InvalidParameter.PolicyDocumentLengthOverLimit" INVALIDPARAMETER_PRINCIPALERROR = "InvalidParameter.PrincipalError" INVALIDPARAMETER_PRINCIPALQCSCROSSERROR = "InvalidParameter.PrincipalQcsCrossError" INVALIDPARAMETER_PRINCIPALQCSERROR = "InvalidParameter.PrincipalQcsError" INVALIDPARAMETER_PRINCIPALQCSNOTEXIST = "InvalidParameter.PrincipalQcsNotExist" INVALIDPARAMETER_PRINCIPALSERVICENOTEXIST = "InvalidParameter.PrincipalServiceNotExist" INVALIDPARAMETER_ROLENOTEXIST = "InvalidParameter.RoleNotExist" INVALIDPARAMETER_STATEMENTERROR = "InvalidParameter.StatementError" INVALIDPARAMETER_USERNOTEXIST = "InvalidParameter.UserNotExist" INVALIDPARAMETER_VERSIONERROR = "InvalidParameter.VersionError"
func (*Client) UpdateGroup ¶
func (c *Client) UpdateGroup(request *UpdateGroupRequest) (response *UpdateGroupResponse, err error)
UpdateGroup This API is used to update a user group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_GROUPNAMEINUSE = "InvalidParameter.GroupNameInUse" INVALIDPARAMETER_GROUPNOTEXIST = "InvalidParameter.GroupNotExist" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist"
func (*Client) UpdateGroupWithContext ¶
func (c *Client) UpdateGroupWithContext(ctx context.Context, request *UpdateGroupRequest) (response *UpdateGroupResponse, err error)
UpdateGroup This API is used to update a user group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_GROUPNAMEINUSE = "InvalidParameter.GroupNameInUse" INVALIDPARAMETER_GROUPNOTEXIST = "InvalidParameter.GroupNotExist" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist"
func (*Client) UpdateOIDCConfig ¶
func (c *Client) UpdateOIDCConfig(request *UpdateOIDCConfigRequest) (response *UpdateOIDCConfigResponse, err error)
UpdateOIDCConfig This API is used to modify role OIDC configurations.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_IDENTITYNAMEINUSE = "InvalidParameter.IdentityNameInUse" INVALIDPARAMETERVALUE_IDENTITYURLERROR = "InvalidParameterValue.IdentityUrlError" INVALIDPARAMETERVALUE_METADATAERROR = "InvalidParameterValue.MetadataError" INVALIDPARAMETERVALUE_NAMEERROR = "InvalidParameterValue.NameError" LIMITEXCEEDED_IDENTITYFULL = "LimitExceeded.IdentityFull" RESOURCENOTFOUND_IDENTITYNOTEXIST = "ResourceNotFound.IdentityNotExist"
func (*Client) UpdateOIDCConfigWithContext ¶
func (c *Client) UpdateOIDCConfigWithContext(ctx context.Context, request *UpdateOIDCConfigRequest) (response *UpdateOIDCConfigResponse, err error)
UpdateOIDCConfig This API is used to modify role OIDC configurations.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_IDENTITYNAMEINUSE = "InvalidParameter.IdentityNameInUse" INVALIDPARAMETERVALUE_IDENTITYURLERROR = "InvalidParameterValue.IdentityUrlError" INVALIDPARAMETERVALUE_METADATAERROR = "InvalidParameterValue.MetadataError" INVALIDPARAMETERVALUE_NAMEERROR = "InvalidParameterValue.NameError" LIMITEXCEEDED_IDENTITYFULL = "LimitExceeded.IdentityFull" RESOURCENOTFOUND_IDENTITYNOTEXIST = "ResourceNotFound.IdentityNotExist"
func (*Client) UpdatePolicy ¶
func (c *Client) UpdatePolicy(request *UpdatePolicyRequest) (response *UpdatePolicyResponse, err error)
UpdatePolicy This API is used to update a policy.
This API will update the default version of an existing policy instead of creating a new one. If no policy exists, a default version will be created.
error code that may be returned:
FAILEDOPERATION_POLICYNAMEINUSE = "FailedOperation.PolicyNameInUse" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ACTIONERROR = "InvalidParameter.ActionError" INVALIDPARAMETER_ACTIONMISS = "InvalidParameter.ActionMiss" INVALIDPARAMETER_ACTIONNOTEXIST = "InvalidParameter.ActionNotExist" INVALIDPARAMETER_ACTIONSERVICENOTEXIST = "InvalidParameter.ActionServiceNotExist" INVALIDPARAMETER_ATTACHMENTFULL = "InvalidParameter.AttachmentFull" INVALIDPARAMETER_CONDITIONCONTENTERROR = "InvalidParameter.ConditionContentError" INVALIDPARAMETER_CONDITIONERROR = "InvalidParameter.ConditionError" INVALIDPARAMETER_CONDITIONTYPEERROR = "InvalidParameter.ConditionTypeError" INVALIDPARAMETER_DESCRIPTIONLENGTHOVERLIMIT = "InvalidParameter.DescriptionLengthOverlimit" INVALIDPARAMETER_EFFECTERROR = "InvalidParameter.EffectError" INVALIDPARAMETER_NOTSUPPORTPRODUCT = "InvalidParameter.NotSupportProduct" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYDOCUMENTERROR = "InvalidParameter.PolicyDocumentError" INVALIDPARAMETER_POLICYDOCUMENTLENGTHOVERLIMIT = "InvalidParameter.PolicyDocumentLengthOverLimit" INVALIDPARAMETER_POLICYIDERROR = "InvalidParameter.PolicyIdError" INVALIDPARAMETER_POLICYIDNOTEXIST = "InvalidParameter.PolicyIdNotExist" INVALIDPARAMETER_POLICYNAMEERROR = "InvalidParameter.PolicyNameError" INVALIDPARAMETER_PRINCIPALERROR = "InvalidParameter.PrincipalError" INVALIDPARAMETER_PRINCIPALQCSERROR = "InvalidParameter.PrincipalQcsError" INVALIDPARAMETER_PRINCIPALQCSNOTEXIST = "InvalidParameter.PrincipalQcsNotExist" INVALIDPARAMETER_PRINCIPALSERVICENOTEXIST = "InvalidParameter.PrincipalServiceNotExist" INVALIDPARAMETER_RESOURCECONTENTERROR = "InvalidParameter.ResourceContentError" INVALIDPARAMETER_RESOURCEERROR = "InvalidParameter.ResourceError" INVALIDPARAMETER_RESOURCEPROJECTERROR = "InvalidParameter.ResourceProjectError" INVALIDPARAMETER_RESOURCEQCSERROR = "InvalidParameter.ResourceQcsError" INVALIDPARAMETER_RESOURCEREGIONERROR = "InvalidParameter.ResourceRegionError" INVALIDPARAMETER_RESOURCESERVICENOTEXIST = "InvalidParameter.ResourceServiceNotExist" INVALIDPARAMETER_RESOURCEUINERROR = "InvalidParameter.ResourceUinError" INVALIDPARAMETER_STATEMENTERROR = "InvalidParameter.StatementError" INVALIDPARAMETER_USERNOTEXIST = "InvalidParameter.UserNotExist" INVALIDPARAMETER_VERSIONERROR = "InvalidParameter.VersionError" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" RESOURCENOTFOUND_NOTFOUND = "ResourceNotFound.NotFound" RESOURCENOTFOUND_POLICYIDNOTFOUND = "ResourceNotFound.PolicyIdNotFound" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) UpdatePolicyWithContext ¶
func (c *Client) UpdatePolicyWithContext(ctx context.Context, request *UpdatePolicyRequest) (response *UpdatePolicyResponse, err error)
UpdatePolicy This API is used to update a policy.
This API will update the default version of an existing policy instead of creating a new one. If no policy exists, a default version will be created.
error code that may be returned:
FAILEDOPERATION_POLICYNAMEINUSE = "FailedOperation.PolicyNameInUse" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ACTIONERROR = "InvalidParameter.ActionError" INVALIDPARAMETER_ACTIONMISS = "InvalidParameter.ActionMiss" INVALIDPARAMETER_ACTIONNOTEXIST = "InvalidParameter.ActionNotExist" INVALIDPARAMETER_ACTIONSERVICENOTEXIST = "InvalidParameter.ActionServiceNotExist" INVALIDPARAMETER_ATTACHMENTFULL = "InvalidParameter.AttachmentFull" INVALIDPARAMETER_CONDITIONCONTENTERROR = "InvalidParameter.ConditionContentError" INVALIDPARAMETER_CONDITIONERROR = "InvalidParameter.ConditionError" INVALIDPARAMETER_CONDITIONTYPEERROR = "InvalidParameter.ConditionTypeError" INVALIDPARAMETER_DESCRIPTIONLENGTHOVERLIMIT = "InvalidParameter.DescriptionLengthOverlimit" INVALIDPARAMETER_EFFECTERROR = "InvalidParameter.EffectError" INVALIDPARAMETER_NOTSUPPORTPRODUCT = "InvalidParameter.NotSupportProduct" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_POLICYDOCUMENTERROR = "InvalidParameter.PolicyDocumentError" INVALIDPARAMETER_POLICYDOCUMENTLENGTHOVERLIMIT = "InvalidParameter.PolicyDocumentLengthOverLimit" INVALIDPARAMETER_POLICYIDERROR = "InvalidParameter.PolicyIdError" INVALIDPARAMETER_POLICYIDNOTEXIST = "InvalidParameter.PolicyIdNotExist" INVALIDPARAMETER_POLICYNAMEERROR = "InvalidParameter.PolicyNameError" INVALIDPARAMETER_PRINCIPALERROR = "InvalidParameter.PrincipalError" INVALIDPARAMETER_PRINCIPALQCSERROR = "InvalidParameter.PrincipalQcsError" INVALIDPARAMETER_PRINCIPALQCSNOTEXIST = "InvalidParameter.PrincipalQcsNotExist" INVALIDPARAMETER_PRINCIPALSERVICENOTEXIST = "InvalidParameter.PrincipalServiceNotExist" INVALIDPARAMETER_RESOURCECONTENTERROR = "InvalidParameter.ResourceContentError" INVALIDPARAMETER_RESOURCEERROR = "InvalidParameter.ResourceError" INVALIDPARAMETER_RESOURCEPROJECTERROR = "InvalidParameter.ResourceProjectError" INVALIDPARAMETER_RESOURCEQCSERROR = "InvalidParameter.ResourceQcsError" INVALIDPARAMETER_RESOURCEREGIONERROR = "InvalidParameter.ResourceRegionError" INVALIDPARAMETER_RESOURCESERVICENOTEXIST = "InvalidParameter.ResourceServiceNotExist" INVALIDPARAMETER_RESOURCEUINERROR = "InvalidParameter.ResourceUinError" INVALIDPARAMETER_STATEMENTERROR = "InvalidParameter.StatementError" INVALIDPARAMETER_USERNOTEXIST = "InvalidParameter.UserNotExist" INVALIDPARAMETER_VERSIONERROR = "InvalidParameter.VersionError" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" RESOURCENOTFOUND_NOTFOUND = "ResourceNotFound.NotFound" RESOURCENOTFOUND_POLICYIDNOTFOUND = "ResourceNotFound.PolicyIdNotFound" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) UpdateRoleConsoleLogin ¶
func (c *Client) UpdateRoleConsoleLogin(request *UpdateRoleConsoleLoginRequest) (response *UpdateRoleConsoleLoginResponse, err error)
UpdateRoleConsoleLogin This API is used to modify a role's login permissions.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_ROLENOTEXIST = "InvalidParameter.RoleNotExist"
func (*Client) UpdateRoleConsoleLoginWithContext ¶
func (c *Client) UpdateRoleConsoleLoginWithContext(ctx context.Context, request *UpdateRoleConsoleLoginRequest) (response *UpdateRoleConsoleLoginResponse, err error)
UpdateRoleConsoleLogin This API is used to modify a role's login permissions.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_ROLENOTEXIST = "InvalidParameter.RoleNotExist"
func (*Client) UpdateRoleDescription ¶
func (c *Client) UpdateRoleDescription(request *UpdateRoleDescriptionRequest) (response *UpdateRoleDescriptionResponse, err error)
UpdateRoleDescription This API (UpdateRoleDescription) is used to modify the description of a role.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_DESCRIPTIONLENGTHOVERLIMIT = "InvalidParameter.DescriptionLengthOverlimit" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_ROLENOTEXIST = "InvalidParameter.RoleNotExist"
func (*Client) UpdateRoleDescriptionWithContext ¶
func (c *Client) UpdateRoleDescriptionWithContext(ctx context.Context, request *UpdateRoleDescriptionRequest) (response *UpdateRoleDescriptionResponse, err error)
UpdateRoleDescription This API (UpdateRoleDescription) is used to modify the description of a role.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_DESCRIPTIONLENGTHOVERLIMIT = "InvalidParameter.DescriptionLengthOverlimit" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_ROLENOTEXIST = "InvalidParameter.RoleNotExist"
func (*Client) UpdateSAMLProvider ¶
func (c *Client) UpdateSAMLProvider(request *UpdateSAMLProviderRequest) (response *UpdateSAMLProviderResponse, err error)
UpdateSAMLProvider This API is used to update SAML identity provider information.
error code that may be returned:
INVALIDPARAMETERVALUE_METADATAERROR = "InvalidParameterValue.MetadataError" RESOURCENOTFOUND_IDENTITYNOTEXIST = "ResourceNotFound.IdentityNotExist"
func (*Client) UpdateSAMLProviderWithContext ¶
func (c *Client) UpdateSAMLProviderWithContext(ctx context.Context, request *UpdateSAMLProviderRequest) (response *UpdateSAMLProviderResponse, err error)
UpdateSAMLProvider This API is used to update SAML identity provider information.
error code that may be returned:
INVALIDPARAMETERVALUE_METADATAERROR = "InvalidParameterValue.MetadataError" RESOURCENOTFOUND_IDENTITYNOTEXIST = "ResourceNotFound.IdentityNotExist"
func (*Client) UpdateUser ¶
func (c *Client) UpdateUser(request *UpdateUserRequest) (response *UpdateUserResponse, err error)
UpdateUser This API is used to update a sub-user.
error code that may be returned:
INVALIDPARAMETER_PASSWORDVIOLATEDRULES = "InvalidParameter.PasswordViolatedRules" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
func (*Client) UpdateUserOIDCConfig ¶
func (c *Client) UpdateUserOIDCConfig(request *UpdateUserOIDCConfigRequest) (response *UpdateUserOIDCConfigResponse, err error)
UpdateUserOIDCConfig This API is used to modify the user OIDC configuration.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_IDENTITYNAMEINUSE = "InvalidParameter.IdentityNameInUse" INVALIDPARAMETERVALUE_IDENTITYKEYERROR = "InvalidParameterValue.IdentityKeyError" INVALIDPARAMETERVALUE_IDENTITYURLERROR = "InvalidParameterValue.IdentityUrlError" INVALIDPARAMETERVALUE_METADATAERROR = "InvalidParameterValue.MetadataError" LIMITEXCEEDED_IDENTITYFULL = "LimitExceeded.IdentityFull" RESOURCENOTFOUND_IDENTITYNOTEXIST = "ResourceNotFound.IdentityNotExist"
func (*Client) UpdateUserOIDCConfigWithContext ¶
func (c *Client) UpdateUserOIDCConfigWithContext(ctx context.Context, request *UpdateUserOIDCConfigRequest) (response *UpdateUserOIDCConfigResponse, err error)
UpdateUserOIDCConfig This API is used to modify the user OIDC configuration.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_IDENTITYNAMEINUSE = "InvalidParameter.IdentityNameInUse" INVALIDPARAMETERVALUE_IDENTITYKEYERROR = "InvalidParameterValue.IdentityKeyError" INVALIDPARAMETERVALUE_IDENTITYURLERROR = "InvalidParameterValue.IdentityUrlError" INVALIDPARAMETERVALUE_METADATAERROR = "InvalidParameterValue.MetadataError" LIMITEXCEEDED_IDENTITYFULL = "LimitExceeded.IdentityFull" RESOURCENOTFOUND_IDENTITYNOTEXIST = "ResourceNotFound.IdentityNotExist"
func (*Client) UpdateUserSAMLConfig ¶
func (c *Client) UpdateUserSAMLConfig(request *UpdateUserSAMLConfigRequest) (response *UpdateUserSAMLConfigResponse, err error)
UpdateUserSAMLConfig This API is used to modify user SAML configurations.
error code that may be returned:
INVALIDPARAMETERVALUE_METADATAERROR = "InvalidParameterValue.MetadataError" RESOURCENOTFOUND_IDENTITYNOTEXIST = "ResourceNotFound.IdentityNotExist"
func (*Client) UpdateUserSAMLConfigWithContext ¶
func (c *Client) UpdateUserSAMLConfigWithContext(ctx context.Context, request *UpdateUserSAMLConfigRequest) (response *UpdateUserSAMLConfigResponse, err error)
UpdateUserSAMLConfig This API is used to modify user SAML configurations.
error code that may be returned:
INVALIDPARAMETERVALUE_METADATAERROR = "InvalidParameterValue.MetadataError" RESOURCENOTFOUND_IDENTITYNOTEXIST = "ResourceNotFound.IdentityNotExist"
func (*Client) UpdateUserWithContext ¶
func (c *Client) UpdateUserWithContext(ctx context.Context, request *UpdateUserRequest) (response *UpdateUserResponse, err error)
UpdateUser This API is used to update a sub-user.
error code that may be returned:
INVALIDPARAMETER_PASSWORDVIOLATEDRULES = "InvalidParameter.PasswordViolatedRules" RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
type ConsumeCustomMFATokenRequest ¶
type ConsumeCustomMFATokenRequest struct {
*tchttp.BaseRequest
// Custom multi-factor verification Token
MFAToken *string `json:"MFAToken,omitempty" name:"MFAToken"`
}
func NewConsumeCustomMFATokenRequest ¶
func NewConsumeCustomMFATokenRequest() (request *ConsumeCustomMFATokenRequest)
func (*ConsumeCustomMFATokenRequest) FromJsonString ¶
func (r *ConsumeCustomMFATokenRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ConsumeCustomMFATokenRequest) ToJsonString ¶
func (r *ConsumeCustomMFATokenRequest) ToJsonString() string
type ConsumeCustomMFATokenRequestParams ¶
type ConsumeCustomMFATokenRequestParams struct {
// Custom multi-factor verification Token
MFAToken *string `json:"MFAToken,omitempty" name:"MFAToken"`
}
Predefined struct for user
type ConsumeCustomMFATokenResponse ¶
type ConsumeCustomMFATokenResponse struct {
*tchttp.BaseResponse
Response *ConsumeCustomMFATokenResponseParams `json:"Response"`
}
func NewConsumeCustomMFATokenResponse ¶
func NewConsumeCustomMFATokenResponse() (response *ConsumeCustomMFATokenResponse)
func (*ConsumeCustomMFATokenResponse) FromJsonString ¶
func (r *ConsumeCustomMFATokenResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ConsumeCustomMFATokenResponse) ToJsonString ¶
func (r *ConsumeCustomMFATokenResponse) ToJsonString() string
type ConsumeCustomMFATokenResponseParams ¶
type ConsumeCustomMFATokenResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateGroupRequest ¶
type CreateGroupRequest struct {
*tchttp.BaseRequest
// User Group name
GroupName *string `json:"GroupName,omitempty" name:"GroupName"`
// User Group description
Remark *string `json:"Remark,omitempty" name:"Remark"`
}
func NewCreateGroupRequest ¶
func NewCreateGroupRequest() (request *CreateGroupRequest)
func (*CreateGroupRequest) FromJsonString ¶
func (r *CreateGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateGroupRequest) ToJsonString ¶
func (r *CreateGroupRequest) ToJsonString() string
type CreateGroupRequestParams ¶
type CreateGroupRequestParams struct {
// User Group name
GroupName *string `json:"GroupName,omitempty" name:"GroupName"`
// User Group description
Remark *string `json:"Remark,omitempty" name:"Remark"`
}
Predefined struct for user
type CreateGroupResponse ¶
type CreateGroupResponse struct {
*tchttp.BaseResponse
Response *CreateGroupResponseParams `json:"Response"`
}
func NewCreateGroupResponse ¶
func NewCreateGroupResponse() (response *CreateGroupResponse)
func (*CreateGroupResponse) FromJsonString ¶
func (r *CreateGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateGroupResponse) ToJsonString ¶
func (r *CreateGroupResponse) ToJsonString() string
type CreateGroupResponseParams ¶
type CreateGroupResponseParams struct {
// User Group ID
GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateOIDCConfigRequest ¶
type CreateOIDCConfigRequest struct {
*tchttp.BaseRequest
// IdP URL.
IdentityUrl *string `json:"IdentityUrl,omitempty" name:"IdentityUrl"`
// Public key for signature, which must be Base64-encoded.
IdentityKey *string `json:"IdentityKey,omitempty" name:"IdentityKey"`
// Client ID.
ClientId []*string `json:"ClientId,omitempty" name:"ClientId"`
// Name.
Name *string `json:"Name,omitempty" name:"Name"`
// Description.
Description *string `json:"Description,omitempty" name:"Description"`
}
func NewCreateOIDCConfigRequest ¶
func NewCreateOIDCConfigRequest() (request *CreateOIDCConfigRequest)
func (*CreateOIDCConfigRequest) FromJsonString ¶
func (r *CreateOIDCConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateOIDCConfigRequest) ToJsonString ¶
func (r *CreateOIDCConfigRequest) ToJsonString() string
type CreateOIDCConfigRequestParams ¶
type CreateOIDCConfigRequestParams struct {
// IdP URL.
IdentityUrl *string `json:"IdentityUrl,omitempty" name:"IdentityUrl"`
// Public key for signature, which must be Base64-encoded.
IdentityKey *string `json:"IdentityKey,omitempty" name:"IdentityKey"`
// Client ID.
ClientId []*string `json:"ClientId,omitempty" name:"ClientId"`
// Name.
Name *string `json:"Name,omitempty" name:"Name"`
// Description.
Description *string `json:"Description,omitempty" name:"Description"`
}
Predefined struct for user
type CreateOIDCConfigResponse ¶
type CreateOIDCConfigResponse struct {
*tchttp.BaseResponse
Response *CreateOIDCConfigResponseParams `json:"Response"`
}
func NewCreateOIDCConfigResponse ¶
func NewCreateOIDCConfigResponse() (response *CreateOIDCConfigResponse)
func (*CreateOIDCConfigResponse) FromJsonString ¶
func (r *CreateOIDCConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateOIDCConfigResponse) ToJsonString ¶
func (r *CreateOIDCConfigResponse) ToJsonString() string
type CreateOIDCConfigResponseParams ¶
type CreateOIDCConfigResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreatePolicyRequest ¶
type CreatePolicyRequest struct {
*tchttp.BaseRequest
// Policy name
PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"`
// Policy document, such as `{"version":"2.0","statement":[{"action":"name/sts:AssumeRole","effect":"allow","principal":{"service":["cloudaudit.cloud.tencent.com","cls.cloud.tencent.com"]}}]}`, where `principal` is used to specify the resources that the role is authorized to access. For more information on this parameter, please see the `RoleInfo` output parameter of the [GetRole](https://intl.cloud.tencent.com/document/product/598/36221?from_cn_redirect=1) API
PolicyDocument *string `json:"PolicyDocument,omitempty" name:"PolicyDocument"`
// Policy description
Description *string `json:"Description,omitempty" name:"Description"`
}
func NewCreatePolicyRequest ¶
func NewCreatePolicyRequest() (request *CreatePolicyRequest)
func (*CreatePolicyRequest) FromJsonString ¶
func (r *CreatePolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePolicyRequest) ToJsonString ¶
func (r *CreatePolicyRequest) ToJsonString() string
type CreatePolicyRequestParams ¶
type CreatePolicyRequestParams struct {
// Policy name
PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"`
// Policy document, such as `{"version":"2.0","statement":[{"action":"name/sts:AssumeRole","effect":"allow","principal":{"service":["cloudaudit.cloud.tencent.com","cls.cloud.tencent.com"]}}]}`, where `principal` is used to specify the resources that the role is authorized to access. For more information on this parameter, please see the `RoleInfo` output parameter of the [GetRole](https://intl.cloud.tencent.com/document/product/598/36221?from_cn_redirect=1) API
PolicyDocument *string `json:"PolicyDocument,omitempty" name:"PolicyDocument"`
// Policy description
Description *string `json:"Description,omitempty" name:"Description"`
}
Predefined struct for user
type CreatePolicyResponse ¶
type CreatePolicyResponse struct {
*tchttp.BaseResponse
Response *CreatePolicyResponseParams `json:"Response"`
}
func NewCreatePolicyResponse ¶
func NewCreatePolicyResponse() (response *CreatePolicyResponse)
func (*CreatePolicyResponse) FromJsonString ¶
func (r *CreatePolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePolicyResponse) ToJsonString ¶
func (r *CreatePolicyResponse) ToJsonString() string
type CreatePolicyResponseParams ¶
type CreatePolicyResponseParams struct {
// ID of newly added policy
PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreatePolicyVersionRequest ¶
type CreatePolicyVersionRequest struct {
*tchttp.BaseRequest
// Policy ID
PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
// The policy document to use as the content for the new version
PolicyDocument *string `json:"PolicyDocument,omitempty" name:"PolicyDocument"`
// Specifies whether to set this version as the default version
SetAsDefault *bool `json:"SetAsDefault,omitempty" name:"SetAsDefault"`
}
func NewCreatePolicyVersionRequest ¶
func NewCreatePolicyVersionRequest() (request *CreatePolicyVersionRequest)
func (*CreatePolicyVersionRequest) FromJsonString ¶
func (r *CreatePolicyVersionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePolicyVersionRequest) ToJsonString ¶
func (r *CreatePolicyVersionRequest) ToJsonString() string
type CreatePolicyVersionRequestParams ¶
type CreatePolicyVersionRequestParams struct {
// Policy ID
PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
// The policy document to use as the content for the new version
PolicyDocument *string `json:"PolicyDocument,omitempty" name:"PolicyDocument"`
// Specifies whether to set this version as the default version
SetAsDefault *bool `json:"SetAsDefault,omitempty" name:"SetAsDefault"`
}
Predefined struct for user
type CreatePolicyVersionResponse ¶
type CreatePolicyVersionResponse struct {
*tchttp.BaseResponse
Response *CreatePolicyVersionResponseParams `json:"Response"`
}
func NewCreatePolicyVersionResponse ¶
func NewCreatePolicyVersionResponse() (response *CreatePolicyVersionResponse)
func (*CreatePolicyVersionResponse) FromJsonString ¶
func (r *CreatePolicyVersionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePolicyVersionResponse) ToJsonString ¶
func (r *CreatePolicyVersionResponse) ToJsonString() string
type CreatePolicyVersionResponseParams ¶
type CreatePolicyVersionResponseParams struct {
// Policy version ID
// Note: this field may return null, indicating that no valid values can be obtained.
VersionId *uint64 `json:"VersionId,omitempty" name:"VersionId"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateRoleRequest ¶
type CreateRoleRequest struct {
*tchttp.BaseRequest
// Role name
RoleName *string `json:"RoleName,omitempty" name:"RoleName"`
// Policy document
PolicyDocument *string `json:"PolicyDocument,omitempty" name:"PolicyDocument"`
// Role description
Description *string `json:"Description,omitempty" name:"Description"`
// Whether login is allowed. 1: yes, 0: no
ConsoleLogin *uint64 `json:"ConsoleLogin,omitempty" name:"ConsoleLogin"`
// The maximum validity period of the temporary key for creating a role (range: 0-43200)
SessionDuration *uint64 `json:"SessionDuration,omitempty" name:"SessionDuration"`
// Tags bound to the role.
Tags []*RoleTags `json:"Tags,omitempty" name:"Tags"`
}
func NewCreateRoleRequest ¶
func NewCreateRoleRequest() (request *CreateRoleRequest)
func (*CreateRoleRequest) FromJsonString ¶
func (r *CreateRoleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRoleRequest) ToJsonString ¶
func (r *CreateRoleRequest) ToJsonString() string
type CreateRoleRequestParams ¶
type CreateRoleRequestParams struct {
// Role name
RoleName *string `json:"RoleName,omitempty" name:"RoleName"`
// Policy document
PolicyDocument *string `json:"PolicyDocument,omitempty" name:"PolicyDocument"`
// Role description
Description *string `json:"Description,omitempty" name:"Description"`
// Whether login is allowed. 1: yes, 0: no
ConsoleLogin *uint64 `json:"ConsoleLogin,omitempty" name:"ConsoleLogin"`
// The maximum validity period of the temporary key for creating a role (range: 0-43200)
SessionDuration *uint64 `json:"SessionDuration,omitempty" name:"SessionDuration"`
// Tags bound to the role.
Tags []*RoleTags `json:"Tags,omitempty" name:"Tags"`
}
Predefined struct for user
type CreateRoleResponse ¶
type CreateRoleResponse struct {
*tchttp.BaseResponse
Response *CreateRoleResponseParams `json:"Response"`
}
func NewCreateRoleResponse ¶
func NewCreateRoleResponse() (response *CreateRoleResponse)
func (*CreateRoleResponse) FromJsonString ¶
func (r *CreateRoleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRoleResponse) ToJsonString ¶
func (r *CreateRoleResponse) ToJsonString() string
type CreateRoleResponseParams ¶
type CreateRoleResponseParams struct {
// Role ID
// Note: This field may return null, indicating that no valid value was found.
RoleId *string `json:"RoleId,omitempty" name:"RoleId"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateSAMLProviderRequest ¶
type CreateSAMLProviderRequest struct {
*tchttp.BaseRequest
// SAML identity provider name
Name *string `json:"Name,omitempty" name:"Name"`
// SAML identity provider description
Description *string `json:"Description,omitempty" name:"Description"`
// SAML identity provider metadata document (Base64)
SAMLMetadataDocument *string `json:"SAMLMetadataDocument,omitempty" name:"SAMLMetadataDocument"`
}
func NewCreateSAMLProviderRequest ¶
func NewCreateSAMLProviderRequest() (request *CreateSAMLProviderRequest)
func (*CreateSAMLProviderRequest) FromJsonString ¶
func (r *CreateSAMLProviderRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSAMLProviderRequest) ToJsonString ¶
func (r *CreateSAMLProviderRequest) ToJsonString() string
type CreateSAMLProviderRequestParams ¶
type CreateSAMLProviderRequestParams struct {
// SAML identity provider name
Name *string `json:"Name,omitempty" name:"Name"`
// SAML identity provider description
Description *string `json:"Description,omitempty" name:"Description"`
// SAML identity provider metadata document (Base64)
SAMLMetadataDocument *string `json:"SAMLMetadataDocument,omitempty" name:"SAMLMetadataDocument"`
}
Predefined struct for user
type CreateSAMLProviderResponse ¶
type CreateSAMLProviderResponse struct {
*tchttp.BaseResponse
Response *CreateSAMLProviderResponseParams `json:"Response"`
}
func NewCreateSAMLProviderResponse ¶
func NewCreateSAMLProviderResponse() (response *CreateSAMLProviderResponse)
func (*CreateSAMLProviderResponse) FromJsonString ¶
func (r *CreateSAMLProviderResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSAMLProviderResponse) ToJsonString ¶
func (r *CreateSAMLProviderResponse) ToJsonString() string
type CreateSAMLProviderResponseParams ¶
type CreateSAMLProviderResponseParams struct {
// SAML identity provider resource descriptor
ProviderArn *string `json:"ProviderArn,omitempty" name:"ProviderArn"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateServiceLinkedRoleRequest ¶
type CreateServiceLinkedRoleRequest struct {
*tchttp.BaseRequest
// Authorized service, i.e., Tencent Cloud service entity with this role attached.
QCSServiceName []*string `json:"QCSServiceName,omitempty" name:"QCSServiceName"`
// Custom suffix. A string you provide, which is combined with the service-provided prefix to form the complete role name.
CustomSuffix *string `json:"CustomSuffix,omitempty" name:"CustomSuffix"`
// Role description.
Description *string `json:"Description,omitempty" name:"Description"`
// Tags bound to the role.
Tags []*RoleTags `json:"Tags,omitempty" name:"Tags"`
}
func NewCreateServiceLinkedRoleRequest ¶
func NewCreateServiceLinkedRoleRequest() (request *CreateServiceLinkedRoleRequest)
func (*CreateServiceLinkedRoleRequest) FromJsonString ¶
func (r *CreateServiceLinkedRoleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateServiceLinkedRoleRequest) ToJsonString ¶
func (r *CreateServiceLinkedRoleRequest) ToJsonString() string
type CreateServiceLinkedRoleRequestParams ¶
type CreateServiceLinkedRoleRequestParams struct {
// Authorized service, i.e., Tencent Cloud service entity with this role attached.
QCSServiceName []*string `json:"QCSServiceName,omitempty" name:"QCSServiceName"`
// Custom suffix. A string you provide, which is combined with the service-provided prefix to form the complete role name.
CustomSuffix *string `json:"CustomSuffix,omitempty" name:"CustomSuffix"`
// Role description.
Description *string `json:"Description,omitempty" name:"Description"`
// Tags bound to the role.
Tags []*RoleTags `json:"Tags,omitempty" name:"Tags"`
}
Predefined struct for user
type CreateServiceLinkedRoleResponse ¶
type CreateServiceLinkedRoleResponse struct {
*tchttp.BaseResponse
Response *CreateServiceLinkedRoleResponseParams `json:"Response"`
}
func NewCreateServiceLinkedRoleResponse ¶
func NewCreateServiceLinkedRoleResponse() (response *CreateServiceLinkedRoleResponse)
func (*CreateServiceLinkedRoleResponse) FromJsonString ¶
func (r *CreateServiceLinkedRoleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateServiceLinkedRoleResponse) ToJsonString ¶
func (r *CreateServiceLinkedRoleResponse) ToJsonString() string
type CreateServiceLinkedRoleResponseParams ¶
type CreateServiceLinkedRoleResponseParams struct {
// Role ID
RoleId *string `json:"RoleId,omitempty" name:"RoleId"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateUserOIDCConfigRequest ¶
type CreateUserOIDCConfigRequest struct {
*tchttp.BaseRequest
// OpenID Connect IdP URL.
// It corresponds to the value of the `issuer` field in the `Openid-configuration` provided by the enterprise IdP.
IdentityUrl *string `json:"IdentityUrl,omitempty" name:"IdentityUrl"`
// Signature public key, which is used to verify the OpenID Connect IdP's ID token and must be Base64-encoded. For the security of your account, we recommend you rotate it regularly.
IdentityKey *string `json:"IdentityKey,omitempty" name:"IdentityKey"`
// Client ID registered with the OpenID Connect IdP.
ClientId *string `json:"ClientId,omitempty" name:"ClientId"`
// OpenID Connect IdP authorization endpoint. It corresponds to the value of the `authorization_endpoint` field in the `Openid-configuration` provided by the enterprise IdP.
AuthorizationEndpoint *string `json:"AuthorizationEndpoint,omitempty" name:"AuthorizationEndpoint"`
// Authorization response type, which is always `id_token`.
ResponseType *string `json:"ResponseType,omitempty" name:"ResponseType"`
// Authorization response mode. Valid values: form_post (recommended); fragment.
ResponseMode *string `json:"ResponseMode,omitempty" name:"ResponseMode"`
// Mapping field name. It indicates which field in the `id_token` of the IdP is mapped to the username of a sub-user. It is usually the `sub` or `name` field
MappingFiled *string `json:"MappingFiled,omitempty" name:"MappingFiled"`
// Authorization information scope. Valid values: openid (default); email; profile.
Scope []*string `json:"Scope,omitempty" name:"Scope"`
// Description
Description *string `json:"Description,omitempty" name:"Description"`
}
func NewCreateUserOIDCConfigRequest ¶
func NewCreateUserOIDCConfigRequest() (request *CreateUserOIDCConfigRequest)
func (*CreateUserOIDCConfigRequest) FromJsonString ¶
func (r *CreateUserOIDCConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateUserOIDCConfigRequest) ToJsonString ¶
func (r *CreateUserOIDCConfigRequest) ToJsonString() string
type CreateUserOIDCConfigRequestParams ¶
type CreateUserOIDCConfigRequestParams struct {
// OpenID Connect IdP URL.
// It corresponds to the value of the `issuer` field in the `Openid-configuration` provided by the enterprise IdP.
IdentityUrl *string `json:"IdentityUrl,omitempty" name:"IdentityUrl"`
// Signature public key, which is used to verify the OpenID Connect IdP's ID token and must be Base64-encoded. For the security of your account, we recommend you rotate it regularly.
IdentityKey *string `json:"IdentityKey,omitempty" name:"IdentityKey"`
// Client ID registered with the OpenID Connect IdP.
ClientId *string `json:"ClientId,omitempty" name:"ClientId"`
// OpenID Connect IdP authorization endpoint. It corresponds to the value of the `authorization_endpoint` field in the `Openid-configuration` provided by the enterprise IdP.
AuthorizationEndpoint *string `json:"AuthorizationEndpoint,omitempty" name:"AuthorizationEndpoint"`
// Authorization response type, which is always `id_token`.
ResponseType *string `json:"ResponseType,omitempty" name:"ResponseType"`
// Authorization response mode. Valid values: form_post (recommended); fragment.
ResponseMode *string `json:"ResponseMode,omitempty" name:"ResponseMode"`
// Mapping field name. It indicates which field in the `id_token` of the IdP is mapped to the username of a sub-user. It is usually the `sub` or `name` field
MappingFiled *string `json:"MappingFiled,omitempty" name:"MappingFiled"`
// Authorization information scope. Valid values: openid (default); email; profile.
Scope []*string `json:"Scope,omitempty" name:"Scope"`
// Description
Description *string `json:"Description,omitempty" name:"Description"`
}
Predefined struct for user
type CreateUserOIDCConfigResponse ¶
type CreateUserOIDCConfigResponse struct {
*tchttp.BaseResponse
Response *CreateUserOIDCConfigResponseParams `json:"Response"`
}
func NewCreateUserOIDCConfigResponse ¶
func NewCreateUserOIDCConfigResponse() (response *CreateUserOIDCConfigResponse)
func (*CreateUserOIDCConfigResponse) FromJsonString ¶
func (r *CreateUserOIDCConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateUserOIDCConfigResponse) ToJsonString ¶
func (r *CreateUserOIDCConfigResponse) ToJsonString() string
type CreateUserOIDCConfigResponseParams ¶
type CreateUserOIDCConfigResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateUserSAMLConfigRequest ¶
type CreateUserSAMLConfigRequest struct {
*tchttp.BaseRequest
// SAML metadata document, which must be Base64 encoded.
SAMLMetadataDocument *string `json:"SAMLMetadataDocument,omitempty" name:"SAMLMetadataDocument"`
}
func NewCreateUserSAMLConfigRequest ¶
func NewCreateUserSAMLConfigRequest() (request *CreateUserSAMLConfigRequest)
func (*CreateUserSAMLConfigRequest) FromJsonString ¶
func (r *CreateUserSAMLConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateUserSAMLConfigRequest) ToJsonString ¶
func (r *CreateUserSAMLConfigRequest) ToJsonString() string
type CreateUserSAMLConfigRequestParams ¶
type CreateUserSAMLConfigRequestParams struct {
// SAML metadata document, which must be Base64 encoded.
SAMLMetadataDocument *string `json:"SAMLMetadataDocument,omitempty" name:"SAMLMetadataDocument"`
}
Predefined struct for user
type CreateUserSAMLConfigResponse ¶
type CreateUserSAMLConfigResponse struct {
*tchttp.BaseResponse
Response *CreateUserSAMLConfigResponseParams `json:"Response"`
}
func NewCreateUserSAMLConfigResponse ¶
func NewCreateUserSAMLConfigResponse() (response *CreateUserSAMLConfigResponse)
func (*CreateUserSAMLConfigResponse) FromJsonString ¶
func (r *CreateUserSAMLConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateUserSAMLConfigResponse) ToJsonString ¶
func (r *CreateUserSAMLConfigResponse) ToJsonString() string
type CreateUserSAMLConfigResponseParams ¶
type CreateUserSAMLConfigResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteGroupRequest ¶
type DeleteGroupRequest struct {
*tchttp.BaseRequest
// User Group ID
GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"`
}
func NewDeleteGroupRequest ¶
func NewDeleteGroupRequest() (request *DeleteGroupRequest)
func (*DeleteGroupRequest) FromJsonString ¶
func (r *DeleteGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteGroupRequest) ToJsonString ¶
func (r *DeleteGroupRequest) ToJsonString() string
type DeleteGroupRequestParams ¶
type DeleteGroupRequestParams struct {
// User Group ID
GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"`
}
Predefined struct for user
type DeleteGroupResponse ¶
type DeleteGroupResponse struct {
*tchttp.BaseResponse
Response *DeleteGroupResponseParams `json:"Response"`
}
func NewDeleteGroupResponse ¶
func NewDeleteGroupResponse() (response *DeleteGroupResponse)
func (*DeleteGroupResponse) FromJsonString ¶
func (r *DeleteGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteGroupResponse) ToJsonString ¶
func (r *DeleteGroupResponse) ToJsonString() string
type DeleteGroupResponseParams ¶
type DeleteGroupResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteOIDCConfigRequest ¶
type DeleteOIDCConfigRequest struct {
*tchttp.BaseRequest
// OIDC IdP name.
Name *string `json:"Name,omitempty" name:"Name"`
}
func NewDeleteOIDCConfigRequest ¶
func NewDeleteOIDCConfigRequest() (request *DeleteOIDCConfigRequest)
func (*DeleteOIDCConfigRequest) FromJsonString ¶
func (r *DeleteOIDCConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteOIDCConfigRequest) ToJsonString ¶
func (r *DeleteOIDCConfigRequest) ToJsonString() string
type DeleteOIDCConfigRequestParams ¶
type DeleteOIDCConfigRequestParams struct {
// OIDC IdP name.
Name *string `json:"Name,omitempty" name:"Name"`
}
Predefined struct for user
type DeleteOIDCConfigResponse ¶
type DeleteOIDCConfigResponse struct {
*tchttp.BaseResponse
Response *DeleteOIDCConfigResponseParams `json:"Response"`
}
func NewDeleteOIDCConfigResponse ¶
func NewDeleteOIDCConfigResponse() (response *DeleteOIDCConfigResponse)
func (*DeleteOIDCConfigResponse) FromJsonString ¶
func (r *DeleteOIDCConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteOIDCConfigResponse) ToJsonString ¶
func (r *DeleteOIDCConfigResponse) ToJsonString() string
type DeleteOIDCConfigResponseParams ¶
type DeleteOIDCConfigResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeletePolicyRequest ¶
type DeletePolicyRequest struct {
*tchttp.BaseRequest
// Array. Array elements are policy IDs. Policies can be deleted in a batch
PolicyId []*uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
}
func NewDeletePolicyRequest ¶
func NewDeletePolicyRequest() (request *DeletePolicyRequest)
func (*DeletePolicyRequest) FromJsonString ¶
func (r *DeletePolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeletePolicyRequest) ToJsonString ¶
func (r *DeletePolicyRequest) ToJsonString() string
type DeletePolicyRequestParams ¶
type DeletePolicyRequestParams struct {
// Array. Array elements are policy IDs. Policies can be deleted in a batch
PolicyId []*uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
}
Predefined struct for user
type DeletePolicyResponse ¶
type DeletePolicyResponse struct {
*tchttp.BaseResponse
Response *DeletePolicyResponseParams `json:"Response"`
}
func NewDeletePolicyResponse ¶
func NewDeletePolicyResponse() (response *DeletePolicyResponse)
func (*DeletePolicyResponse) FromJsonString ¶
func (r *DeletePolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeletePolicyResponse) ToJsonString ¶
func (r *DeletePolicyResponse) ToJsonString() string
type DeletePolicyResponseParams ¶
type DeletePolicyResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeletePolicyVersionRequest ¶
type DeletePolicyVersionRequest struct {
*tchttp.BaseRequest
// Policy ID
PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
// Policy version ID
VersionId []*uint64 `json:"VersionId,omitempty" name:"VersionId"`
}
func NewDeletePolicyVersionRequest ¶
func NewDeletePolicyVersionRequest() (request *DeletePolicyVersionRequest)
func (*DeletePolicyVersionRequest) FromJsonString ¶
func (r *DeletePolicyVersionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeletePolicyVersionRequest) ToJsonString ¶
func (r *DeletePolicyVersionRequest) ToJsonString() string
type DeletePolicyVersionRequestParams ¶
type DeletePolicyVersionRequestParams struct {
// Policy ID
PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
// Policy version ID
VersionId []*uint64 `json:"VersionId,omitempty" name:"VersionId"`
}
Predefined struct for user
type DeletePolicyVersionResponse ¶
type DeletePolicyVersionResponse struct {
*tchttp.BaseResponse
Response *DeletePolicyVersionResponseParams `json:"Response"`
}
func NewDeletePolicyVersionResponse ¶
func NewDeletePolicyVersionResponse() (response *DeletePolicyVersionResponse)
func (*DeletePolicyVersionResponse) FromJsonString ¶
func (r *DeletePolicyVersionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeletePolicyVersionResponse) ToJsonString ¶
func (r *DeletePolicyVersionResponse) ToJsonString() string
type DeletePolicyVersionResponseParams ¶
type DeletePolicyVersionResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteRolePermissionsBoundaryRequest ¶
type DeleteRolePermissionsBoundaryRequest struct {
*tchttp.BaseRequest
// Role ID (either it or the role name must be entered)
RoleId *string `json:"RoleId,omitempty" name:"RoleId"`
// Role name (either it or the role ID must be entered)
RoleName *string `json:"RoleName,omitempty" name:"RoleName"`
}
func NewDeleteRolePermissionsBoundaryRequest ¶
func NewDeleteRolePermissionsBoundaryRequest() (request *DeleteRolePermissionsBoundaryRequest)
func (*DeleteRolePermissionsBoundaryRequest) FromJsonString ¶
func (r *DeleteRolePermissionsBoundaryRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRolePermissionsBoundaryRequest) ToJsonString ¶
func (r *DeleteRolePermissionsBoundaryRequest) ToJsonString() string
type DeleteRolePermissionsBoundaryRequestParams ¶
type DeleteRolePermissionsBoundaryRequestParams struct {
// Role ID (either it or the role name must be entered)
RoleId *string `json:"RoleId,omitempty" name:"RoleId"`
// Role name (either it or the role ID must be entered)
RoleName *string `json:"RoleName,omitempty" name:"RoleName"`
}
Predefined struct for user
type DeleteRolePermissionsBoundaryResponse ¶
type DeleteRolePermissionsBoundaryResponse struct {
*tchttp.BaseResponse
Response *DeleteRolePermissionsBoundaryResponseParams `json:"Response"`
}
func NewDeleteRolePermissionsBoundaryResponse ¶
func NewDeleteRolePermissionsBoundaryResponse() (response *DeleteRolePermissionsBoundaryResponse)
func (*DeleteRolePermissionsBoundaryResponse) FromJsonString ¶
func (r *DeleteRolePermissionsBoundaryResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRolePermissionsBoundaryResponse) ToJsonString ¶
func (r *DeleteRolePermissionsBoundaryResponse) ToJsonString() string
type DeleteRolePermissionsBoundaryResponseParams ¶
type DeleteRolePermissionsBoundaryResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteRoleRequest ¶
type DeleteRoleRequest struct {
*tchttp.BaseRequest
// Role ID, used to specify a role. Input either `RoleId` or `RoleName`
RoleId *string `json:"RoleId,omitempty" name:"RoleId"`
// Role name, used to specify a role. Input either `RoleId` or `RoleName`
RoleName *string `json:"RoleName,omitempty" name:"RoleName"`
}
func NewDeleteRoleRequest ¶
func NewDeleteRoleRequest() (request *DeleteRoleRequest)
func (*DeleteRoleRequest) FromJsonString ¶
func (r *DeleteRoleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRoleRequest) ToJsonString ¶
func (r *DeleteRoleRequest) ToJsonString() string
type DeleteRoleRequestParams ¶
type DeleteRoleRequestParams struct {
// Role ID, used to specify a role. Input either `RoleId` or `RoleName`
RoleId *string `json:"RoleId,omitempty" name:"RoleId"`
// Role name, used to specify a role. Input either `RoleId` or `RoleName`
RoleName *string `json:"RoleName,omitempty" name:"RoleName"`
}
Predefined struct for user
type DeleteRoleResponse ¶
type DeleteRoleResponse struct {
*tchttp.BaseResponse
Response *DeleteRoleResponseParams `json:"Response"`
}
func NewDeleteRoleResponse ¶
func NewDeleteRoleResponse() (response *DeleteRoleResponse)
func (*DeleteRoleResponse) FromJsonString ¶
func (r *DeleteRoleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRoleResponse) ToJsonString ¶
func (r *DeleteRoleResponse) ToJsonString() string
type DeleteRoleResponseParams ¶
type DeleteRoleResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteSAMLProviderRequest ¶
type DeleteSAMLProviderRequest struct {
*tchttp.BaseRequest
// SAML identity provider name
Name *string `json:"Name,omitempty" name:"Name"`
}
func NewDeleteSAMLProviderRequest ¶
func NewDeleteSAMLProviderRequest() (request *DeleteSAMLProviderRequest)
func (*DeleteSAMLProviderRequest) FromJsonString ¶
func (r *DeleteSAMLProviderRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSAMLProviderRequest) ToJsonString ¶
func (r *DeleteSAMLProviderRequest) ToJsonString() string
type DeleteSAMLProviderRequestParams ¶
type DeleteSAMLProviderRequestParams struct {
// SAML identity provider name
Name *string `json:"Name,omitempty" name:"Name"`
}
Predefined struct for user
type DeleteSAMLProviderResponse ¶
type DeleteSAMLProviderResponse struct {
*tchttp.BaseResponse
Response *DeleteSAMLProviderResponseParams `json:"Response"`
}
func NewDeleteSAMLProviderResponse ¶
func NewDeleteSAMLProviderResponse() (response *DeleteSAMLProviderResponse)
func (*DeleteSAMLProviderResponse) FromJsonString ¶
func (r *DeleteSAMLProviderResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSAMLProviderResponse) ToJsonString ¶
func (r *DeleteSAMLProviderResponse) ToJsonString() string
type DeleteSAMLProviderResponseParams ¶
type DeleteSAMLProviderResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteServiceLinkedRoleRequest ¶
type DeleteServiceLinkedRoleRequest struct {
*tchttp.BaseRequest
// Name of the service-linked role to be deleted.
RoleName *string `json:"RoleName,omitempty" name:"RoleName"`
}
func NewDeleteServiceLinkedRoleRequest ¶
func NewDeleteServiceLinkedRoleRequest() (request *DeleteServiceLinkedRoleRequest)
func (*DeleteServiceLinkedRoleRequest) FromJsonString ¶
func (r *DeleteServiceLinkedRoleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteServiceLinkedRoleRequest) ToJsonString ¶
func (r *DeleteServiceLinkedRoleRequest) ToJsonString() string
type DeleteServiceLinkedRoleRequestParams ¶
type DeleteServiceLinkedRoleRequestParams struct {
// Name of the service-linked role to be deleted.
RoleName *string `json:"RoleName,omitempty" name:"RoleName"`
}
Predefined struct for user
type DeleteServiceLinkedRoleResponse ¶
type DeleteServiceLinkedRoleResponse struct {
*tchttp.BaseResponse
Response *DeleteServiceLinkedRoleResponseParams `json:"Response"`
}
func NewDeleteServiceLinkedRoleResponse ¶
func NewDeleteServiceLinkedRoleResponse() (response *DeleteServiceLinkedRoleResponse)
func (*DeleteServiceLinkedRoleResponse) FromJsonString ¶
func (r *DeleteServiceLinkedRoleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteServiceLinkedRoleResponse) ToJsonString ¶
func (r *DeleteServiceLinkedRoleResponse) ToJsonString() string
type DeleteServiceLinkedRoleResponseParams ¶
type DeleteServiceLinkedRoleResponseParams struct {
// Deletion task identifier, which can be used to check the status of a service-linked role deletion.
DeletionTaskId *string `json:"DeletionTaskId,omitempty" name:"DeletionTaskId"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteUserPermissionsBoundaryRequest ¶
type DeleteUserPermissionsBoundaryRequest struct {
*tchttp.BaseRequest
// Sub-account `Uin`
TargetUin *int64 `json:"TargetUin,omitempty" name:"TargetUin"`
}
func NewDeleteUserPermissionsBoundaryRequest ¶
func NewDeleteUserPermissionsBoundaryRequest() (request *DeleteUserPermissionsBoundaryRequest)
func (*DeleteUserPermissionsBoundaryRequest) FromJsonString ¶
func (r *DeleteUserPermissionsBoundaryRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteUserPermissionsBoundaryRequest) ToJsonString ¶
func (r *DeleteUserPermissionsBoundaryRequest) ToJsonString() string
type DeleteUserPermissionsBoundaryRequestParams ¶
type DeleteUserPermissionsBoundaryRequestParams struct {
// Sub-account `Uin`
TargetUin *int64 `json:"TargetUin,omitempty" name:"TargetUin"`
}
Predefined struct for user
type DeleteUserPermissionsBoundaryResponse ¶
type DeleteUserPermissionsBoundaryResponse struct {
*tchttp.BaseResponse
Response *DeleteUserPermissionsBoundaryResponseParams `json:"Response"`
}
func NewDeleteUserPermissionsBoundaryResponse ¶
func NewDeleteUserPermissionsBoundaryResponse() (response *DeleteUserPermissionsBoundaryResponse)
func (*DeleteUserPermissionsBoundaryResponse) FromJsonString ¶
func (r *DeleteUserPermissionsBoundaryResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteUserPermissionsBoundaryResponse) ToJsonString ¶
func (r *DeleteUserPermissionsBoundaryResponse) ToJsonString() string
type DeleteUserPermissionsBoundaryResponseParams ¶
type DeleteUserPermissionsBoundaryResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteUserRequest ¶
type DeleteUserRequest struct {
*tchttp.BaseRequest
// Sub-user username
Name *string `json:"Name,omitempty" name:"Name"`
// Whether to forcibly delete the sub-user. The default input parameter is `0`. `0`: do not delete the user if the user has undeleted API keys; `1`: first delete the API keys then delete the user if the user has undeleted API keys. To delete API keys, you need to have cam:DeleteApiKey permission, which enables you to delete both enabled and disabled API keys. If you do not have this permission, you will not be able to delete API keys and the user.
Force *uint64 `json:"Force,omitempty" name:"Force"`
}
func NewDeleteUserRequest ¶
func NewDeleteUserRequest() (request *DeleteUserRequest)
func (*DeleteUserRequest) FromJsonString ¶
func (r *DeleteUserRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteUserRequest) ToJsonString ¶
func (r *DeleteUserRequest) ToJsonString() string
type DeleteUserRequestParams ¶
type DeleteUserRequestParams struct {
// Sub-user username
Name *string `json:"Name,omitempty" name:"Name"`
// Whether to forcibly delete the sub-user. The default input parameter is `0`. `0`: do not delete the user if the user has undeleted API keys; `1`: first delete the API keys then delete the user if the user has undeleted API keys. To delete API keys, you need to have cam:DeleteApiKey permission, which enables you to delete both enabled and disabled API keys. If you do not have this permission, you will not be able to delete API keys and the user.
Force *uint64 `json:"Force,omitempty" name:"Force"`
}
Predefined struct for user
type DeleteUserResponse ¶
type DeleteUserResponse struct {
*tchttp.BaseResponse
Response *DeleteUserResponseParams `json:"Response"`
}
func NewDeleteUserResponse ¶
func NewDeleteUserResponse() (response *DeleteUserResponse)
func (*DeleteUserResponse) FromJsonString ¶
func (r *DeleteUserResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteUserResponse) ToJsonString ¶
func (r *DeleteUserResponse) ToJsonString() string
type DeleteUserResponseParams ¶
type DeleteUserResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeOIDCConfigRequest ¶
type DescribeOIDCConfigRequest struct {
*tchttp.BaseRequest
// Name.
Name *string `json:"Name,omitempty" name:"Name"`
}
func NewDescribeOIDCConfigRequest ¶
func NewDescribeOIDCConfigRequest() (request *DescribeOIDCConfigRequest)
func (*DescribeOIDCConfigRequest) FromJsonString ¶
func (r *DescribeOIDCConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeOIDCConfigRequest) ToJsonString ¶
func (r *DescribeOIDCConfigRequest) ToJsonString() string
type DescribeOIDCConfigRequestParams ¶
type DescribeOIDCConfigRequestParams struct {
// Name.
Name *string `json:"Name,omitempty" name:"Name"`
}
Predefined struct for user
type DescribeOIDCConfigResponse ¶
type DescribeOIDCConfigResponse struct {
*tchttp.BaseResponse
Response *DescribeOIDCConfigResponseParams `json:"Response"`
}
func NewDescribeOIDCConfigResponse ¶
func NewDescribeOIDCConfigResponse() (response *DescribeOIDCConfigResponse)
func (*DescribeOIDCConfigResponse) FromJsonString ¶
func (r *DescribeOIDCConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeOIDCConfigResponse) ToJsonString ¶
func (r *DescribeOIDCConfigResponse) ToJsonString() string
type DescribeOIDCConfigResponseParams ¶
type DescribeOIDCConfigResponseParams struct {
// IdP type. 11: Role IdP.
ProviderType *uint64 `json:"ProviderType,omitempty" name:"ProviderType"`
// IdP URL.
IdentityUrl *string `json:"IdentityUrl,omitempty" name:"IdentityUrl"`
// Public key for signature.
IdentityKey *string `json:"IdentityKey,omitempty" name:"IdentityKey"`
// Client ID.
ClientId []*string `json:"ClientId,omitempty" name:"ClientId"`
// Status. 0: Not set; 2: Disabled; 11: Enabled.
Status *uint64 `json:"Status,omitempty" name:"Status"`
// Description.
Description *string `json:"Description,omitempty" name:"Description"`
// Name.
Name *string `json:"Name,omitempty" name:"Name"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeRoleListRequest ¶
type DescribeRoleListRequest struct {
*tchttp.BaseRequest
// Page number, beginning from 1
Page *uint64 `json:"Page,omitempty" name:"Page"`
// Number of lines per page, no greater than 200
Rp *uint64 `json:"Rp,omitempty" name:"Rp"`
// A parameter used to filter the list of roles under a tag.
Tags []*RoleTags `json:"Tags,omitempty" name:"Tags"`
}
func NewDescribeRoleListRequest ¶
func NewDescribeRoleListRequest() (request *DescribeRoleListRequest)
func (*DescribeRoleListRequest) FromJsonString ¶
func (r *DescribeRoleListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRoleListRequest) ToJsonString ¶
func (r *DescribeRoleListRequest) ToJsonString() string
type DescribeRoleListRequestParams ¶
type DescribeRoleListRequestParams struct {
// Page number, beginning from 1
Page *uint64 `json:"Page,omitempty" name:"Page"`
// Number of lines per page, no greater than 200
Rp *uint64 `json:"Rp,omitempty" name:"Rp"`
// A parameter used to filter the list of roles under a tag.
Tags []*RoleTags `json:"Tags,omitempty" name:"Tags"`
}
Predefined struct for user
type DescribeRoleListResponse ¶
type DescribeRoleListResponse struct {
*tchttp.BaseResponse
Response *DescribeRoleListResponseParams `json:"Response"`
}
func NewDescribeRoleListResponse ¶
func NewDescribeRoleListResponse() (response *DescribeRoleListResponse)
func (*DescribeRoleListResponse) FromJsonString ¶
func (r *DescribeRoleListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRoleListResponse) ToJsonString ¶
func (r *DescribeRoleListResponse) ToJsonString() string
type DescribeRoleListResponseParams ¶
type DescribeRoleListResponseParams struct {
// Role details list
// Note: This field may return null, indicating that no valid value was found.
List []*RoleInfo `json:"List,omitempty" name:"List"`
// Total number of roles
TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeSafeAuthFlagCollRequest ¶
type DescribeSafeAuthFlagCollRequest struct {
*tchttp.BaseRequest
// Sub-account
SubUin *uint64 `json:"SubUin,omitempty" name:"SubUin"`
}
func NewDescribeSafeAuthFlagCollRequest ¶
func NewDescribeSafeAuthFlagCollRequest() (request *DescribeSafeAuthFlagCollRequest)
func (*DescribeSafeAuthFlagCollRequest) FromJsonString ¶
func (r *DescribeSafeAuthFlagCollRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSafeAuthFlagCollRequest) ToJsonString ¶
func (r *DescribeSafeAuthFlagCollRequest) ToJsonString() string
type DescribeSafeAuthFlagCollRequestParams ¶
type DescribeSafeAuthFlagCollRequestParams struct {
// Sub-account
SubUin *uint64 `json:"SubUin,omitempty" name:"SubUin"`
}
Predefined struct for user
type DescribeSafeAuthFlagCollResponse ¶
type DescribeSafeAuthFlagCollResponse struct {
*tchttp.BaseResponse
Response *DescribeSafeAuthFlagCollResponseParams `json:"Response"`
}
func NewDescribeSafeAuthFlagCollResponse ¶
func NewDescribeSafeAuthFlagCollResponse() (response *DescribeSafeAuthFlagCollResponse)
func (*DescribeSafeAuthFlagCollResponse) FromJsonString ¶
func (r *DescribeSafeAuthFlagCollResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSafeAuthFlagCollResponse) ToJsonString ¶
func (r *DescribeSafeAuthFlagCollResponse) ToJsonString() string
type DescribeSafeAuthFlagCollResponseParams ¶
type DescribeSafeAuthFlagCollResponseParams struct {
// Login protection settings
LoginFlag *LoginActionFlag `json:"LoginFlag,omitempty" name:"LoginFlag"`
// Sensitive operation protection settings
ActionFlag *LoginActionFlag `json:"ActionFlag,omitempty" name:"ActionFlag"`
// Suspicious login location protection settings
OffsiteFlag *OffsiteFlag `json:"OffsiteFlag,omitempty" name:"OffsiteFlag"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeSafeAuthFlagIntlRequest ¶
type DescribeSafeAuthFlagIntlRequest struct {
*tchttp.BaseRequest
}
func NewDescribeSafeAuthFlagIntlRequest ¶
func NewDescribeSafeAuthFlagIntlRequest() (request *DescribeSafeAuthFlagIntlRequest)
func (*DescribeSafeAuthFlagIntlRequest) FromJsonString ¶
func (r *DescribeSafeAuthFlagIntlRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSafeAuthFlagIntlRequest) ToJsonString ¶
func (r *DescribeSafeAuthFlagIntlRequest) ToJsonString() string
type DescribeSafeAuthFlagIntlRequestParams ¶
type DescribeSafeAuthFlagIntlRequestParams struct {
}
Predefined struct for user
type DescribeSafeAuthFlagIntlResponse ¶
type DescribeSafeAuthFlagIntlResponse struct {
*tchttp.BaseResponse
Response *DescribeSafeAuthFlagIntlResponseParams `json:"Response"`
}
func NewDescribeSafeAuthFlagIntlResponse ¶
func NewDescribeSafeAuthFlagIntlResponse() (response *DescribeSafeAuthFlagIntlResponse)
func (*DescribeSafeAuthFlagIntlResponse) FromJsonString ¶
func (r *DescribeSafeAuthFlagIntlResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSafeAuthFlagIntlResponse) ToJsonString ¶
func (r *DescribeSafeAuthFlagIntlResponse) ToJsonString() string
type DescribeSafeAuthFlagIntlResponseParams ¶
type DescribeSafeAuthFlagIntlResponseParams struct {
// Login protection settings
LoginFlag *LoginActionFlagIntl `json:"LoginFlag,omitempty" name:"LoginFlag"`
// Sensitive operation protection settings
ActionFlag *LoginActionFlagIntl `json:"ActionFlag,omitempty" name:"ActionFlag"`
// Suspicious login location protection settings
OffsiteFlag *OffsiteFlag `json:"OffsiteFlag,omitempty" name:"OffsiteFlag"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeSubAccountsRequest ¶
type DescribeSubAccountsRequest struct {
*tchttp.BaseRequest
// List of sub-user UINs. Up to 50 UINs are supported.
FilterSubAccountUin []*uint64 `json:"FilterSubAccountUin,omitempty" name:"FilterSubAccountUin"`
}
func NewDescribeSubAccountsRequest ¶
func NewDescribeSubAccountsRequest() (request *DescribeSubAccountsRequest)
func (*DescribeSubAccountsRequest) FromJsonString ¶
func (r *DescribeSubAccountsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSubAccountsRequest) ToJsonString ¶
func (r *DescribeSubAccountsRequest) ToJsonString() string
type DescribeSubAccountsRequestParams ¶
type DescribeSubAccountsRequestParams struct {
// List of sub-user UINs. Up to 50 UINs are supported.
FilterSubAccountUin []*uint64 `json:"FilterSubAccountUin,omitempty" name:"FilterSubAccountUin"`
}
Predefined struct for user
type DescribeSubAccountsResponse ¶
type DescribeSubAccountsResponse struct {
*tchttp.BaseResponse
Response *DescribeSubAccountsResponseParams `json:"Response"`
}
func NewDescribeSubAccountsResponse ¶
func NewDescribeSubAccountsResponse() (response *DescribeSubAccountsResponse)
func (*DescribeSubAccountsResponse) FromJsonString ¶
func (r *DescribeSubAccountsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSubAccountsResponse) ToJsonString ¶
func (r *DescribeSubAccountsResponse) ToJsonString() string
type DescribeSubAccountsResponseParams ¶
type DescribeSubAccountsResponseParams struct {
// Sub-user list
SubAccounts []*SubAccountUser `json:"SubAccounts,omitempty" name:"SubAccounts"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeUserOIDCConfigRequest ¶
type DescribeUserOIDCConfigRequest struct {
*tchttp.BaseRequest
}
func NewDescribeUserOIDCConfigRequest ¶
func NewDescribeUserOIDCConfigRequest() (request *DescribeUserOIDCConfigRequest)
func (*DescribeUserOIDCConfigRequest) FromJsonString ¶
func (r *DescribeUserOIDCConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUserOIDCConfigRequest) ToJsonString ¶
func (r *DescribeUserOIDCConfigRequest) ToJsonString() string
type DescribeUserOIDCConfigRequestParams ¶
type DescribeUserOIDCConfigRequestParams struct {
}
Predefined struct for user
type DescribeUserOIDCConfigResponse ¶
type DescribeUserOIDCConfigResponse struct {
*tchttp.BaseResponse
Response *DescribeUserOIDCConfigResponseParams `json:"Response"`
}
func NewDescribeUserOIDCConfigResponse ¶
func NewDescribeUserOIDCConfigResponse() (response *DescribeUserOIDCConfigResponse)
func (*DescribeUserOIDCConfigResponse) FromJsonString ¶
func (r *DescribeUserOIDCConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUserOIDCConfigResponse) ToJsonString ¶
func (r *DescribeUserOIDCConfigResponse) ToJsonString() string
type DescribeUserOIDCConfigResponseParams ¶
type DescribeUserOIDCConfigResponseParams struct {
// IdP type. 12: user OIDC IdP
ProviderType *uint64 `json:"ProviderType,omitempty" name:"ProviderType"`
// IdP URL
IdentityUrl *string `json:"IdentityUrl,omitempty" name:"IdentityUrl"`
// Signature public key
IdentityKey *string `json:"IdentityKey,omitempty" name:"IdentityKey"`
// Client ID
ClientId *string `json:"ClientId,omitempty" name:"ClientId"`
// Status. 0: not set; 2: disabled; 11: enabled.
Status *uint64 `json:"Status,omitempty" name:"Status"`
// Authorization endpoint
AuthorizationEndpoint *string `json:"AuthorizationEndpoint,omitempty" name:"AuthorizationEndpoint"`
// Authorization scope
Scope []*string `json:"Scope,omitempty" name:"Scope"`
// Authorization response type
ResponseType *string `json:"ResponseType,omitempty" name:"ResponseType"`
// Authorization response mode
ResponseMode *string `json:"ResponseMode,omitempty" name:"ResponseMode"`
// Mapping field name
MappingFiled *string `json:"MappingFiled,omitempty" name:"MappingFiled"`
// Description
Description *string `json:"Description,omitempty" name:"Description"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeUserSAMLConfigRequest ¶
type DescribeUserSAMLConfigRequest struct {
*tchttp.BaseRequest
}
func NewDescribeUserSAMLConfigRequest ¶
func NewDescribeUserSAMLConfigRequest() (request *DescribeUserSAMLConfigRequest)
func (*DescribeUserSAMLConfigRequest) FromJsonString ¶
func (r *DescribeUserSAMLConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUserSAMLConfigRequest) ToJsonString ¶
func (r *DescribeUserSAMLConfigRequest) ToJsonString() string
type DescribeUserSAMLConfigRequestParams ¶
type DescribeUserSAMLConfigRequestParams struct {
}
Predefined struct for user
type DescribeUserSAMLConfigResponse ¶
type DescribeUserSAMLConfigResponse struct {
*tchttp.BaseResponse
Response *DescribeUserSAMLConfigResponseParams `json:"Response"`
}
func NewDescribeUserSAMLConfigResponse ¶
func NewDescribeUserSAMLConfigResponse() (response *DescribeUserSAMLConfigResponse)
func (*DescribeUserSAMLConfigResponse) FromJsonString ¶
func (r *DescribeUserSAMLConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUserSAMLConfigResponse) ToJsonString ¶
func (r *DescribeUserSAMLConfigResponse) ToJsonString() string
type DescribeUserSAMLConfigResponseParams ¶
type DescribeUserSAMLConfigResponseParams struct {
// SAML metadata document.
SAMLMetadata *string `json:"SAMLMetadata,omitempty" name:"SAMLMetadata"`
// Status. `0`: not set, `1`: enabled, `2`: disabled.
Status *uint64 `json:"Status,omitempty" name:"Status"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DetachGroupPolicyRequest ¶
type DetachGroupPolicyRequest struct {
*tchttp.BaseRequest
// Policy ID
PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
// User Group ID
DetachGroupId *uint64 `json:"DetachGroupId,omitempty" name:"DetachGroupId"`
}
func NewDetachGroupPolicyRequest ¶
func NewDetachGroupPolicyRequest() (request *DetachGroupPolicyRequest)
func (*DetachGroupPolicyRequest) FromJsonString ¶
func (r *DetachGroupPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DetachGroupPolicyRequest) ToJsonString ¶
func (r *DetachGroupPolicyRequest) ToJsonString() string
type DetachGroupPolicyRequestParams ¶
type DetachGroupPolicyRequestParams struct {
// Policy ID
PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
// User Group ID
DetachGroupId *uint64 `json:"DetachGroupId,omitempty" name:"DetachGroupId"`
}
Predefined struct for user
type DetachGroupPolicyResponse ¶
type DetachGroupPolicyResponse struct {
*tchttp.BaseResponse
Response *DetachGroupPolicyResponseParams `json:"Response"`
}
func NewDetachGroupPolicyResponse ¶
func NewDetachGroupPolicyResponse() (response *DetachGroupPolicyResponse)
func (*DetachGroupPolicyResponse) FromJsonString ¶
func (r *DetachGroupPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DetachGroupPolicyResponse) ToJsonString ¶
func (r *DetachGroupPolicyResponse) ToJsonString() string
type DetachGroupPolicyResponseParams ¶
type DetachGroupPolicyResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DetachRolePolicyRequest ¶
type DetachRolePolicyRequest struct {
*tchttp.BaseRequest
// Policy ID. Either `PolicyId` or `PolicyName` must be entered
PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
// Role ID, used to specify a role. Input either `AttachRoleId` or `AttachRoleName`
DetachRoleId *string `json:"DetachRoleId,omitempty" name:"DetachRoleId"`
// Role name, used to specify a role. Input either `AttachRoleId` or `AttachRoleName`
DetachRoleName *string `json:"DetachRoleName,omitempty" name:"DetachRoleName"`
// Policy name. Either `PolicyId` or `PolicyName` must be entered
PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"`
}
func NewDetachRolePolicyRequest ¶
func NewDetachRolePolicyRequest() (request *DetachRolePolicyRequest)
func (*DetachRolePolicyRequest) FromJsonString ¶
func (r *DetachRolePolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DetachRolePolicyRequest) ToJsonString ¶
func (r *DetachRolePolicyRequest) ToJsonString() string
type DetachRolePolicyRequestParams ¶
type DetachRolePolicyRequestParams struct {
// Policy ID. Either `PolicyId` or `PolicyName` must be entered
PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
// Role ID, used to specify a role. Input either `AttachRoleId` or `AttachRoleName`
DetachRoleId *string `json:"DetachRoleId,omitempty" name:"DetachRoleId"`
// Role name, used to specify a role. Input either `AttachRoleId` or `AttachRoleName`
DetachRoleName *string `json:"DetachRoleName,omitempty" name:"DetachRoleName"`
// Policy name. Either `PolicyId` or `PolicyName` must be entered
PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"`
}
Predefined struct for user
type DetachRolePolicyResponse ¶
type DetachRolePolicyResponse struct {
*tchttp.BaseResponse
Response *DetachRolePolicyResponseParams `json:"Response"`
}
func NewDetachRolePolicyResponse ¶
func NewDetachRolePolicyResponse() (response *DetachRolePolicyResponse)
func (*DetachRolePolicyResponse) FromJsonString ¶
func (r *DetachRolePolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DetachRolePolicyResponse) ToJsonString ¶
func (r *DetachRolePolicyResponse) ToJsonString() string
type DetachRolePolicyResponseParams ¶
type DetachRolePolicyResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DetachUserPolicyRequest ¶
type DetachUserPolicyRequest struct {
*tchttp.BaseRequest
// Policy ID
PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
// Sub-account UIN
DetachUin *uint64 `json:"DetachUin,omitempty" name:"DetachUin"`
}
func NewDetachUserPolicyRequest ¶
func NewDetachUserPolicyRequest() (request *DetachUserPolicyRequest)
func (*DetachUserPolicyRequest) FromJsonString ¶
func (r *DetachUserPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DetachUserPolicyRequest) ToJsonString ¶
func (r *DetachUserPolicyRequest) ToJsonString() string
type DetachUserPolicyRequestParams ¶
type DetachUserPolicyRequestParams struct {
// Policy ID
PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
// Sub-account UIN
DetachUin *uint64 `json:"DetachUin,omitempty" name:"DetachUin"`
}
Predefined struct for user
type DetachUserPolicyResponse ¶
type DetachUserPolicyResponse struct {
*tchttp.BaseResponse
Response *DetachUserPolicyResponseParams `json:"Response"`
}
func NewDetachUserPolicyResponse ¶
func NewDetachUserPolicyResponse() (response *DetachUserPolicyResponse)
func (*DetachUserPolicyResponse) FromJsonString ¶
func (r *DetachUserPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DetachUserPolicyResponse) ToJsonString ¶
func (r *DetachUserPolicyResponse) ToJsonString() string
type DetachUserPolicyResponseParams ¶
type DetachUserPolicyResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DisableUserSSORequest ¶
type DisableUserSSORequest struct {
*tchttp.BaseRequest
}
func NewDisableUserSSORequest ¶
func NewDisableUserSSORequest() (request *DisableUserSSORequest)
func (*DisableUserSSORequest) FromJsonString ¶
func (r *DisableUserSSORequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisableUserSSORequest) ToJsonString ¶
func (r *DisableUserSSORequest) ToJsonString() string
type DisableUserSSORequestParams ¶
type DisableUserSSORequestParams struct {
}
Predefined struct for user
type DisableUserSSOResponse ¶
type DisableUserSSOResponse struct {
*tchttp.BaseResponse
Response *DisableUserSSOResponseParams `json:"Response"`
}
func NewDisableUserSSOResponse ¶
func NewDisableUserSSOResponse() (response *DisableUserSSOResponse)
func (*DisableUserSSOResponse) FromJsonString ¶
func (r *DisableUserSSOResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisableUserSSOResponse) ToJsonString ¶
func (r *DisableUserSSOResponse) ToJsonString() string
type DisableUserSSOResponseParams ¶
type DisableUserSSOResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type GetAccountSummaryRequest ¶
type GetAccountSummaryRequest struct {
*tchttp.BaseRequest
}
func NewGetAccountSummaryRequest ¶
func NewGetAccountSummaryRequest() (request *GetAccountSummaryRequest)
func (*GetAccountSummaryRequest) FromJsonString ¶
func (r *GetAccountSummaryRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetAccountSummaryRequest) ToJsonString ¶
func (r *GetAccountSummaryRequest) ToJsonString() string
type GetAccountSummaryRequestParams ¶
type GetAccountSummaryRequestParams struct {
}
Predefined struct for user
type GetAccountSummaryResponse ¶
type GetAccountSummaryResponse struct {
*tchttp.BaseResponse
Response *GetAccountSummaryResponseParams `json:"Response"`
}
func NewGetAccountSummaryResponse ¶
func NewGetAccountSummaryResponse() (response *GetAccountSummaryResponse)
func (*GetAccountSummaryResponse) FromJsonString ¶
func (r *GetAccountSummaryResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetAccountSummaryResponse) ToJsonString ¶
func (r *GetAccountSummaryResponse) ToJsonString() string
type GetAccountSummaryResponseParams ¶
type GetAccountSummaryResponseParams struct {
// Number of policies
Policies *uint64 `json:"Policies,omitempty" name:"Policies"`
// Number of roles
Roles *uint64 `json:"Roles,omitempty" name:"Roles"`
// Number of identity providers
Idps *uint64 `json:"Idps,omitempty" name:"Idps"`
// Number of sub-accounts
User *uint64 `json:"User,omitempty" name:"User"`
// Number of groups
Group *uint64 `json:"Group,omitempty" name:"Group"`
// Total number of grouped users
Member *uint64 `json:"Member,omitempty" name:"Member"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type GetCustomMFATokenInfoRequest ¶
type GetCustomMFATokenInfoRequest struct {
*tchttp.BaseRequest
// Custom multi-factor verification Token
MFAToken *string `json:"MFAToken,omitempty" name:"MFAToken"`
}
func NewGetCustomMFATokenInfoRequest ¶
func NewGetCustomMFATokenInfoRequest() (request *GetCustomMFATokenInfoRequest)
func (*GetCustomMFATokenInfoRequest) FromJsonString ¶
func (r *GetCustomMFATokenInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetCustomMFATokenInfoRequest) ToJsonString ¶
func (r *GetCustomMFATokenInfoRequest) ToJsonString() string
type GetCustomMFATokenInfoRequestParams ¶
type GetCustomMFATokenInfoRequestParams struct {
// Custom multi-factor verification Token
MFAToken *string `json:"MFAToken,omitempty" name:"MFAToken"`
}
Predefined struct for user
type GetCustomMFATokenInfoResponse ¶
type GetCustomMFATokenInfoResponse struct {
*tchttp.BaseResponse
Response *GetCustomMFATokenInfoResponseParams `json:"Response"`
}
func NewGetCustomMFATokenInfoResponse ¶
func NewGetCustomMFATokenInfoResponse() (response *GetCustomMFATokenInfoResponse)
func (*GetCustomMFATokenInfoResponse) FromJsonString ¶
func (r *GetCustomMFATokenInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetCustomMFATokenInfoResponse) ToJsonString ¶
func (r *GetCustomMFATokenInfoResponse) ToJsonString() string
type GetCustomMFATokenInfoResponseParams ¶
type GetCustomMFATokenInfoResponseParams struct {
// Account ID corresponding to the custom multi-factor verification Token
Uin *uint64 `json:"Uin,omitempty" name:"Uin"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type GetGroupRequest ¶
type GetGroupRequest struct {
*tchttp.BaseRequest
// User Group ID
GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"`
}
func NewGetGroupRequest ¶
func NewGetGroupRequest() (request *GetGroupRequest)
func (*GetGroupRequest) FromJsonString ¶
func (r *GetGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetGroupRequest) ToJsonString ¶
func (r *GetGroupRequest) ToJsonString() string
type GetGroupRequestParams ¶
type GetGroupRequestParams struct {
// User Group ID
GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"`
}
Predefined struct for user
type GetGroupResponse ¶
type GetGroupResponse struct {
*tchttp.BaseResponse
Response *GetGroupResponseParams `json:"Response"`
}
func NewGetGroupResponse ¶
func NewGetGroupResponse() (response *GetGroupResponse)
func (*GetGroupResponse) FromJsonString ¶
func (r *GetGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetGroupResponse) ToJsonString ¶
func (r *GetGroupResponse) ToJsonString() string
type GetGroupResponseParams ¶
type GetGroupResponseParams struct {
// User Group ID
GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"`
// User Group name
GroupName *string `json:"GroupName,omitempty" name:"GroupName"`
// Number of members in the User Group
GroupNum *uint64 `json:"GroupNum,omitempty" name:"GroupNum"`
// User Group description
Remark *string `json:"Remark,omitempty" name:"Remark"`
// Time User Group created
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
// User Group member information
UserInfo []*GroupMemberInfo `json:"UserInfo,omitempty" name:"UserInfo"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type GetPolicyRequest ¶
type GetPolicyRequest struct {
*tchttp.BaseRequest
// Policy ID
PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
}
func NewGetPolicyRequest ¶
func NewGetPolicyRequest() (request *GetPolicyRequest)
func (*GetPolicyRequest) FromJsonString ¶
func (r *GetPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetPolicyRequest) ToJsonString ¶
func (r *GetPolicyRequest) ToJsonString() string
type GetPolicyRequestParams ¶
type GetPolicyRequestParams struct {
// Policy ID
PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
}
Predefined struct for user
type GetPolicyResponse ¶
type GetPolicyResponse struct {
*tchttp.BaseResponse
Response *GetPolicyResponseParams `json:"Response"`
}
func NewGetPolicyResponse ¶
func NewGetPolicyResponse() (response *GetPolicyResponse)
func (*GetPolicyResponse) FromJsonString ¶
func (r *GetPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetPolicyResponse) ToJsonString ¶
func (r *GetPolicyResponse) ToJsonString() string
type GetPolicyResponseParams ¶
type GetPolicyResponseParams struct {
// Policy name
// Note: This field may return null, indicating that no valid value was found.
PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"`
// Policy description
// Note: This field may return null, indicating that no valid value was found.
Description *string `json:"Description,omitempty" name:"Description"`
// 1: Custom policy; 2: Preset policy
// Note: This field may return null, indicating that no valid value was found.
Type *uint64 `json:"Type,omitempty" name:"Type"`
// Time created
// Note: This field may return null, indicating that no valid value was found.
AddTime *string `json:"AddTime,omitempty" name:"AddTime"`
// Time of latest update
// Note: This field may return null, indicating that no valid value was found.
UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
// Policy document
// Note: This field may return null, indicating that no valid value was found.
PolicyDocument *string `json:"PolicyDocument,omitempty" name:"PolicyDocument"`
// Remarks
// Note: this field may return null, indicating that no valid values can be obtained.
PresetAlias *string `json:"PresetAlias,omitempty" name:"PresetAlias"`
// Whether it is a service-linked policy
// Note: this field may return null, indicating that no valid values can be obtained.
IsServiceLinkedRolePolicy *uint64 `json:"IsServiceLinkedRolePolicy,omitempty" name:"IsServiceLinkedRolePolicy"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type GetPolicyVersionRequest ¶
type GetPolicyVersionRequest struct {
*tchttp.BaseRequest
// Policy ID
PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
// Policy version, which can be obtained through `ListPolicyVersions`.
VersionId *uint64 `json:"VersionId,omitempty" name:"VersionId"`
}
func NewGetPolicyVersionRequest ¶
func NewGetPolicyVersionRequest() (request *GetPolicyVersionRequest)
func (*GetPolicyVersionRequest) FromJsonString ¶
func (r *GetPolicyVersionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetPolicyVersionRequest) ToJsonString ¶
func (r *GetPolicyVersionRequest) ToJsonString() string
type GetPolicyVersionRequestParams ¶
type GetPolicyVersionRequestParams struct {
// Policy ID
PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
// Policy version, which can be obtained through `ListPolicyVersions`.
VersionId *uint64 `json:"VersionId,omitempty" name:"VersionId"`
}
Predefined struct for user
type GetPolicyVersionResponse ¶
type GetPolicyVersionResponse struct {
*tchttp.BaseResponse
Response *GetPolicyVersionResponseParams `json:"Response"`
}
func NewGetPolicyVersionResponse ¶
func NewGetPolicyVersionResponse() (response *GetPolicyVersionResponse)
func (*GetPolicyVersionResponse) FromJsonString ¶
func (r *GetPolicyVersionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetPolicyVersionResponse) ToJsonString ¶
func (r *GetPolicyVersionResponse) ToJsonString() string
type GetPolicyVersionResponseParams ¶
type GetPolicyVersionResponseParams struct {
// Policy version details
// Note: this field may return null, indicating that no valid values can be obtained.
PolicyVersion *PolicyVersionDetail `json:"PolicyVersion,omitempty" name:"PolicyVersion"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type GetRoleRequest ¶
type GetRoleRequest struct {
*tchttp.BaseRequest
// Role ID, used to specify role. Input either `RoleId` or `RoleName`
RoleId *string `json:"RoleId,omitempty" name:"RoleId"`
// Role name, used to specify role. Input either `RoleId` or `RoleName`
RoleName *string `json:"RoleName,omitempty" name:"RoleName"`
}
func NewGetRoleRequest ¶
func NewGetRoleRequest() (request *GetRoleRequest)
func (*GetRoleRequest) FromJsonString ¶
func (r *GetRoleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetRoleRequest) ToJsonString ¶
func (r *GetRoleRequest) ToJsonString() string
type GetRoleRequestParams ¶
type GetRoleRequestParams struct {
// Role ID, used to specify role. Input either `RoleId` or `RoleName`
RoleId *string `json:"RoleId,omitempty" name:"RoleId"`
// Role name, used to specify role. Input either `RoleId` or `RoleName`
RoleName *string `json:"RoleName,omitempty" name:"RoleName"`
}
Predefined struct for user
type GetRoleResponse ¶
type GetRoleResponse struct {
*tchttp.BaseResponse
Response *GetRoleResponseParams `json:"Response"`
}
func NewGetRoleResponse ¶
func NewGetRoleResponse() (response *GetRoleResponse)
func (*GetRoleResponse) FromJsonString ¶
func (r *GetRoleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetRoleResponse) ToJsonString ¶
func (r *GetRoleResponse) ToJsonString() string
type GetRoleResponseParams ¶
type GetRoleResponseParams struct {
// Role details
RoleInfo *RoleInfo `json:"RoleInfo,omitempty" name:"RoleInfo"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type GetSAMLProviderRequest ¶
type GetSAMLProviderRequest struct {
*tchttp.BaseRequest
// SAML identity provider name
Name *string `json:"Name,omitempty" name:"Name"`
}
func NewGetSAMLProviderRequest ¶
func NewGetSAMLProviderRequest() (request *GetSAMLProviderRequest)
func (*GetSAMLProviderRequest) FromJsonString ¶
func (r *GetSAMLProviderRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetSAMLProviderRequest) ToJsonString ¶
func (r *GetSAMLProviderRequest) ToJsonString() string
type GetSAMLProviderRequestParams ¶
type GetSAMLProviderRequestParams struct {
// SAML identity provider name
Name *string `json:"Name,omitempty" name:"Name"`
}
Predefined struct for user
type GetSAMLProviderResponse ¶
type GetSAMLProviderResponse struct {
*tchttp.BaseResponse
Response *GetSAMLProviderResponseParams `json:"Response"`
}
func NewGetSAMLProviderResponse ¶
func NewGetSAMLProviderResponse() (response *GetSAMLProviderResponse)
func (*GetSAMLProviderResponse) FromJsonString ¶
func (r *GetSAMLProviderResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetSAMLProviderResponse) ToJsonString ¶
func (r *GetSAMLProviderResponse) ToJsonString() string
type GetSAMLProviderResponseParams ¶
type GetSAMLProviderResponseParams struct {
// SAML identity provider name
Name *string `json:"Name,omitempty" name:"Name"`
// SAML identity provider description
Description *string `json:"Description,omitempty" name:"Description"`
// Time SAML identity provider created
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
// Time SAML identity provider last modified
ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"`
// SAML identity provider metadata document
SAMLMetadata *string `json:"SAMLMetadata,omitempty" name:"SAMLMetadata"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type GetSecurityLastUsedRequest ¶
type GetSecurityLastUsedRequest struct {
*tchttp.BaseRequest
// Key ID list query. Up to 10 key IDs can be queried.
SecretIdList []*string `json:"SecretIdList,omitempty" name:"SecretIdList"`
}
func NewGetSecurityLastUsedRequest ¶
func NewGetSecurityLastUsedRequest() (request *GetSecurityLastUsedRequest)
func (*GetSecurityLastUsedRequest) FromJsonString ¶
func (r *GetSecurityLastUsedRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetSecurityLastUsedRequest) ToJsonString ¶
func (r *GetSecurityLastUsedRequest) ToJsonString() string
type GetSecurityLastUsedRequestParams ¶
type GetSecurityLastUsedRequestParams struct {
// Key ID list query. Up to 10 key IDs can be queried.
SecretIdList []*string `json:"SecretIdList,omitempty" name:"SecretIdList"`
}
Predefined struct for user
type GetSecurityLastUsedResponse ¶
type GetSecurityLastUsedResponse struct {
*tchttp.BaseResponse
Response *GetSecurityLastUsedResponseParams `json:"Response"`
}
func NewGetSecurityLastUsedResponse ¶
func NewGetSecurityLastUsedResponse() (response *GetSecurityLastUsedResponse)
func (*GetSecurityLastUsedResponse) FromJsonString ¶
func (r *GetSecurityLastUsedResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetSecurityLastUsedResponse) ToJsonString ¶
func (r *GetSecurityLastUsedResponse) ToJsonString() string
type GetSecurityLastUsedResponseParams ¶
type GetSecurityLastUsedResponseParams struct {
// List of key ID’s recent usage records.
SecretIdLastUsedRows []*SecretIdLastUsed `json:"SecretIdLastUsedRows,omitempty" name:"SecretIdLastUsedRows"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type GetServiceLinkedRoleDeletionStatusRequest ¶
type GetServiceLinkedRoleDeletionStatusRequest struct {
*tchttp.BaseRequest
// Deletion task ID
DeletionTaskId *string `json:"DeletionTaskId,omitempty" name:"DeletionTaskId"`
}
func NewGetServiceLinkedRoleDeletionStatusRequest ¶
func NewGetServiceLinkedRoleDeletionStatusRequest() (request *GetServiceLinkedRoleDeletionStatusRequest)
func (*GetServiceLinkedRoleDeletionStatusRequest) FromJsonString ¶
func (r *GetServiceLinkedRoleDeletionStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetServiceLinkedRoleDeletionStatusRequest) ToJsonString ¶
func (r *GetServiceLinkedRoleDeletionStatusRequest) ToJsonString() string
type GetServiceLinkedRoleDeletionStatusRequestParams ¶
type GetServiceLinkedRoleDeletionStatusRequestParams struct {
// Deletion task ID
DeletionTaskId *string `json:"DeletionTaskId,omitempty" name:"DeletionTaskId"`
}
Predefined struct for user
type GetServiceLinkedRoleDeletionStatusResponse ¶
type GetServiceLinkedRoleDeletionStatusResponse struct {
*tchttp.BaseResponse
Response *GetServiceLinkedRoleDeletionStatusResponseParams `json:"Response"`
}
func NewGetServiceLinkedRoleDeletionStatusResponse ¶
func NewGetServiceLinkedRoleDeletionStatusResponse() (response *GetServiceLinkedRoleDeletionStatusResponse)
func (*GetServiceLinkedRoleDeletionStatusResponse) FromJsonString ¶
func (r *GetServiceLinkedRoleDeletionStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetServiceLinkedRoleDeletionStatusResponse) ToJsonString ¶
func (r *GetServiceLinkedRoleDeletionStatusResponse) ToJsonString() string
type GetServiceLinkedRoleDeletionStatusResponseParams ¶
type GetServiceLinkedRoleDeletionStatusResponseParams struct {
// Status: NOT_STARTED, IN_PROGRESS, SUCCEEDED, FAILED
Status *string `json:"Status,omitempty" name:"Status"`
// Reasons why the deletion failed.
Reason *string `json:"Reason,omitempty" name:"Reason"`
// Service type
// Note: this field may return null, indicating that no valid values can be obtained.
ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"`
// Service name
// Note: this field may return null, indicating that no valid values can be obtained.
ServiceName *string `json:"ServiceName,omitempty" name:"ServiceName"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type GetUserAppIdRequest ¶
type GetUserAppIdRequest struct {
*tchttp.BaseRequest
}
func NewGetUserAppIdRequest ¶
func NewGetUserAppIdRequest() (request *GetUserAppIdRequest)
func (*GetUserAppIdRequest) FromJsonString ¶
func (r *GetUserAppIdRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetUserAppIdRequest) ToJsonString ¶
func (r *GetUserAppIdRequest) ToJsonString() string
type GetUserAppIdRequestParams ¶
type GetUserAppIdRequestParams struct {
}
Predefined struct for user
type GetUserAppIdResponse ¶
type GetUserAppIdResponse struct {
*tchttp.BaseResponse
Response *GetUserAppIdResponseParams `json:"Response"`
}
func NewGetUserAppIdResponse ¶
func NewGetUserAppIdResponse() (response *GetUserAppIdResponse)
func (*GetUserAppIdResponse) FromJsonString ¶
func (r *GetUserAppIdResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetUserAppIdResponse) ToJsonString ¶
func (r *GetUserAppIdResponse) ToJsonString() string
type GetUserAppIdResponseParams ¶
type GetUserAppIdResponseParams struct {
// UIN of the current account.
Uin *string `json:"Uin,omitempty" name:"Uin"`
// OwnerUin of the current account.
OwnerUin *string `json:"OwnerUin,omitempty" name:"OwnerUin"`
// AppId of the current account.
AppId *uint64 `json:"AppId,omitempty" name:"AppId"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type GetUserRequest ¶
type GetUserRequest struct {
*tchttp.BaseRequest
// Sub-user username
Name *string `json:"Name,omitempty" name:"Name"`
}
func NewGetUserRequest ¶
func NewGetUserRequest() (request *GetUserRequest)
func (*GetUserRequest) FromJsonString ¶
func (r *GetUserRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetUserRequest) ToJsonString ¶
func (r *GetUserRequest) ToJsonString() string
type GetUserRequestParams ¶
type GetUserRequestParams struct {
// Sub-user username
Name *string `json:"Name,omitempty" name:"Name"`
}
Predefined struct for user
type GetUserResponse ¶
type GetUserResponse struct {
*tchttp.BaseResponse
Response *GetUserResponseParams `json:"Response"`
}
func NewGetUserResponse ¶
func NewGetUserResponse() (response *GetUserResponse)
func (*GetUserResponse) FromJsonString ¶
func (r *GetUserResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetUserResponse) ToJsonString ¶
func (r *GetUserResponse) ToJsonString() string
type GetUserResponseParams ¶
type GetUserResponseParams struct {
// Sub-user UIN
Uin *uint64 `json:"Uin,omitempty" name:"Uin"`
// Sub-user username
Name *string `json:"Name,omitempty" name:"Name"`
// Sub-user UID
Uid *uint64 `json:"Uid,omitempty" name:"Uid"`
// Sub-user remarks
// Note: This field may return `null`, indicating that no valid values can be obtained.
Remark *string `json:"Remark,omitempty" name:"Remark"`
// Whether the sub-user can log in to the console. `0`: No; `1`: Yes.
ConsoleLogin *uint64 `json:"ConsoleLogin,omitempty" name:"ConsoleLogin"`
// Mobile number
PhoneNum *string `json:"PhoneNum,omitempty" name:"PhoneNum"`
// Country/Area code
CountryCode *string `json:"CountryCode,omitempty" name:"CountryCode"`
// Email
Email *string `json:"Email,omitempty" name:"Email"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type GroupIdOfUidInfo ¶
type GroupInfo ¶
type GroupInfo struct {
// User group ID
GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"`
// User Group name
GroupName *string `json:"GroupName,omitempty" name:"GroupName"`
// Time User Group created
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
// User Group description
Remark *string `json:"Remark,omitempty" name:"Remark"`
}
type GroupMemberInfo ¶
type GroupMemberInfo struct {
// Sub-user UID
Uid *uint64 `json:"Uid,omitempty" name:"Uid"`
// Sub-user UIN
Uin *uint64 `json:"Uin,omitempty" name:"Uin"`
// Sub-user name
Name *string `json:"Name,omitempty" name:"Name"`
// Mobile number
PhoneNum *string `json:"PhoneNum,omitempty" name:"PhoneNum"`
// Mobile number country/area code
CountryCode *string `json:"CountryCode,omitempty" name:"CountryCode"`
// Whether the mobile phone has been verified. `0`: No; `1`: Yes.
PhoneFlag *uint64 `json:"PhoneFlag,omitempty" name:"PhoneFlag"`
// Email address
Email *string `json:"Email,omitempty" name:"Email"`
// Whether the email has been verified. `0`: No; `1`: Yes.
EmailFlag *uint64 `json:"EmailFlag,omitempty" name:"EmailFlag"`
// User type. `1`: Global collaborator; `2`: Project collaborator; `3`: Message recipient.
UserType *uint64 `json:"UserType,omitempty" name:"UserType"`
// Time policy created
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
// Whether the user is the primary message recipient. `0`: No; `1`: Yes.
IsReceiverOwner *uint64 `json:"IsReceiverOwner,omitempty" name:"IsReceiverOwner"`
}
type ListAccessKeysRequest ¶
type ListAccessKeysRequest struct {
*tchttp.BaseRequest
// `UIN` of the specified user. If this parameter is left empty, access keys of the current user will be listed by default
TargetUin *uint64 `json:"TargetUin,omitempty" name:"TargetUin"`
}
func NewListAccessKeysRequest ¶
func NewListAccessKeysRequest() (request *ListAccessKeysRequest)
func (*ListAccessKeysRequest) FromJsonString ¶
func (r *ListAccessKeysRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListAccessKeysRequest) ToJsonString ¶
func (r *ListAccessKeysRequest) ToJsonString() string
type ListAccessKeysRequestParams ¶
type ListAccessKeysRequestParams struct {
// `UIN` of the specified user. If this parameter is left empty, access keys of the current user will be listed by default
TargetUin *uint64 `json:"TargetUin,omitempty" name:"TargetUin"`
}
Predefined struct for user
type ListAccessKeysResponse ¶
type ListAccessKeysResponse struct {
*tchttp.BaseResponse
Response *ListAccessKeysResponseParams `json:"Response"`
}
func NewListAccessKeysResponse ¶
func NewListAccessKeysResponse() (response *ListAccessKeysResponse)
func (*ListAccessKeysResponse) FromJsonString ¶
func (r *ListAccessKeysResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListAccessKeysResponse) ToJsonString ¶
func (r *ListAccessKeysResponse) ToJsonString() string
type ListAccessKeysResponseParams ¶
type ListAccessKeysResponseParams struct {
// Access key list
// Note: this field may return null, indicating that no valid values can be obtained.
AccessKeys []*AccessKey `json:"AccessKeys,omitempty" name:"AccessKeys"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ListAttachedGroupPoliciesRequest ¶
type ListAttachedGroupPoliciesRequest struct {
*tchttp.BaseRequest
// User group ID
TargetGroupId *uint64 `json:"TargetGroupId,omitempty" name:"TargetGroupId"`
// Page number, which starts from 1. Default is 1
Page *uint64 `json:"Page,omitempty" name:"Page"`
// Number of entries per page; 20 by default
Rp *uint64 `json:"Rp,omitempty" name:"Rp"`
// Search by keyword
Keyword *string `json:"Keyword,omitempty" name:"Keyword"`
}
func NewListAttachedGroupPoliciesRequest ¶
func NewListAttachedGroupPoliciesRequest() (request *ListAttachedGroupPoliciesRequest)
func (*ListAttachedGroupPoliciesRequest) FromJsonString ¶
func (r *ListAttachedGroupPoliciesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListAttachedGroupPoliciesRequest) ToJsonString ¶
func (r *ListAttachedGroupPoliciesRequest) ToJsonString() string
type ListAttachedGroupPoliciesRequestParams ¶
type ListAttachedGroupPoliciesRequestParams struct {
// User group ID
TargetGroupId *uint64 `json:"TargetGroupId,omitempty" name:"TargetGroupId"`
// Page number, which starts from 1. Default is 1
Page *uint64 `json:"Page,omitempty" name:"Page"`
// Number of entries per page; 20 by default
Rp *uint64 `json:"Rp,omitempty" name:"Rp"`
// Search by keyword
Keyword *string `json:"Keyword,omitempty" name:"Keyword"`
}
Predefined struct for user
type ListAttachedGroupPoliciesResponse ¶
type ListAttachedGroupPoliciesResponse struct {
*tchttp.BaseResponse
Response *ListAttachedGroupPoliciesResponseParams `json:"Response"`
}
func NewListAttachedGroupPoliciesResponse ¶
func NewListAttachedGroupPoliciesResponse() (response *ListAttachedGroupPoliciesResponse)
func (*ListAttachedGroupPoliciesResponse) FromJsonString ¶
func (r *ListAttachedGroupPoliciesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListAttachedGroupPoliciesResponse) ToJsonString ¶
func (r *ListAttachedGroupPoliciesResponse) ToJsonString() string
type ListAttachedGroupPoliciesResponseParams ¶
type ListAttachedGroupPoliciesResponseParams struct {
// Total number of policies
TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"`
// Policy list
List []*AttachPolicyInfo `json:"List,omitempty" name:"List"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ListAttachedRolePoliciesRequest ¶
type ListAttachedRolePoliciesRequest struct {
*tchttp.BaseRequest
// Page number, beginning from 1
Page *uint64 `json:"Page,omitempty" name:"Page"`
// Number of lines per page, no more than 200
Rp *uint64 `json:"Rp,omitempty" name:"Rp"`
// Role ID, used to specify a role. Input either `RoleId` or `RoleName`
RoleId *string `json:"RoleId,omitempty" name:"RoleId"`
// Role name, used to specify a role. Input either `RoleId` or `RoleName`
RoleName *string `json:"RoleName,omitempty" name:"RoleName"`
// Filter according to policy type. `User` indicates querying custom policies only. `QCS` indicates querying preset policies only
PolicyType *string `json:"PolicyType,omitempty" name:"PolicyType"`
// Search by keyword
Keyword *string `json:"Keyword,omitempty" name:"Keyword"`
}
func NewListAttachedRolePoliciesRequest ¶
func NewListAttachedRolePoliciesRequest() (request *ListAttachedRolePoliciesRequest)
func (*ListAttachedRolePoliciesRequest) FromJsonString ¶
func (r *ListAttachedRolePoliciesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListAttachedRolePoliciesRequest) ToJsonString ¶
func (r *ListAttachedRolePoliciesRequest) ToJsonString() string
type ListAttachedRolePoliciesRequestParams ¶
type ListAttachedRolePoliciesRequestParams struct {
// Page number, beginning from 1
Page *uint64 `json:"Page,omitempty" name:"Page"`
// Number of lines per page, no more than 200
Rp *uint64 `json:"Rp,omitempty" name:"Rp"`
// Role ID, used to specify a role. Input either `RoleId` or `RoleName`
RoleId *string `json:"RoleId,omitempty" name:"RoleId"`
// Role name, used to specify a role. Input either `RoleId` or `RoleName`
RoleName *string `json:"RoleName,omitempty" name:"RoleName"`
// Filter according to policy type. `User` indicates querying custom policies only. `QCS` indicates querying preset policies only
PolicyType *string `json:"PolicyType,omitempty" name:"PolicyType"`
// Search by keyword
Keyword *string `json:"Keyword,omitempty" name:"Keyword"`
}
Predefined struct for user
type ListAttachedRolePoliciesResponse ¶
type ListAttachedRolePoliciesResponse struct {
*tchttp.BaseResponse
Response *ListAttachedRolePoliciesResponseParams `json:"Response"`
}
func NewListAttachedRolePoliciesResponse ¶
func NewListAttachedRolePoliciesResponse() (response *ListAttachedRolePoliciesResponse)
func (*ListAttachedRolePoliciesResponse) FromJsonString ¶
func (r *ListAttachedRolePoliciesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListAttachedRolePoliciesResponse) ToJsonString ¶
func (r *ListAttachedRolePoliciesResponse) ToJsonString() string
type ListAttachedRolePoliciesResponseParams ¶
type ListAttachedRolePoliciesResponseParams struct {
// List of policies associated with the role
List []*AttachedPolicyOfRole `json:"List,omitempty" name:"List"`
// Total number of policies associated with the role
TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ListAttachedUserAllPoliciesRequest ¶
type ListAttachedUserAllPoliciesRequest struct {
*tchttp.BaseRequest
// Target user ID.
TargetUin *uint64 `json:"TargetUin,omitempty" name:"TargetUin"`
// The number of policies displayed on each page. Value range: 1-200.
Rp *uint64 `json:"Rp,omitempty" name:"Rp"`
// Page number. Value range: 1-200.
Page *uint64 `json:"Page,omitempty" name:"Page"`
// `0`: return policies that are directly associated and inherited from the user group; `1`: return policies that are directly associated; `2`: return policies inherited from the user group.
AttachType *uint64 `json:"AttachType,omitempty" name:"AttachType"`
// Policy type.
StrategyType *uint64 `json:"StrategyType,omitempty" name:"StrategyType"`
// Keyword for searching.
Keyword *string `json:"Keyword,omitempty" name:"Keyword"`
}
func NewListAttachedUserAllPoliciesRequest ¶
func NewListAttachedUserAllPoliciesRequest() (request *ListAttachedUserAllPoliciesRequest)
func (*ListAttachedUserAllPoliciesRequest) FromJsonString ¶
func (r *ListAttachedUserAllPoliciesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListAttachedUserAllPoliciesRequest) ToJsonString ¶
func (r *ListAttachedUserAllPoliciesRequest) ToJsonString() string
type ListAttachedUserAllPoliciesRequestParams ¶
type ListAttachedUserAllPoliciesRequestParams struct {
// Target user ID.
TargetUin *uint64 `json:"TargetUin,omitempty" name:"TargetUin"`
// The number of policies displayed on each page. Value range: 1-200.
Rp *uint64 `json:"Rp,omitempty" name:"Rp"`
// Page number. Value range: 1-200.
Page *uint64 `json:"Page,omitempty" name:"Page"`
// `0`: return policies that are directly associated and inherited from the user group; `1`: return policies that are directly associated; `2`: return policies inherited from the user group.
AttachType *uint64 `json:"AttachType,omitempty" name:"AttachType"`
// Policy type.
StrategyType *uint64 `json:"StrategyType,omitempty" name:"StrategyType"`
// Keyword for searching.
Keyword *string `json:"Keyword,omitempty" name:"Keyword"`
}
Predefined struct for user
type ListAttachedUserAllPoliciesResponse ¶
type ListAttachedUserAllPoliciesResponse struct {
*tchttp.BaseResponse
Response *ListAttachedUserAllPoliciesResponseParams `json:"Response"`
}
func NewListAttachedUserAllPoliciesResponse ¶
func NewListAttachedUserAllPoliciesResponse() (response *ListAttachedUserAllPoliciesResponse)
func (*ListAttachedUserAllPoliciesResponse) FromJsonString ¶
func (r *ListAttachedUserAllPoliciesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListAttachedUserAllPoliciesResponse) ToJsonString ¶
func (r *ListAttachedUserAllPoliciesResponse) ToJsonString() string
type ListAttachedUserAllPoliciesResponseParams ¶
type ListAttachedUserAllPoliciesResponseParams struct {
// Policy list.
PolicyList []*AttachedUserPolicy `json:"PolicyList,omitempty" name:"PolicyList"`
// Total number of policies.
TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ListAttachedUserPoliciesRequest ¶
type ListAttachedUserPoliciesRequest struct {
*tchttp.BaseRequest
// Sub-account UIN
TargetUin *uint64 `json:"TargetUin,omitempty" name:"TargetUin"`
// Page number, which starts from 1. Default is 1
Page *uint64 `json:"Page,omitempty" name:"Page"`
// Number of entries per page; 20 by default
Rp *uint64 `json:"Rp,omitempty" name:"Rp"`
}
func NewListAttachedUserPoliciesRequest ¶
func NewListAttachedUserPoliciesRequest() (request *ListAttachedUserPoliciesRequest)
func (*ListAttachedUserPoliciesRequest) FromJsonString ¶
func (r *ListAttachedUserPoliciesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListAttachedUserPoliciesRequest) ToJsonString ¶
func (r *ListAttachedUserPoliciesRequest) ToJsonString() string
type ListAttachedUserPoliciesRequestParams ¶
type ListAttachedUserPoliciesRequestParams struct {
// Sub-account UIN
TargetUin *uint64 `json:"TargetUin,omitempty" name:"TargetUin"`
// Page number, which starts from 1. Default is 1
Page *uint64 `json:"Page,omitempty" name:"Page"`
// Number of entries per page; 20 by default
Rp *uint64 `json:"Rp,omitempty" name:"Rp"`
}
Predefined struct for user
type ListAttachedUserPoliciesResponse ¶
type ListAttachedUserPoliciesResponse struct {
*tchttp.BaseResponse
Response *ListAttachedUserPoliciesResponseParams `json:"Response"`
}
func NewListAttachedUserPoliciesResponse ¶
func NewListAttachedUserPoliciesResponse() (response *ListAttachedUserPoliciesResponse)
func (*ListAttachedUserPoliciesResponse) FromJsonString ¶
func (r *ListAttachedUserPoliciesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListAttachedUserPoliciesResponse) ToJsonString ¶
func (r *ListAttachedUserPoliciesResponse) ToJsonString() string
type ListAttachedUserPoliciesResponseParams ¶
type ListAttachedUserPoliciesResponseParams struct {
// Total number of policies
TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"`
// Policy list
List []*AttachPolicyInfo `json:"List,omitempty" name:"List"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ListCollaboratorsRequest ¶
type ListCollaboratorsRequest struct {
*tchttp.BaseRequest
// Number of entries per page. Default value: 20
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// Pagination start value. Default value: 0
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
}
func NewListCollaboratorsRequest ¶
func NewListCollaboratorsRequest() (request *ListCollaboratorsRequest)
func (*ListCollaboratorsRequest) FromJsonString ¶
func (r *ListCollaboratorsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListCollaboratorsRequest) ToJsonString ¶
func (r *ListCollaboratorsRequest) ToJsonString() string
type ListCollaboratorsRequestParams ¶
type ListCollaboratorsRequestParams struct {
// Number of entries per page. Default value: 20
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// Pagination start value. Default value: 0
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
}
Predefined struct for user
type ListCollaboratorsResponse ¶
type ListCollaboratorsResponse struct {
*tchttp.BaseResponse
Response *ListCollaboratorsResponseParams `json:"Response"`
}
func NewListCollaboratorsResponse ¶
func NewListCollaboratorsResponse() (response *ListCollaboratorsResponse)
func (*ListCollaboratorsResponse) FromJsonString ¶
func (r *ListCollaboratorsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListCollaboratorsResponse) ToJsonString ¶
func (r *ListCollaboratorsResponse) ToJsonString() string
type ListCollaboratorsResponseParams ¶
type ListCollaboratorsResponseParams struct {
// Total number
TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"`
// Collaborator information
Data []*SubAccountInfo `json:"Data,omitempty" name:"Data"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ListEntitiesForPolicyRequest ¶
type ListEntitiesForPolicyRequest struct {
*tchttp.BaseRequest
// Policy ID
PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
// Page number, which starts from 1. Default is 1
Page *uint64 `json:"Page,omitempty" name:"Page"`
// Number of entries per page; 20 by default
Rp *uint64 `json:"Rp,omitempty" name:"Rp"`
// Valid values: `All`, `User`, `Group`, and `Role`. `All` means all entity types will be returned; `User` means only sub-accounts will be returned; `Group` means only User Groups will be returned; `Role` means only roles will be returned. `All` is the default value.
EntityFilter *string `json:"EntityFilter,omitempty" name:"EntityFilter"`
}
func NewListEntitiesForPolicyRequest ¶
func NewListEntitiesForPolicyRequest() (request *ListEntitiesForPolicyRequest)
func (*ListEntitiesForPolicyRequest) FromJsonString ¶
func (r *ListEntitiesForPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListEntitiesForPolicyRequest) ToJsonString ¶
func (r *ListEntitiesForPolicyRequest) ToJsonString() string
type ListEntitiesForPolicyRequestParams ¶
type ListEntitiesForPolicyRequestParams struct {
// Policy ID
PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
// Page number, which starts from 1. Default is 1
Page *uint64 `json:"Page,omitempty" name:"Page"`
// Number of entries per page; 20 by default
Rp *uint64 `json:"Rp,omitempty" name:"Rp"`
// Valid values: `All`, `User`, `Group`, and `Role`. `All` means all entity types will be returned; `User` means only sub-accounts will be returned; `Group` means only User Groups will be returned; `Role` means only roles will be returned. `All` is the default value.
EntityFilter *string `json:"EntityFilter,omitempty" name:"EntityFilter"`
}
Predefined struct for user
type ListEntitiesForPolicyResponse ¶
type ListEntitiesForPolicyResponse struct {
*tchttp.BaseResponse
Response *ListEntitiesForPolicyResponseParams `json:"Response"`
}
func NewListEntitiesForPolicyResponse ¶
func NewListEntitiesForPolicyResponse() (response *ListEntitiesForPolicyResponse)
func (*ListEntitiesForPolicyResponse) FromJsonString ¶
func (r *ListEntitiesForPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListEntitiesForPolicyResponse) ToJsonString ¶
func (r *ListEntitiesForPolicyResponse) ToJsonString() string
type ListEntitiesForPolicyResponseParams ¶
type ListEntitiesForPolicyResponseParams struct {
// Number of entities
// Note: This field may return null, indicating that no valid value was found.
TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"`
// Entity list
// Note: This field may return null, indicating that no valid value was found.
List []*AttachEntityOfPolicy `json:"List,omitempty" name:"List"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ListGroupsForUserRequest ¶
type ListGroupsForUserRequest struct {
*tchttp.BaseRequest
// Sub-user UID
Uid *uint64 `json:"Uid,omitempty" name:"Uid"`
// Number of entries per page; default is 20
Rp *uint64 `json:"Rp,omitempty" name:"Rp"`
// Page number; default is 1
Page *uint64 `json:"Page,omitempty" name:"Page"`
// Sub-account UIN
SubUin *uint64 `json:"SubUin,omitempty" name:"SubUin"`
}
func NewListGroupsForUserRequest ¶
func NewListGroupsForUserRequest() (request *ListGroupsForUserRequest)
func (*ListGroupsForUserRequest) FromJsonString ¶
func (r *ListGroupsForUserRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListGroupsForUserRequest) ToJsonString ¶
func (r *ListGroupsForUserRequest) ToJsonString() string
type ListGroupsForUserRequestParams ¶
type ListGroupsForUserRequestParams struct {
// Sub-user UID
Uid *uint64 `json:"Uid,omitempty" name:"Uid"`
// Number of entries per page; default is 20
Rp *uint64 `json:"Rp,omitempty" name:"Rp"`
// Page number; default is 1
Page *uint64 `json:"Page,omitempty" name:"Page"`
// Sub-account UIN
SubUin *uint64 `json:"SubUin,omitempty" name:"SubUin"`
}
Predefined struct for user
type ListGroupsForUserResponse ¶
type ListGroupsForUserResponse struct {
*tchttp.BaseResponse
Response *ListGroupsForUserResponseParams `json:"Response"`
}
func NewListGroupsForUserResponse ¶
func NewListGroupsForUserResponse() (response *ListGroupsForUserResponse)
func (*ListGroupsForUserResponse) FromJsonString ¶
func (r *ListGroupsForUserResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListGroupsForUserResponse) ToJsonString ¶
func (r *ListGroupsForUserResponse) ToJsonString() string
type ListGroupsForUserResponseParams ¶
type ListGroupsForUserResponseParams struct {
// Total number of User Groups to which the sub-user has been added
TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"`
// User Group information
GroupInfo []*GroupInfo `json:"GroupInfo,omitempty" name:"GroupInfo"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ListGroupsRequest ¶
type ListGroupsRequest struct {
*tchttp.BaseRequest
// Page number; default is 1
Page *uint64 `json:"Page,omitempty" name:"Page"`
// Number of entries per page; default is 20
Rp *uint64 `json:"Rp,omitempty" name:"Rp"`
// Filter by User Group name
Keyword *string `json:"Keyword,omitempty" name:"Keyword"`
}
func NewListGroupsRequest ¶
func NewListGroupsRequest() (request *ListGroupsRequest)
func (*ListGroupsRequest) FromJsonString ¶
func (r *ListGroupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListGroupsRequest) ToJsonString ¶
func (r *ListGroupsRequest) ToJsonString() string
type ListGroupsRequestParams ¶
type ListGroupsRequestParams struct {
// Page number; default is 1
Page *uint64 `json:"Page,omitempty" name:"Page"`
// Number of entries per page; default is 20
Rp *uint64 `json:"Rp,omitempty" name:"Rp"`
// Filter by User Group name
Keyword *string `json:"Keyword,omitempty" name:"Keyword"`
}
Predefined struct for user
type ListGroupsResponse ¶
type ListGroupsResponse struct {
*tchttp.BaseResponse
Response *ListGroupsResponseParams `json:"Response"`
}
func NewListGroupsResponse ¶
func NewListGroupsResponse() (response *ListGroupsResponse)
func (*ListGroupsResponse) FromJsonString ¶
func (r *ListGroupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListGroupsResponse) ToJsonString ¶
func (r *ListGroupsResponse) ToJsonString() string
type ListGroupsResponseParams ¶
type ListGroupsResponseParams struct {
// Total number of User Groups
TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"`
// User group information array
GroupInfo []*GroupInfo `json:"GroupInfo,omitempty" name:"GroupInfo"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ListPoliciesRequest ¶
type ListPoliciesRequest struct {
*tchttp.BaseRequest
// Number of entries per page: must be greater than 0 and no greater than 200. Default is 20
Rp *uint64 `json:"Rp,omitempty" name:"Rp"`
// Page number. Starts from 1 and cannot be greater than 200. Default is 1
Page *uint64 `json:"Page,omitempty" name:"Page"`
// Valid values: `All`, `QCS`, and `Local`. `All` means all policies will be returned; `QCS` means only preset policies will be returned; `Local` means only custom policies will be returned. `All` is the default value
Scope *string `json:"Scope,omitempty" name:"Scope"`
// Filter by policy name
Keyword *string `json:"Keyword,omitempty" name:"Keyword"`
}
func NewListPoliciesRequest ¶
func NewListPoliciesRequest() (request *ListPoliciesRequest)
func (*ListPoliciesRequest) FromJsonString ¶
func (r *ListPoliciesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListPoliciesRequest) ToJsonString ¶
func (r *ListPoliciesRequest) ToJsonString() string
type ListPoliciesRequestParams ¶
type ListPoliciesRequestParams struct {
// Number of entries per page: must be greater than 0 and no greater than 200. Default is 20
Rp *uint64 `json:"Rp,omitempty" name:"Rp"`
// Page number. Starts from 1 and cannot be greater than 200. Default is 1
Page *uint64 `json:"Page,omitempty" name:"Page"`
// Valid values: `All`, `QCS`, and `Local`. `All` means all policies will be returned; `QCS` means only preset policies will be returned; `Local` means only custom policies will be returned. `All` is the default value
Scope *string `json:"Scope,omitempty" name:"Scope"`
// Filter by policy name
Keyword *string `json:"Keyword,omitempty" name:"Keyword"`
}
Predefined struct for user
type ListPoliciesResponse ¶
type ListPoliciesResponse struct {
*tchttp.BaseResponse
Response *ListPoliciesResponseParams `json:"Response"`
}
func NewListPoliciesResponse ¶
func NewListPoliciesResponse() (response *ListPoliciesResponse)
func (*ListPoliciesResponse) FromJsonString ¶
func (r *ListPoliciesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListPoliciesResponse) ToJsonString ¶
func (r *ListPoliciesResponse) ToJsonString() string
type ListPoliciesResponseParams ¶
type ListPoliciesResponseParams struct {
// Total number of policies
TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"`
// Policy array. Each array contains fields including `policyId`, `policyName`, `addTime`, `type`, `description`, and `createMode`.
// policyId: policy ID
// policyName: policy name
// addTime: policy creation time
// type: 1: custom policy, 2: preset policy
// description: policy description
// createMode: 1 indicates a policy created based on business permissions, while other values indicate that the policy syntax can be viewed and the policy can be updated using the policy syntax
// Attachments: number of associated users
// ServiceType: the product the policy is associated with
// IsAttached: this value should not be null when querying if a marked entity has been associated with a policy. 0 indicates that no policy has been associated, and 1 indicates that a policy has been associated
List []*StrategyInfo `json:"List,omitempty" name:"List"`
// Reserved field
// Note: This field may return null, indicating that no valid value was found.
ServiceTypeList []*string `json:"ServiceTypeList,omitempty" name:"ServiceTypeList"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ListPolicyVersionsRequest ¶
type ListPolicyVersionsRequest struct {
*tchttp.BaseRequest
// Policy ID
PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
}
func NewListPolicyVersionsRequest ¶
func NewListPolicyVersionsRequest() (request *ListPolicyVersionsRequest)
func (*ListPolicyVersionsRequest) FromJsonString ¶
func (r *ListPolicyVersionsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListPolicyVersionsRequest) ToJsonString ¶
func (r *ListPolicyVersionsRequest) ToJsonString() string
type ListPolicyVersionsRequestParams ¶
type ListPolicyVersionsRequestParams struct {
// Policy ID
PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
}
Predefined struct for user
type ListPolicyVersionsResponse ¶
type ListPolicyVersionsResponse struct {
*tchttp.BaseResponse
Response *ListPolicyVersionsResponseParams `json:"Response"`
}
func NewListPolicyVersionsResponse ¶
func NewListPolicyVersionsResponse() (response *ListPolicyVersionsResponse)
func (*ListPolicyVersionsResponse) FromJsonString ¶
func (r *ListPolicyVersionsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListPolicyVersionsResponse) ToJsonString ¶
func (r *ListPolicyVersionsResponse) ToJsonString() string
type ListPolicyVersionsResponseParams ¶
type ListPolicyVersionsResponseParams struct {
// Policy version list
// Note: this field may return null, indicating that no valid values can be obtained.
Versions []*PolicyVersionItem `json:"Versions,omitempty" name:"Versions"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ListSAMLProvidersRequest ¶
type ListSAMLProvidersRequest struct {
*tchttp.BaseRequest
}
func NewListSAMLProvidersRequest ¶
func NewListSAMLProvidersRequest() (request *ListSAMLProvidersRequest)
func (*ListSAMLProvidersRequest) FromJsonString ¶
func (r *ListSAMLProvidersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListSAMLProvidersRequest) ToJsonString ¶
func (r *ListSAMLProvidersRequest) ToJsonString() string
type ListSAMLProvidersRequestParams ¶
type ListSAMLProvidersRequestParams struct {
}
Predefined struct for user
type ListSAMLProvidersResponse ¶
type ListSAMLProvidersResponse struct {
*tchttp.BaseResponse
Response *ListSAMLProvidersResponseParams `json:"Response"`
}
func NewListSAMLProvidersResponse ¶
func NewListSAMLProvidersResponse() (response *ListSAMLProvidersResponse)
func (*ListSAMLProvidersResponse) FromJsonString ¶
func (r *ListSAMLProvidersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListSAMLProvidersResponse) ToJsonString ¶
func (r *ListSAMLProvidersResponse) ToJsonString() string
type ListSAMLProvidersResponseParams ¶
type ListSAMLProvidersResponseParams struct {
// Total number of SAML identity providers
TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
// List of SAML identity providers
SAMLProviderSet []*SAMLProviderInfo `json:"SAMLProviderSet,omitempty" name:"SAMLProviderSet"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ListUsersForGroupRequest ¶
type ListUsersForGroupRequest struct {
*tchttp.BaseRequest
// User group ID
GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"`
// Page number; default is 1
Page *uint64 `json:"Page,omitempty" name:"Page"`
// Number of entries per page; default is 20
Rp *uint64 `json:"Rp,omitempty" name:"Rp"`
}
func NewListUsersForGroupRequest ¶
func NewListUsersForGroupRequest() (request *ListUsersForGroupRequest)
func (*ListUsersForGroupRequest) FromJsonString ¶
func (r *ListUsersForGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListUsersForGroupRequest) ToJsonString ¶
func (r *ListUsersForGroupRequest) ToJsonString() string
type ListUsersForGroupRequestParams ¶
type ListUsersForGroupRequestParams struct {
// User group ID
GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"`
// Page number; default is 1
Page *uint64 `json:"Page,omitempty" name:"Page"`
// Number of entries per page; default is 20
Rp *uint64 `json:"Rp,omitempty" name:"Rp"`
}
Predefined struct for user
type ListUsersForGroupResponse ¶
type ListUsersForGroupResponse struct {
*tchttp.BaseResponse
Response *ListUsersForGroupResponseParams `json:"Response"`
}
func NewListUsersForGroupResponse ¶
func NewListUsersForGroupResponse() (response *ListUsersForGroupResponse)
func (*ListUsersForGroupResponse) FromJsonString ¶
func (r *ListUsersForGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListUsersForGroupResponse) ToJsonString ¶
func (r *ListUsersForGroupResponse) ToJsonString() string
type ListUsersForGroupResponseParams ¶
type ListUsersForGroupResponseParams struct {
// Total number of users associated with the User Group
TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"`
// Sub-user information
UserInfo []*GroupMemberInfo `json:"UserInfo,omitempty" name:"UserInfo"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ListUsersRequest ¶
type ListUsersRequest struct {
*tchttp.BaseRequest
}
func NewListUsersRequest ¶
func NewListUsersRequest() (request *ListUsersRequest)
func (*ListUsersRequest) FromJsonString ¶
func (r *ListUsersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListUsersRequest) ToJsonString ¶
func (r *ListUsersRequest) ToJsonString() string
type ListUsersResponse ¶
type ListUsersResponse struct {
*tchttp.BaseResponse
Response *ListUsersResponseParams `json:"Response"`
}
func NewListUsersResponse ¶
func NewListUsersResponse() (response *ListUsersResponse)
func (*ListUsersResponse) FromJsonString ¶
func (r *ListUsersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListUsersResponse) ToJsonString ¶
func (r *ListUsersResponse) ToJsonString() string
type ListUsersResponseParams ¶
type ListUsersResponseParams struct {
// Sub-user information
Data []*SubAccountInfo `json:"Data,omitempty" name:"Data"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type LoginActionFlag ¶
type LoginActionFlag struct {
// Phone
Phone *uint64 `json:"Phone,omitempty" name:"Phone"`
// Hard token
Token *uint64 `json:"Token,omitempty" name:"Token"`
// Soft token
Stoken *uint64 `json:"Stoken,omitempty" name:"Stoken"`
// WeChat
Wechat *uint64 `json:"Wechat,omitempty" name:"Wechat"`
// Custom
Custom *uint64 `json:"Custom,omitempty" name:"Custom"`
}
type LoginActionFlagIntl ¶
type LoginActionFlagIntl struct {
// Mobile number
Phone *uint64 `json:"Phone,omitempty" name:"Phone"`
// Hard token
Token *uint64 `json:"Token,omitempty" name:"Token"`
// Soft token
Stoken *uint64 `json:"Stoken,omitempty" name:"Stoken"`
// WeChat
Wechat *uint64 `json:"Wechat,omitempty" name:"Wechat"`
// Custom
Custom *uint64 `json:"Custom,omitempty" name:"Custom"`
// Email
Mail *uint64 `json:"Mail,omitempty" name:"Mail"`
}
type LoginActionMfaFlag ¶
type OffsiteFlag ¶
type OffsiteFlag struct {
// Verification flag
VerifyFlag *uint64 `json:"VerifyFlag,omitempty" name:"VerifyFlag"`
// Phone notification
NotifyPhone *uint64 `json:"NotifyPhone,omitempty" name:"NotifyPhone"`
// Email notification
NotifyEmail *int64 `json:"NotifyEmail,omitempty" name:"NotifyEmail"`
// WeChat notification
NotifyWechat *uint64 `json:"NotifyWechat,omitempty" name:"NotifyWechat"`
// Alert
Tips *uint64 `json:"Tips,omitempty" name:"Tips"`
}
type PolicyVersionDetail ¶
type PolicyVersionDetail struct {
// Policy version ID
// Note: this field may return null, indicating that no valid values can be obtained.
VersionId *uint64 `json:"VersionId,omitempty" name:"VersionId"`
// Policy version creation time
// Note: this field may return null, indicating that no valid values can be obtained.
CreateDate *string `json:"CreateDate,omitempty" name:"CreateDate"`
// Whether it is the operative version. 0: no, 1: yes
// Note: this field may return null, indicating that no valid values can be obtained.
IsDefaultVersion *uint64 `json:"IsDefaultVersion,omitempty" name:"IsDefaultVersion"`
// Policy syntax text
// Note: this field may return null, indicating that no valid values can be obtained.
Document *string `json:"Document,omitempty" name:"Document"`
}
type PolicyVersionItem ¶
type PolicyVersionItem struct {
// Policy version ID
// Note: this field may return null, indicating that no valid values can be obtained.
VersionId *uint64 `json:"VersionId,omitempty" name:"VersionId"`
// Policy version creation time
// Note: this field may return null, indicating that no valid values can be obtained.
CreateDate *string `json:"CreateDate,omitempty" name:"CreateDate"`
// Whether it is the operative version. 0: no, 1: yes
// Note: this field may return null, indicating that no valid values can be obtained.
IsDefaultVersion *int64 `json:"IsDefaultVersion,omitempty" name:"IsDefaultVersion"`
}
type PutRolePermissionsBoundaryRequest ¶
type PutRolePermissionsBoundaryRequest struct {
*tchttp.BaseRequest
// Policy ID
PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"`
// Role ID (either it or the role name must be entered)
RoleId *string `json:"RoleId,omitempty" name:"RoleId"`
// Role name (either it or the role ID must be entered)
RoleName *string `json:"RoleName,omitempty" name:"RoleName"`
}
func NewPutRolePermissionsBoundaryRequest ¶
func NewPutRolePermissionsBoundaryRequest() (request *PutRolePermissionsBoundaryRequest)
func (*PutRolePermissionsBoundaryRequest) FromJsonString ¶
func (r *PutRolePermissionsBoundaryRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PutRolePermissionsBoundaryRequest) ToJsonString ¶
func (r *PutRolePermissionsBoundaryRequest) ToJsonString() string
type PutRolePermissionsBoundaryRequestParams ¶
type PutRolePermissionsBoundaryRequestParams struct {
// Policy ID
PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"`
// Role ID (either it or the role name must be entered)
RoleId *string `json:"RoleId,omitempty" name:"RoleId"`
// Role name (either it or the role ID must be entered)
RoleName *string `json:"RoleName,omitempty" name:"RoleName"`
}
Predefined struct for user
type PutRolePermissionsBoundaryResponse ¶
type PutRolePermissionsBoundaryResponse struct {
*tchttp.BaseResponse
Response *PutRolePermissionsBoundaryResponseParams `json:"Response"`
}
func NewPutRolePermissionsBoundaryResponse ¶
func NewPutRolePermissionsBoundaryResponse() (response *PutRolePermissionsBoundaryResponse)
func (*PutRolePermissionsBoundaryResponse) FromJsonString ¶
func (r *PutRolePermissionsBoundaryResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PutRolePermissionsBoundaryResponse) ToJsonString ¶
func (r *PutRolePermissionsBoundaryResponse) ToJsonString() string
type PutRolePermissionsBoundaryResponseParams ¶
type PutRolePermissionsBoundaryResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type PutUserPermissionsBoundaryRequest ¶
type PutUserPermissionsBoundaryRequest struct {
*tchttp.BaseRequest
// Sub-account `Uin`
TargetUin *int64 `json:"TargetUin,omitempty" name:"TargetUin"`
// Policy ID
PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"`
}
func NewPutUserPermissionsBoundaryRequest ¶
func NewPutUserPermissionsBoundaryRequest() (request *PutUserPermissionsBoundaryRequest)
func (*PutUserPermissionsBoundaryRequest) FromJsonString ¶
func (r *PutUserPermissionsBoundaryRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PutUserPermissionsBoundaryRequest) ToJsonString ¶
func (r *PutUserPermissionsBoundaryRequest) ToJsonString() string
type PutUserPermissionsBoundaryRequestParams ¶
type PutUserPermissionsBoundaryRequestParams struct {
// Sub-account `Uin`
TargetUin *int64 `json:"TargetUin,omitempty" name:"TargetUin"`
// Policy ID
PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"`
}
Predefined struct for user
type PutUserPermissionsBoundaryResponse ¶
type PutUserPermissionsBoundaryResponse struct {
*tchttp.BaseResponse
Response *PutUserPermissionsBoundaryResponseParams `json:"Response"`
}
func NewPutUserPermissionsBoundaryResponse ¶
func NewPutUserPermissionsBoundaryResponse() (response *PutUserPermissionsBoundaryResponse)
func (*PutUserPermissionsBoundaryResponse) FromJsonString ¶
func (r *PutUserPermissionsBoundaryResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PutUserPermissionsBoundaryResponse) ToJsonString ¶
func (r *PutUserPermissionsBoundaryResponse) ToJsonString() string
type PutUserPermissionsBoundaryResponseParams ¶
type PutUserPermissionsBoundaryResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type RemoveUserFromGroupRequest ¶
type RemoveUserFromGroupRequest struct {
*tchttp.BaseRequest
// The user’s UIN/UID to be deleted and the array corresponding to the user group ID.
Info []*GroupIdOfUidInfo `json:"Info,omitempty" name:"Info"`
}
func NewRemoveUserFromGroupRequest ¶
func NewRemoveUserFromGroupRequest() (request *RemoveUserFromGroupRequest)
func (*RemoveUserFromGroupRequest) FromJsonString ¶
func (r *RemoveUserFromGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RemoveUserFromGroupRequest) ToJsonString ¶
func (r *RemoveUserFromGroupRequest) ToJsonString() string
type RemoveUserFromGroupRequestParams ¶
type RemoveUserFromGroupRequestParams struct {
// The user’s UIN/UID to be deleted and the array corresponding to the user group ID.
Info []*GroupIdOfUidInfo `json:"Info,omitempty" name:"Info"`
}
Predefined struct for user
type RemoveUserFromGroupResponse ¶
type RemoveUserFromGroupResponse struct {
*tchttp.BaseResponse
Response *RemoveUserFromGroupResponseParams `json:"Response"`
}
func NewRemoveUserFromGroupResponse ¶
func NewRemoveUserFromGroupResponse() (response *RemoveUserFromGroupResponse)
func (*RemoveUserFromGroupResponse) FromJsonString ¶
func (r *RemoveUserFromGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RemoveUserFromGroupResponse) ToJsonString ¶
func (r *RemoveUserFromGroupResponse) ToJsonString() string
type RemoveUserFromGroupResponseParams ¶
type RemoveUserFromGroupResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type RoleInfo ¶
type RoleInfo struct {
// Role ID
RoleId *string `json:"RoleId,omitempty" name:"RoleId"`
// Role name
RoleName *string `json:"RoleName,omitempty" name:"RoleName"`
// Role policy document
PolicyDocument *string `json:"PolicyDocument,omitempty" name:"PolicyDocument"`
// Role description
Description *string `json:"Description,omitempty" name:"Description"`
// Time role created
AddTime *string `json:"AddTime,omitempty" name:"AddTime"`
// Time role last updated
UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
// If login is allowed for the role
ConsoleLogin *uint64 `json:"ConsoleLogin,omitempty" name:"ConsoleLogin"`
// User role. Valid values: `user`, `system`, `service_linked`
// Note: this field may return null, indicating that no valid values can be obtained.
RoleType *string `json:"RoleType,omitempty" name:"RoleType"`
// Valid period
// Note: this field may return null, indicating that no valid values can be obtained.
SessionDuration *uint64 `json:"SessionDuration,omitempty" name:"SessionDuration"`
// Task identifier for deleting a service-linked role
// Note: this field may return null, indicating that no valid values can be obtained.
DeletionTaskId *string `json:"DeletionTaskId,omitempty" name:"DeletionTaskId"`
// Tags.
// Note: This field may return `null`, indicating that no valid values can be obtained.
Tags []*RoleTags `json:"Tags,omitempty" name:"Tags"`
}
type SAMLProviderInfo ¶
type SAMLProviderInfo struct {
// SAML identity provider name
Name *string `json:"Name,omitempty" name:"Name"`
// SAML identity provider description
Description *string `json:"Description,omitempty" name:"Description"`
// Time SAML identity provider created
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
// Time SAML identity provider last modified
ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"`
}
type SecretIdLastUsed ¶
type SecretIdLastUsed struct {
// Key ID.
SecretId *string `json:"SecretId,omitempty" name:"SecretId"`
// The date when the key ID was last used (the value is obtained one day later).
// Note: this field may return `null`, indicating that no valid value can be obtained.
LastUsedDate *string `json:"LastUsedDate,omitempty" name:"LastUsedDate"`
}
type SetDefaultPolicyVersionRequest ¶
type SetDefaultPolicyVersionRequest struct {
*tchttp.BaseRequest
// Policy ID
PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
// Policy version, which can be obtained through `ListPolicyVersions`.
VersionId *uint64 `json:"VersionId,omitempty" name:"VersionId"`
}
func NewSetDefaultPolicyVersionRequest ¶
func NewSetDefaultPolicyVersionRequest() (request *SetDefaultPolicyVersionRequest)
func (*SetDefaultPolicyVersionRequest) FromJsonString ¶
func (r *SetDefaultPolicyVersionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetDefaultPolicyVersionRequest) ToJsonString ¶
func (r *SetDefaultPolicyVersionRequest) ToJsonString() string
type SetDefaultPolicyVersionRequestParams ¶
type SetDefaultPolicyVersionRequestParams struct {
// Policy ID
PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
// Policy version, which can be obtained through `ListPolicyVersions`.
VersionId *uint64 `json:"VersionId,omitempty" name:"VersionId"`
}
Predefined struct for user
type SetDefaultPolicyVersionResponse ¶
type SetDefaultPolicyVersionResponse struct {
*tchttp.BaseResponse
Response *SetDefaultPolicyVersionResponseParams `json:"Response"`
}
func NewSetDefaultPolicyVersionResponse ¶
func NewSetDefaultPolicyVersionResponse() (response *SetDefaultPolicyVersionResponse)
func (*SetDefaultPolicyVersionResponse) FromJsonString ¶
func (r *SetDefaultPolicyVersionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetDefaultPolicyVersionResponse) ToJsonString ¶
func (r *SetDefaultPolicyVersionResponse) ToJsonString() string
type SetDefaultPolicyVersionResponseParams ¶
type SetDefaultPolicyVersionResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type SetMfaFlagRequest ¶
type SetMfaFlagRequest struct {
*tchttp.BaseRequest
// Sets user UIN
OpUin *uint64 `json:"OpUin,omitempty" name:"OpUin"`
// Sets login protection
LoginFlag *LoginActionMfaFlag `json:"LoginFlag,omitempty" name:"LoginFlag"`
// Sets operation protection
ActionFlag *LoginActionMfaFlag `json:"ActionFlag,omitempty" name:"ActionFlag"`
}
func NewSetMfaFlagRequest ¶
func NewSetMfaFlagRequest() (request *SetMfaFlagRequest)
func (*SetMfaFlagRequest) FromJsonString ¶
func (r *SetMfaFlagRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetMfaFlagRequest) ToJsonString ¶
func (r *SetMfaFlagRequest) ToJsonString() string
type SetMfaFlagRequestParams ¶
type SetMfaFlagRequestParams struct {
// Sets user UIN
OpUin *uint64 `json:"OpUin,omitempty" name:"OpUin"`
// Sets login protection
LoginFlag *LoginActionMfaFlag `json:"LoginFlag,omitempty" name:"LoginFlag"`
// Sets operation protection
ActionFlag *LoginActionMfaFlag `json:"ActionFlag,omitempty" name:"ActionFlag"`
}
Predefined struct for user
type SetMfaFlagResponse ¶
type SetMfaFlagResponse struct {
*tchttp.BaseResponse
Response *SetMfaFlagResponseParams `json:"Response"`
}
func NewSetMfaFlagResponse ¶
func NewSetMfaFlagResponse() (response *SetMfaFlagResponse)
func (*SetMfaFlagResponse) FromJsonString ¶
func (r *SetMfaFlagResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetMfaFlagResponse) ToJsonString ¶
func (r *SetMfaFlagResponse) ToJsonString() string
type SetMfaFlagResponseParams ¶
type SetMfaFlagResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type StrategyInfo ¶
type StrategyInfo struct {
// Policy ID
PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
// Policy name
PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"`
// Time policy created
// Note: This field may return null, indicating that no valid value was found.
AddTime *string `json:"AddTime,omitempty" name:"AddTime"`
// Policy type. 1: Custom policy; 2: Preset policy
Type *uint64 `json:"Type,omitempty" name:"Type"`
// Policy description
// Note: This field may return null, indicating that no valid value was found.
Description *string `json:"Description,omitempty" name:"Description"`
// How the policy was created: 1: Via console; 2: Via syntax
CreateMode *uint64 `json:"CreateMode,omitempty" name:"CreateMode"`
// Number of associated users
Attachments *uint64 `json:"Attachments,omitempty" name:"Attachments"`
// Product associated with the policy
// Note: This field may return null, indicating that no valid value was found.
ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"`
// This value should not be null when querying whether a marked entity has been associated with a policy. 0 indicates that no policy has been associated, while 1 indicates that a policy has been associated
IsAttached *uint64 `json:"IsAttached,omitempty" name:"IsAttached"`
// Queries if the policy has been deactivated
// Note: this field may return null, indicating that no valid values can be obtained.
Deactived *uint64 `json:"Deactived,omitempty" name:"Deactived"`
// List of deprecated products
// Note: this field may return null, indicating that no valid values can be obtained.
DeactivedDetail []*string `json:"DeactivedDetail,omitempty" name:"DeactivedDetail"`
// The deletion task identifier used to check the deletion status of the service-linked role
// Note: this field may return null, indicating that no valid values can be obtained.
IsServiceLinkedPolicy *uint64 `json:"IsServiceLinkedPolicy,omitempty" name:"IsServiceLinkedPolicy"`
// The number of entities associated with the policy.
// Note: this field may return `null`, indicating that no valid values can be obtained.
AttachEntityCount *int64 `json:"AttachEntityCount,omitempty" name:"AttachEntityCount"`
// The number of entities associated with the permission boundary.
// Note: this field may return `null`, indicating that no valid values can be obtained.
AttachEntityBoundaryCount *int64 `json:"AttachEntityBoundaryCount,omitempty" name:"AttachEntityBoundaryCount"`
// The last edited time.
// Note: this field may return `null`, indicating that no valid values can be obtained.
UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
}
type SubAccountInfo ¶
type SubAccountInfo struct {
// Sub-user user ID
Uin *uint64 `json:"Uin,omitempty" name:"Uin"`
// Sub-user username
Name *string `json:"Name,omitempty" name:"Name"`
// Sub-user UID
Uid *uint64 `json:"Uid,omitempty" name:"Uid"`
// Sub-user remarks
Remark *string `json:"Remark,omitempty" name:"Remark"`
// If sub-user can log in to the console
ConsoleLogin *uint64 `json:"ConsoleLogin,omitempty" name:"ConsoleLogin"`
// Mobile number
PhoneNum *string `json:"PhoneNum,omitempty" name:"PhoneNum"`
// Country/Area code
CountryCode *string `json:"CountryCode,omitempty" name:"CountryCode"`
// Email
Email *string `json:"Email,omitempty" name:"Email"`
// Creation time
// Note: this field may return `null`, indicating that no valid values can be obtained.
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
// Nickname.
// Note: This field may return `null`, indicating that no valid values can be obtained.
NickName *string `json:"NickName,omitempty" name:"NickName"`
}
type SubAccountUser ¶
type SubAccountUser struct {
// Sub-user ID
Uin *uint64 `json:"Uin,omitempty" name:"Uin"`
// Sub-user name
Name *string `json:"Name,omitempty" name:"Name"`
// Sub-user UID. UID is the unique identifier of a user who is a message recipient, while UIN is a unique identifier of a user.
Uid *uint64 `json:"Uid,omitempty" name:"Uid"`
// Sub-user remarks
Remark *string `json:"Remark,omitempty" name:"Remark"`
// Creation time
// Note: this field may return null, indicating that no valid values can be obtained.
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
// User type (1: root account; 2: sub-user; 3: WeCom sub-user; 4: collaborator; 5: message recipient)
UserType *uint64 `json:"UserType,omitempty" name:"UserType"`
LastLoginIp *string `json:"LastLoginIp,omitempty" name:"LastLoginIp"`
LastLoginTime *string `json:"LastLoginTime,omitempty" name:"LastLoginTime"`
}
type TagRoleRequest ¶
type TagRoleRequest struct {
*tchttp.BaseRequest
// Tag.
Tags []*RoleTags `json:"Tags,omitempty" name:"Tags"`
// Role name. Specify either the role name or role ID.
RoleName *string `json:"RoleName,omitempty" name:"RoleName"`
// Role ID. Specify either the role ID or role name.
RoleId *string `json:"RoleId,omitempty" name:"RoleId"`
}
func NewTagRoleRequest ¶
func NewTagRoleRequest() (request *TagRoleRequest)
func (*TagRoleRequest) FromJsonString ¶
func (r *TagRoleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*TagRoleRequest) ToJsonString ¶
func (r *TagRoleRequest) ToJsonString() string
type TagRoleRequestParams ¶
type TagRoleRequestParams struct {
// Tag.
Tags []*RoleTags `json:"Tags,omitempty" name:"Tags"`
// Role name. Specify either the role name or role ID.
RoleName *string `json:"RoleName,omitempty" name:"RoleName"`
// Role ID. Specify either the role ID or role name.
RoleId *string `json:"RoleId,omitempty" name:"RoleId"`
}
Predefined struct for user
type TagRoleResponse ¶
type TagRoleResponse struct {
*tchttp.BaseResponse
Response *TagRoleResponseParams `json:"Response"`
}
func NewTagRoleResponse ¶
func NewTagRoleResponse() (response *TagRoleResponse)
func (*TagRoleResponse) FromJsonString ¶
func (r *TagRoleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*TagRoleResponse) ToJsonString ¶
func (r *TagRoleResponse) ToJsonString() string
type TagRoleResponseParams ¶
type TagRoleResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type UntagRoleRequest ¶
type UntagRoleRequest struct {
*tchttp.BaseRequest
// Tag key.
TagKeys []*string `json:"TagKeys,omitempty" name:"TagKeys"`
// Role name. Specify either the role name or role ID.
RoleName *string `json:"RoleName,omitempty" name:"RoleName"`
// Role ID. Specify either the role ID or role name.
RoleId *string `json:"RoleId,omitempty" name:"RoleId"`
}
func NewUntagRoleRequest ¶
func NewUntagRoleRequest() (request *UntagRoleRequest)
func (*UntagRoleRequest) FromJsonString ¶
func (r *UntagRoleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UntagRoleRequest) ToJsonString ¶
func (r *UntagRoleRequest) ToJsonString() string
type UntagRoleRequestParams ¶
type UntagRoleRequestParams struct {
// Tag key.
TagKeys []*string `json:"TagKeys,omitempty" name:"TagKeys"`
// Role name. Specify either the role name or role ID.
RoleName *string `json:"RoleName,omitempty" name:"RoleName"`
// Role ID. Specify either the role ID or role name.
RoleId *string `json:"RoleId,omitempty" name:"RoleId"`
}
Predefined struct for user
type UntagRoleResponse ¶
type UntagRoleResponse struct {
*tchttp.BaseResponse
Response *UntagRoleResponseParams `json:"Response"`
}
func NewUntagRoleResponse ¶
func NewUntagRoleResponse() (response *UntagRoleResponse)
func (*UntagRoleResponse) FromJsonString ¶
func (r *UntagRoleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UntagRoleResponse) ToJsonString ¶
func (r *UntagRoleResponse) ToJsonString() string
type UntagRoleResponseParams ¶
type UntagRoleResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type UpdateAssumeRolePolicyRequest ¶
type UpdateAssumeRolePolicyRequest struct {
*tchttp.BaseRequest
// Policy document
PolicyDocument *string `json:"PolicyDocument,omitempty" name:"PolicyDocument"`
// Role ID, used to specify a role. Input either `RoleId` or `RoleName`
RoleId *string `json:"RoleId,omitempty" name:"RoleId"`
// Role name, used to specify a role. Input either `RoleId` or `RoleName`
RoleName *string `json:"RoleName,omitempty" name:"RoleName"`
}
func NewUpdateAssumeRolePolicyRequest ¶
func NewUpdateAssumeRolePolicyRequest() (request *UpdateAssumeRolePolicyRequest)
func (*UpdateAssumeRolePolicyRequest) FromJsonString ¶
func (r *UpdateAssumeRolePolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateAssumeRolePolicyRequest) ToJsonString ¶
func (r *UpdateAssumeRolePolicyRequest) ToJsonString() string
type UpdateAssumeRolePolicyRequestParams ¶
type UpdateAssumeRolePolicyRequestParams struct {
// Policy document
PolicyDocument *string `json:"PolicyDocument,omitempty" name:"PolicyDocument"`
// Role ID, used to specify a role. Input either `RoleId` or `RoleName`
RoleId *string `json:"RoleId,omitempty" name:"RoleId"`
// Role name, used to specify a role. Input either `RoleId` or `RoleName`
RoleName *string `json:"RoleName,omitempty" name:"RoleName"`
}
Predefined struct for user
type UpdateAssumeRolePolicyResponse ¶
type UpdateAssumeRolePolicyResponse struct {
*tchttp.BaseResponse
Response *UpdateAssumeRolePolicyResponseParams `json:"Response"`
}
func NewUpdateAssumeRolePolicyResponse ¶
func NewUpdateAssumeRolePolicyResponse() (response *UpdateAssumeRolePolicyResponse)
func (*UpdateAssumeRolePolicyResponse) FromJsonString ¶
func (r *UpdateAssumeRolePolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateAssumeRolePolicyResponse) ToJsonString ¶
func (r *UpdateAssumeRolePolicyResponse) ToJsonString() string
type UpdateAssumeRolePolicyResponseParams ¶
type UpdateAssumeRolePolicyResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type UpdateGroupRequest ¶
type UpdateGroupRequest struct {
*tchttp.BaseRequest
// User Group ID
GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"`
// User Group name
GroupName *string `json:"GroupName,omitempty" name:"GroupName"`
// User Group description
Remark *string `json:"Remark,omitempty" name:"Remark"`
}
func NewUpdateGroupRequest ¶
func NewUpdateGroupRequest() (request *UpdateGroupRequest)
func (*UpdateGroupRequest) FromJsonString ¶
func (r *UpdateGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateGroupRequest) ToJsonString ¶
func (r *UpdateGroupRequest) ToJsonString() string
type UpdateGroupRequestParams ¶
type UpdateGroupRequestParams struct {
// User Group ID
GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"`
// User Group name
GroupName *string `json:"GroupName,omitempty" name:"GroupName"`
// User Group description
Remark *string `json:"Remark,omitempty" name:"Remark"`
}
Predefined struct for user
type UpdateGroupResponse ¶
type UpdateGroupResponse struct {
*tchttp.BaseResponse
Response *UpdateGroupResponseParams `json:"Response"`
}
func NewUpdateGroupResponse ¶
func NewUpdateGroupResponse() (response *UpdateGroupResponse)
func (*UpdateGroupResponse) FromJsonString ¶
func (r *UpdateGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateGroupResponse) ToJsonString ¶
func (r *UpdateGroupResponse) ToJsonString() string
type UpdateGroupResponseParams ¶
type UpdateGroupResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type UpdateOIDCConfigRequest ¶
type UpdateOIDCConfigRequest struct {
*tchttp.BaseRequest
// IdP URL.
IdentityUrl *string `json:"IdentityUrl,omitempty" name:"IdentityUrl"`
// Public key for signature, which must be Base64-encoded.
IdentityKey *string `json:"IdentityKey,omitempty" name:"IdentityKey"`
// Client ID.
ClientId []*string `json:"ClientId,omitempty" name:"ClientId"`
// Name.
Name *string `json:"Name,omitempty" name:"Name"`
// Description.
Description *string `json:"Description,omitempty" name:"Description"`
}
func NewUpdateOIDCConfigRequest ¶
func NewUpdateOIDCConfigRequest() (request *UpdateOIDCConfigRequest)
func (*UpdateOIDCConfigRequest) FromJsonString ¶
func (r *UpdateOIDCConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateOIDCConfigRequest) ToJsonString ¶
func (r *UpdateOIDCConfigRequest) ToJsonString() string
type UpdateOIDCConfigRequestParams ¶
type UpdateOIDCConfigRequestParams struct {
// IdP URL.
IdentityUrl *string `json:"IdentityUrl,omitempty" name:"IdentityUrl"`
// Public key for signature, which must be Base64-encoded.
IdentityKey *string `json:"IdentityKey,omitempty" name:"IdentityKey"`
// Client ID.
ClientId []*string `json:"ClientId,omitempty" name:"ClientId"`
// Name.
Name *string `json:"Name,omitempty" name:"Name"`
// Description.
Description *string `json:"Description,omitempty" name:"Description"`
}
Predefined struct for user
type UpdateOIDCConfigResponse ¶
type UpdateOIDCConfigResponse struct {
*tchttp.BaseResponse
Response *UpdateOIDCConfigResponseParams `json:"Response"`
}
func NewUpdateOIDCConfigResponse ¶
func NewUpdateOIDCConfigResponse() (response *UpdateOIDCConfigResponse)
func (*UpdateOIDCConfigResponse) FromJsonString ¶
func (r *UpdateOIDCConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateOIDCConfigResponse) ToJsonString ¶
func (r *UpdateOIDCConfigResponse) ToJsonString() string
type UpdateOIDCConfigResponseParams ¶
type UpdateOIDCConfigResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type UpdatePolicyRequest ¶
type UpdatePolicyRequest struct {
*tchttp.BaseRequest
// Policy ID. Either `PolicyId` or `PolicyName` must be entered
PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
// Policy name. Either `PolicyName` or `PolicyId` must be entered
PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"`
// Policy description
Description *string `json:"Description,omitempty" name:"Description"`
// Policy documentation, for example: `{"version":"2.0","statement":[{"action":"name/sts:AssumeRole","effect":"allow","principal":{"service":["cloudaudit.cloud.tencent.com","cls.cloud.tencent.com"]}}]}`, where `principal` is used to specify the service that is authorized to use the role. For more information about this parameter, see **RoleInfo** under **Output Parameters** in the [GetRole](https://intl.cloud.tencent.com/document/product/598/36221?from_cn_redirect=1).
PolicyDocument *string `json:"PolicyDocument,omitempty" name:"PolicyDocument"`
// Preset policy remark
Alias *string `json:"Alias,omitempty" name:"Alias"`
}
func NewUpdatePolicyRequest ¶
func NewUpdatePolicyRequest() (request *UpdatePolicyRequest)
func (*UpdatePolicyRequest) FromJsonString ¶
func (r *UpdatePolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdatePolicyRequest) ToJsonString ¶
func (r *UpdatePolicyRequest) ToJsonString() string
type UpdatePolicyRequestParams ¶
type UpdatePolicyRequestParams struct {
// Policy ID. Either `PolicyId` or `PolicyName` must be entered
PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
// Policy name. Either `PolicyName` or `PolicyId` must be entered
PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"`
// Policy description
Description *string `json:"Description,omitempty" name:"Description"`
// Policy documentation, for example: `{"version":"2.0","statement":[{"action":"name/sts:AssumeRole","effect":"allow","principal":{"service":["cloudaudit.cloud.tencent.com","cls.cloud.tencent.com"]}}]}`, where `principal` is used to specify the service that is authorized to use the role. For more information about this parameter, see **RoleInfo** under **Output Parameters** in the [GetRole](https://intl.cloud.tencent.com/document/product/598/36221?from_cn_redirect=1).
PolicyDocument *string `json:"PolicyDocument,omitempty" name:"PolicyDocument"`
// Preset policy remark
Alias *string `json:"Alias,omitempty" name:"Alias"`
}
Predefined struct for user
type UpdatePolicyResponse ¶
type UpdatePolicyResponse struct {
*tchttp.BaseResponse
Response *UpdatePolicyResponseParams `json:"Response"`
}
func NewUpdatePolicyResponse ¶
func NewUpdatePolicyResponse() (response *UpdatePolicyResponse)
func (*UpdatePolicyResponse) FromJsonString ¶
func (r *UpdatePolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdatePolicyResponse) ToJsonString ¶
func (r *UpdatePolicyResponse) ToJsonString() string
type UpdatePolicyResponseParams ¶
type UpdatePolicyResponseParams struct {
// Policy ID, which will be returned only if the input parameter is `PolicyName`
// Note: this field may return null, indicating that no valid values can be obtained.
PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type UpdateRoleConsoleLoginRequest ¶
type UpdateRoleConsoleLoginRequest struct {
*tchttp.BaseRequest
// Whether login is allowed. 1: yes, 0: no
ConsoleLogin *int64 `json:"ConsoleLogin,omitempty" name:"ConsoleLogin"`
// Role ID. Use either `RoleId` or `RoleName` as the input parameter.
RoleId *int64 `json:"RoleId,omitempty" name:"RoleId"`
// Role name. Use either `RoleId` or `RoleName` as the input parameter.
RoleName *string `json:"RoleName,omitempty" name:"RoleName"`
}
func NewUpdateRoleConsoleLoginRequest ¶
func NewUpdateRoleConsoleLoginRequest() (request *UpdateRoleConsoleLoginRequest)
func (*UpdateRoleConsoleLoginRequest) FromJsonString ¶
func (r *UpdateRoleConsoleLoginRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateRoleConsoleLoginRequest) ToJsonString ¶
func (r *UpdateRoleConsoleLoginRequest) ToJsonString() string
type UpdateRoleConsoleLoginRequestParams ¶
type UpdateRoleConsoleLoginRequestParams struct {
// Whether login is allowed. 1: yes, 0: no
ConsoleLogin *int64 `json:"ConsoleLogin,omitempty" name:"ConsoleLogin"`
// Role ID. Use either `RoleId` or `RoleName` as the input parameter.
RoleId *int64 `json:"RoleId,omitempty" name:"RoleId"`
// Role name. Use either `RoleId` or `RoleName` as the input parameter.
RoleName *string `json:"RoleName,omitempty" name:"RoleName"`
}
Predefined struct for user
type UpdateRoleConsoleLoginResponse ¶
type UpdateRoleConsoleLoginResponse struct {
*tchttp.BaseResponse
Response *UpdateRoleConsoleLoginResponseParams `json:"Response"`
}
func NewUpdateRoleConsoleLoginResponse ¶
func NewUpdateRoleConsoleLoginResponse() (response *UpdateRoleConsoleLoginResponse)
func (*UpdateRoleConsoleLoginResponse) FromJsonString ¶
func (r *UpdateRoleConsoleLoginResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateRoleConsoleLoginResponse) ToJsonString ¶
func (r *UpdateRoleConsoleLoginResponse) ToJsonString() string
type UpdateRoleConsoleLoginResponseParams ¶
type UpdateRoleConsoleLoginResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type UpdateRoleDescriptionRequest ¶
type UpdateRoleDescriptionRequest struct {
*tchttp.BaseRequest
// Role description
Description *string `json:"Description,omitempty" name:"Description"`
// Role ID, used to specify a role. Input either `RoleId` or `RoleName`
RoleId *string `json:"RoleId,omitempty" name:"RoleId"`
// Role name, used to specify a role. Input either `RoleId` or `RoleName`
RoleName *string `json:"RoleName,omitempty" name:"RoleName"`
}
func NewUpdateRoleDescriptionRequest ¶
func NewUpdateRoleDescriptionRequest() (request *UpdateRoleDescriptionRequest)
func (*UpdateRoleDescriptionRequest) FromJsonString ¶
func (r *UpdateRoleDescriptionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateRoleDescriptionRequest) ToJsonString ¶
func (r *UpdateRoleDescriptionRequest) ToJsonString() string
type UpdateRoleDescriptionRequestParams ¶
type UpdateRoleDescriptionRequestParams struct {
// Role description
Description *string `json:"Description,omitempty" name:"Description"`
// Role ID, used to specify a role. Input either `RoleId` or `RoleName`
RoleId *string `json:"RoleId,omitempty" name:"RoleId"`
// Role name, used to specify a role. Input either `RoleId` or `RoleName`
RoleName *string `json:"RoleName,omitempty" name:"RoleName"`
}
Predefined struct for user
type UpdateRoleDescriptionResponse ¶
type UpdateRoleDescriptionResponse struct {
*tchttp.BaseResponse
Response *UpdateRoleDescriptionResponseParams `json:"Response"`
}
func NewUpdateRoleDescriptionResponse ¶
func NewUpdateRoleDescriptionResponse() (response *UpdateRoleDescriptionResponse)
func (*UpdateRoleDescriptionResponse) FromJsonString ¶
func (r *UpdateRoleDescriptionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateRoleDescriptionResponse) ToJsonString ¶
func (r *UpdateRoleDescriptionResponse) ToJsonString() string
type UpdateRoleDescriptionResponseParams ¶
type UpdateRoleDescriptionResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type UpdateSAMLProviderRequest ¶
type UpdateSAMLProviderRequest struct {
*tchttp.BaseRequest
// SAML identity provider name
Name *string `json:"Name,omitempty" name:"Name"`
// SAML identity provider description
Description *string `json:"Description,omitempty" name:"Description"`
// SAML identity provider metadata document (Base64)
SAMLMetadataDocument *string `json:"SAMLMetadataDocument,omitempty" name:"SAMLMetadataDocument"`
}
func NewUpdateSAMLProviderRequest ¶
func NewUpdateSAMLProviderRequest() (request *UpdateSAMLProviderRequest)
func (*UpdateSAMLProviderRequest) FromJsonString ¶
func (r *UpdateSAMLProviderRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateSAMLProviderRequest) ToJsonString ¶
func (r *UpdateSAMLProviderRequest) ToJsonString() string
type UpdateSAMLProviderRequestParams ¶
type UpdateSAMLProviderRequestParams struct {
// SAML identity provider name
Name *string `json:"Name,omitempty" name:"Name"`
// SAML identity provider description
Description *string `json:"Description,omitempty" name:"Description"`
// SAML identity provider metadata document (Base64)
SAMLMetadataDocument *string `json:"SAMLMetadataDocument,omitempty" name:"SAMLMetadataDocument"`
}
Predefined struct for user
type UpdateSAMLProviderResponse ¶
type UpdateSAMLProviderResponse struct {
*tchttp.BaseResponse
Response *UpdateSAMLProviderResponseParams `json:"Response"`
}
func NewUpdateSAMLProviderResponse ¶
func NewUpdateSAMLProviderResponse() (response *UpdateSAMLProviderResponse)
func (*UpdateSAMLProviderResponse) FromJsonString ¶
func (r *UpdateSAMLProviderResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateSAMLProviderResponse) ToJsonString ¶
func (r *UpdateSAMLProviderResponse) ToJsonString() string
type UpdateSAMLProviderResponseParams ¶
type UpdateSAMLProviderResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type UpdateUserOIDCConfigRequest ¶
type UpdateUserOIDCConfigRequest struct {
*tchttp.BaseRequest
// OpenID Connect IdP URL.
// It corresponds to the value of the `issuer` field in the `Openid-configuration` provided by the enterprise IdP.
IdentityUrl *string `json:"IdentityUrl,omitempty" name:"IdentityUrl"`
// Signature public key, which is used to verify the OpenID Connect IdP's ID token and must be Base64-encoded. For the security of your account, we recommend you rotate it regularly.
IdentityKey *string `json:"IdentityKey,omitempty" name:"IdentityKey"`
// Client ID registered with the OpenID Connect IdP.
ClientId *string `json:"ClientId,omitempty" name:"ClientId"`
// OpenID Connect IdP authorization endpoint. It corresponds to the value of the `authorization_endpoint` field in the `Openid-configuration` provided by the enterprise IdP.
AuthorizationEndpoint *string `json:"AuthorizationEndpoint,omitempty" name:"AuthorizationEndpoint"`
// Authorization response type, which is always `id_token`.
ResponseType *string `json:"ResponseType,omitempty" name:"ResponseType"`
// Authorization response mode. Valid values: form_post (recommended); fragment.
ResponseMode *string `json:"ResponseMode,omitempty" name:"ResponseMode"`
// Mapping field name. It indicates which field in the `id_token` of the IdP is mapped to the username of a sub-user. It is usually the `sub` or `name` field
MappingFiled *string `json:"MappingFiled,omitempty" name:"MappingFiled"`
// Authorization information scope. Valid values: openid (default); email; profile.
Scope []*string `json:"Scope,omitempty" name:"Scope"`
// Description
Description *string `json:"Description,omitempty" name:"Description"`
}
func NewUpdateUserOIDCConfigRequest ¶
func NewUpdateUserOIDCConfigRequest() (request *UpdateUserOIDCConfigRequest)
func (*UpdateUserOIDCConfigRequest) FromJsonString ¶
func (r *UpdateUserOIDCConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateUserOIDCConfigRequest) ToJsonString ¶
func (r *UpdateUserOIDCConfigRequest) ToJsonString() string
type UpdateUserOIDCConfigRequestParams ¶
type UpdateUserOIDCConfigRequestParams struct {
// OpenID Connect IdP URL.
// It corresponds to the value of the `issuer` field in the `Openid-configuration` provided by the enterprise IdP.
IdentityUrl *string `json:"IdentityUrl,omitempty" name:"IdentityUrl"`
// Signature public key, which is used to verify the OpenID Connect IdP's ID token and must be Base64-encoded. For the security of your account, we recommend you rotate it regularly.
IdentityKey *string `json:"IdentityKey,omitempty" name:"IdentityKey"`
// Client ID registered with the OpenID Connect IdP.
ClientId *string `json:"ClientId,omitempty" name:"ClientId"`
// OpenID Connect IdP authorization endpoint. It corresponds to the value of the `authorization_endpoint` field in the `Openid-configuration` provided by the enterprise IdP.
AuthorizationEndpoint *string `json:"AuthorizationEndpoint,omitempty" name:"AuthorizationEndpoint"`
// Authorization response type, which is always `id_token`.
ResponseType *string `json:"ResponseType,omitempty" name:"ResponseType"`
// Authorization response mode. Valid values: form_post (recommended); fragment.
ResponseMode *string `json:"ResponseMode,omitempty" name:"ResponseMode"`
// Mapping field name. It indicates which field in the `id_token` of the IdP is mapped to the username of a sub-user. It is usually the `sub` or `name` field
MappingFiled *string `json:"MappingFiled,omitempty" name:"MappingFiled"`
// Authorization information scope. Valid values: openid (default); email; profile.
Scope []*string `json:"Scope,omitempty" name:"Scope"`
// Description
Description *string `json:"Description,omitempty" name:"Description"`
}
Predefined struct for user
type UpdateUserOIDCConfigResponse ¶
type UpdateUserOIDCConfigResponse struct {
*tchttp.BaseResponse
Response *UpdateUserOIDCConfigResponseParams `json:"Response"`
}
func NewUpdateUserOIDCConfigResponse ¶
func NewUpdateUserOIDCConfigResponse() (response *UpdateUserOIDCConfigResponse)
func (*UpdateUserOIDCConfigResponse) FromJsonString ¶
func (r *UpdateUserOIDCConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateUserOIDCConfigResponse) ToJsonString ¶
func (r *UpdateUserOIDCConfigResponse) ToJsonString() string
type UpdateUserOIDCConfigResponseParams ¶
type UpdateUserOIDCConfigResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type UpdateUserRequest ¶
type UpdateUserRequest struct {
*tchttp.BaseRequest
// Sub-user username
Name *string `json:"Name,omitempty" name:"Name"`
// Sub-user remarks
Remark *string `json:"Remark,omitempty" name:"Remark"`
// Whether or not the sub-user is allowed to log in to the console. 0: No; 1: Yes.
ConsoleLogin *uint64 `json:"ConsoleLogin,omitempty" name:"ConsoleLogin"`
// Sub-user's console login password. If no password rules have been set, the password must have a minimum of 8 characters containing uppercase letters, lowercase letters, digits, and special characters by default. This parameter will be valid only when the sub-user is allowed to log in to the console. If it is not specified and console login is allowed, the system will automatically generate a random 32-character password that contains uppercase letters, lowercase letters, digits, and special characters.
Password *string `json:"Password,omitempty" name:"Password"`
// If the sub-user needs to reset their password when they next log in to the console. 0: No; 1: Yes.
NeedResetPassword *uint64 `json:"NeedResetPassword,omitempty" name:"NeedResetPassword"`
// Mobile number
PhoneNum *string `json:"PhoneNum,omitempty" name:"PhoneNum"`
// Country/Area Code
CountryCode *string `json:"CountryCode,omitempty" name:"CountryCode"`
// Email
Email *string `json:"Email,omitempty" name:"Email"`
}
func NewUpdateUserRequest ¶
func NewUpdateUserRequest() (request *UpdateUserRequest)
func (*UpdateUserRequest) FromJsonString ¶
func (r *UpdateUserRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateUserRequest) ToJsonString ¶
func (r *UpdateUserRequest) ToJsonString() string
type UpdateUserRequestParams ¶
type UpdateUserRequestParams struct {
// Sub-user username
Name *string `json:"Name,omitempty" name:"Name"`
// Sub-user remarks
Remark *string `json:"Remark,omitempty" name:"Remark"`
// Whether or not the sub-user is allowed to log in to the console. 0: No; 1: Yes.
ConsoleLogin *uint64 `json:"ConsoleLogin,omitempty" name:"ConsoleLogin"`
// Sub-user's console login password. If no password rules have been set, the password must have a minimum of 8 characters containing uppercase letters, lowercase letters, digits, and special characters by default. This parameter will be valid only when the sub-user is allowed to log in to the console. If it is not specified and console login is allowed, the system will automatically generate a random 32-character password that contains uppercase letters, lowercase letters, digits, and special characters.
Password *string `json:"Password,omitempty" name:"Password"`
// If the sub-user needs to reset their password when they next log in to the console. 0: No; 1: Yes.
NeedResetPassword *uint64 `json:"NeedResetPassword,omitempty" name:"NeedResetPassword"`
// Mobile number
PhoneNum *string `json:"PhoneNum,omitempty" name:"PhoneNum"`
// Country/Area Code
CountryCode *string `json:"CountryCode,omitempty" name:"CountryCode"`
// Email
Email *string `json:"Email,omitempty" name:"Email"`
}
Predefined struct for user
type UpdateUserResponse ¶
type UpdateUserResponse struct {
*tchttp.BaseResponse
Response *UpdateUserResponseParams `json:"Response"`
}
func NewUpdateUserResponse ¶
func NewUpdateUserResponse() (response *UpdateUserResponse)
func (*UpdateUserResponse) FromJsonString ¶
func (r *UpdateUserResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateUserResponse) ToJsonString ¶
func (r *UpdateUserResponse) ToJsonString() string
type UpdateUserResponseParams ¶
type UpdateUserResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type UpdateUserSAMLConfigRequest ¶
type UpdateUserSAMLConfigRequest struct {
*tchttp.BaseRequest
// Type of the modification operation. `enable`: enable, `disable`: disable, `updateSAML`: modify metadata document.
Operate *string `json:"Operate,omitempty" name:"Operate"`
// Metadata document, which must be Base64 encoded. This parameter is required only when the value of `Operate` is `updateSAML`.
SAMLMetadataDocument *string `json:"SAMLMetadataDocument,omitempty" name:"SAMLMetadataDocument"`
}
func NewUpdateUserSAMLConfigRequest ¶
func NewUpdateUserSAMLConfigRequest() (request *UpdateUserSAMLConfigRequest)
func (*UpdateUserSAMLConfigRequest) FromJsonString ¶
func (r *UpdateUserSAMLConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateUserSAMLConfigRequest) ToJsonString ¶
func (r *UpdateUserSAMLConfigRequest) ToJsonString() string
type UpdateUserSAMLConfigRequestParams ¶
type UpdateUserSAMLConfigRequestParams struct {
// Type of the modification operation. `enable`: enable, `disable`: disable, `updateSAML`: modify metadata document.
Operate *string `json:"Operate,omitempty" name:"Operate"`
// Metadata document, which must be Base64 encoded. This parameter is required only when the value of `Operate` is `updateSAML`.
SAMLMetadataDocument *string `json:"SAMLMetadataDocument,omitempty" name:"SAMLMetadataDocument"`
}
Predefined struct for user
type UpdateUserSAMLConfigResponse ¶
type UpdateUserSAMLConfigResponse struct {
*tchttp.BaseResponse
Response *UpdateUserSAMLConfigResponseParams `json:"Response"`
}
func NewUpdateUserSAMLConfigResponse ¶
func NewUpdateUserSAMLConfigResponse() (response *UpdateUserSAMLConfigResponse)
func (*UpdateUserSAMLConfigResponse) FromJsonString ¶
func (r *UpdateUserSAMLConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateUserSAMLConfigResponse) ToJsonString ¶
func (r *UpdateUserSAMLConfigResponse) ToJsonString() string
type UpdateUserSAMLConfigResponseParams ¶
type UpdateUserSAMLConfigResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user