@aws-sdk/client-iam 3.36.0 → 3.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +42 -0
- package/dist-cjs/IAM.js +0 -7
- package/dist-cjs/IAMClient.js +0 -12
- package/dist-cjs/commands/AddClientIDToOpenIDConnectProviderCommand.js +0 -27
- package/dist-cjs/commands/AddRoleToInstanceProfileCommand.js +0 -36
- package/dist-cjs/commands/AddUserToGroupCommand.js +0 -24
- package/dist-cjs/commands/AttachGroupPolicyCommand.js +0 -31
- package/dist-cjs/commands/AttachRolePolicyCommand.js +0 -38
- package/dist-cjs/commands/AttachUserPolicyCommand.js +0 -31
- package/dist-cjs/commands/ChangePasswordCommand.js +0 -32
- package/dist-cjs/commands/CreateAccessKeyCommand.js +0 -37
- package/dist-cjs/commands/CreateAccountAliasCommand.js +0 -27
- package/dist-cjs/commands/CreateGroupCommand.js +0 -26
- package/dist-cjs/commands/CreateInstanceProfileCommand.js +0 -28
- package/dist-cjs/commands/CreateLoginProfileCommand.js +0 -31
- package/dist-cjs/commands/CreateOpenIDConnectProviderCommand.js +0 -61
- package/dist-cjs/commands/CreatePolicyCommand.js +0 -34
- package/dist-cjs/commands/CreatePolicyVersionCommand.js +0 -31
- package/dist-cjs/commands/CreateRoleCommand.js +0 -28
- package/dist-cjs/commands/CreateSAMLProviderCommand.js +0 -41
- package/dist-cjs/commands/CreateServiceLinkedRoleCommand.js +0 -32
- package/dist-cjs/commands/CreateServiceSpecificCredentialCommand.js +0 -34
- package/dist-cjs/commands/CreateUserCommand.js +0 -26
- package/dist-cjs/commands/CreateVirtualMFADeviceCommand.js +0 -36
- package/dist-cjs/commands/DeactivateMFADeviceCommand.js +0 -28
- package/dist-cjs/commands/DeleteAccessKeyCommand.js +0 -28
- package/dist-cjs/commands/DeleteAccountAliasCommand.js +0 -26
- package/dist-cjs/commands/DeleteAccountPasswordPolicyCommand.js +0 -24
- package/dist-cjs/commands/DeleteGroupCommand.js +0 -25
- package/dist-cjs/commands/DeleteGroupPolicyCommand.js +0 -29
- package/dist-cjs/commands/DeleteInstanceProfileCommand.js +0 -33
- package/dist-cjs/commands/DeleteLoginProfileCommand.js +0 -36
- package/dist-cjs/commands/DeleteOpenIDConnectProviderCommand.js +0 -29
- package/dist-cjs/commands/DeletePolicyCommand.js +0 -48
- package/dist-cjs/commands/DeletePolicyVersionCommand.js +0 -29
- package/dist-cjs/commands/DeleteRoleCommand.js +0 -30
- package/dist-cjs/commands/DeleteRolePermissionsBoundaryCommand.js +0 -29
- package/dist-cjs/commands/DeleteRolePolicyCommand.js +0 -29
- package/dist-cjs/commands/DeleteSAMLProviderCommand.js +0 -30
- package/dist-cjs/commands/DeleteSSHPublicKeyCommand.js +0 -28
- package/dist-cjs/commands/DeleteServerCertificateCommand.js +0 -38
- package/dist-cjs/commands/DeleteServiceLinkedRoleCommand.js +0 -40
- package/dist-cjs/commands/DeleteServiceSpecificCredentialCommand.js +0 -24
- package/dist-cjs/commands/DeleteSigningCertificateCommand.js +0 -28
- package/dist-cjs/commands/DeleteUserCommand.js +0 -56
- package/dist-cjs/commands/DeleteUserPermissionsBoundaryCommand.js +0 -29
- package/dist-cjs/commands/DeleteUserPolicyCommand.js +0 -29
- package/dist-cjs/commands/DeleteVirtualMFADeviceCommand.js +0 -28
- package/dist-cjs/commands/DetachGroupPolicyCommand.js +0 -28
- package/dist-cjs/commands/DetachRolePolicyCommand.js +0 -28
- package/dist-cjs/commands/DetachUserPolicyCommand.js +0 -28
- package/dist-cjs/commands/EnableMFADeviceCommand.js +0 -26
- package/dist-cjs/commands/GenerateCredentialReportCommand.js +0 -26
- package/dist-cjs/commands/GenerateOrganizationsAccessReportCommand.js +0 -155
- package/dist-cjs/commands/GenerateServiceLastAccessedDetailsCommand.js +0 -77
- package/dist-cjs/commands/GetAccessKeyLastUsedCommand.js +0 -26
- package/dist-cjs/commands/GetAccountAuthorizationDetailsCommand.js +0 -37
- package/dist-cjs/commands/GetAccountPasswordPolicyCommand.js +0 -27
- package/dist-cjs/commands/GetAccountSummaryCommand.js +0 -27
- package/dist-cjs/commands/GetContextKeysForCustomPolicyCommand.js +0 -33
- package/dist-cjs/commands/GetContextKeysForPrincipalPolicyCommand.js +0 -37
- package/dist-cjs/commands/GetCredentialReportCommand.js +0 -26
- package/dist-cjs/commands/GetGroupCommand.js +0 -25
- package/dist-cjs/commands/GetGroupPolicyCommand.js +0 -38
- package/dist-cjs/commands/GetInstanceProfileCommand.js +0 -27
- package/dist-cjs/commands/GetLoginProfileCommand.js +0 -33
- package/dist-cjs/commands/GetOpenIDConnectProviderCommand.js +0 -25
- package/dist-cjs/commands/GetOrganizationsAccessReportCommand.js +0 -42
- package/dist-cjs/commands/GetPolicyCommand.js +0 -33
- package/dist-cjs/commands/GetPolicyVersionCommand.js +0 -39
- package/dist-cjs/commands/GetRoleCommand.js +0 -33
- package/dist-cjs/commands/GetRolePolicyCommand.js +0 -40
- package/dist-cjs/commands/GetSAMLProviderCommand.js +0 -28
- package/dist-cjs/commands/GetSSHPublicKeyCommand.js +0 -28
- package/dist-cjs/commands/GetServerCertificateCommand.js +0 -28
- package/dist-cjs/commands/GetServiceLastAccessedDetailsCommand.js +0 -75
- package/dist-cjs/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.js +0 -49
- package/dist-cjs/commands/GetServiceLinkedRoleDeletionStatusCommand.js +0 -28
- package/dist-cjs/commands/GetUserCommand.js +0 -27
- package/dist-cjs/commands/GetUserPolicyCommand.js +0 -38
- package/dist-cjs/commands/ListAccessKeysCommand.js +0 -36
- package/dist-cjs/commands/ListAccountAliasesCommand.js +0 -26
- package/dist-cjs/commands/ListAttachedGroupPoliciesCommand.js +0 -33
- package/dist-cjs/commands/ListAttachedRolePoliciesCommand.js +0 -33
- package/dist-cjs/commands/ListAttachedUserPoliciesCommand.js +0 -33
- package/dist-cjs/commands/ListEntitiesForPolicyCommand.js +0 -31
- package/dist-cjs/commands/ListGroupPoliciesCommand.js +0 -32
- package/dist-cjs/commands/ListGroupsCommand.js +0 -26
- package/dist-cjs/commands/ListGroupsForUserCommand.js +0 -26
- package/dist-cjs/commands/ListInstanceProfileTagsCommand.js +0 -26
- package/dist-cjs/commands/ListInstanceProfilesCommand.js +0 -33
- package/dist-cjs/commands/ListInstanceProfilesForRoleCommand.js +0 -29
- package/dist-cjs/commands/ListMFADeviceTagsCommand.js +0 -26
- package/dist-cjs/commands/ListMFADevicesCommand.js +0 -29
- package/dist-cjs/commands/ListOpenIDConnectProviderTagsCommand.js +0 -28
- package/dist-cjs/commands/ListOpenIDConnectProvidersCommand.js +0 -29
- package/dist-cjs/commands/ListPoliciesCommand.js +0 -39
- package/dist-cjs/commands/ListPoliciesGrantingServiceAccessCommand.js +0 -63
- package/dist-cjs/commands/ListPolicyTagsCommand.js +0 -26
- package/dist-cjs/commands/ListPolicyVersionsCommand.js +0 -27
- package/dist-cjs/commands/ListRolePoliciesCommand.js +0 -32
- package/dist-cjs/commands/ListRoleTagsCommand.js +0 -26
- package/dist-cjs/commands/ListRolesCommand.js +0 -32
- package/dist-cjs/commands/ListSAMLProviderTagsCommand.js +0 -28
- package/dist-cjs/commands/ListSAMLProvidersCommand.js +0 -29
- package/dist-cjs/commands/ListSSHPublicKeysCommand.js +0 -31
- package/dist-cjs/commands/ListServerCertificateTagsCommand.js +0 -33
- package/dist-cjs/commands/ListServerCertificatesCommand.js +0 -35
- package/dist-cjs/commands/ListServiceSpecificCredentialsCommand.js +0 -29
- package/dist-cjs/commands/ListSigningCertificatesCommand.js +0 -33
- package/dist-cjs/commands/ListUserPoliciesCommand.js +0 -31
- package/dist-cjs/commands/ListUserTagsCommand.js +0 -25
- package/dist-cjs/commands/ListUsersCommand.js +0 -32
- package/dist-cjs/commands/ListVirtualMFADevicesCommand.js +0 -34
- package/dist-cjs/commands/PutGroupPolicyCommand.js +0 -38
- package/dist-cjs/commands/PutRolePermissionsBoundaryCommand.js +0 -35
- package/dist-cjs/commands/PutRolePolicyCommand.js +0 -43
- package/dist-cjs/commands/PutUserPermissionsBoundaryCommand.js +0 -34
- package/dist-cjs/commands/PutUserPolicyCommand.js +0 -38
- package/dist-cjs/commands/RemoveClientIDFromOpenIDConnectProviderCommand.js +0 -28
- package/dist-cjs/commands/RemoveRoleFromInstanceProfileCommand.js +0 -33
- package/dist-cjs/commands/RemoveUserFromGroupCommand.js +0 -24
- package/dist-cjs/commands/ResetServiceSpecificCredentialCommand.js +0 -27
- package/dist-cjs/commands/ResyncMFADeviceCommand.js +0 -27
- package/dist-cjs/commands/SetDefaultPolicyVersionCommand.js +0 -29
- package/dist-cjs/commands/SetSecurityTokenServicePreferencesCommand.js +0 -42
- package/dist-cjs/commands/SimulateCustomPolicyCommand.js +0 -40
- package/dist-cjs/commands/SimulatePrincipalPolicyCommand.js +0 -49
- package/dist-cjs/commands/TagInstanceProfileCommand.js +0 -59
- package/dist-cjs/commands/TagMFADeviceCommand.js +0 -60
- package/dist-cjs/commands/TagOpenIDConnectProviderCommand.js +0 -61
- package/dist-cjs/commands/TagPolicyCommand.js +0 -59
- package/dist-cjs/commands/TagRoleCommand.js +0 -68
- package/dist-cjs/commands/TagSAMLProviderCommand.js +0 -61
- package/dist-cjs/commands/TagServerCertificateCommand.js +0 -71
- package/dist-cjs/commands/TagUserCommand.js +0 -67
- package/dist-cjs/commands/UntagInstanceProfileCommand.js +0 -25
- package/dist-cjs/commands/UntagMFADeviceCommand.js +0 -26
- package/dist-cjs/commands/UntagOpenIDConnectProviderCommand.js +0 -27
- package/dist-cjs/commands/UntagPolicyCommand.js +0 -25
- package/dist-cjs/commands/UntagRoleCommand.js +0 -25
- package/dist-cjs/commands/UntagSAMLProviderCommand.js +0 -27
- package/dist-cjs/commands/UntagServerCertificateCommand.js +0 -33
- package/dist-cjs/commands/UntagUserCommand.js +0 -25
- package/dist-cjs/commands/UpdateAccessKeyCommand.js +0 -33
- package/dist-cjs/commands/UpdateAccountPasswordPolicyCommand.js +0 -39
- package/dist-cjs/commands/UpdateAssumeRolePolicyCommand.js +0 -27
- package/dist-cjs/commands/UpdateGroupCommand.js +0 -38
- package/dist-cjs/commands/UpdateLoginProfileCommand.js +0 -30
- package/dist-cjs/commands/UpdateOpenIDConnectProviderThumbprintCommand.js +0 -45
- package/dist-cjs/commands/UpdateRoleCommand.js +0 -24
- package/dist-cjs/commands/UpdateRoleDescriptionCommand.js +0 -26
- package/dist-cjs/commands/UpdateSAMLProviderCommand.js +0 -27
- package/dist-cjs/commands/UpdateSSHPublicKeyCommand.js +0 -30
- package/dist-cjs/commands/UpdateServerCertificateCommand.js +0 -43
- package/dist-cjs/commands/UpdateServiceSpecificCredentialCommand.js +0 -27
- package/dist-cjs/commands/UpdateSigningCertificateCommand.js +0 -31
- package/dist-cjs/commands/UpdateUserCommand.js +0 -36
- package/dist-cjs/commands/UploadSSHPublicKeyCommand.js +0 -28
- package/dist-cjs/commands/UploadServerCertificateCommand.js +0 -45
- package/dist-cjs/commands/UploadSigningCertificateCommand.js +0 -43
- package/dist-cjs/commands/index.js +161 -0
- package/dist-cjs/endpoints.js +6 -1
- package/dist-cjs/index.js +5 -192
- package/dist-cjs/models/models_0.js +0 -840
- package/dist-cjs/models/models_1.js +0 -102
- package/dist-cjs/pagination/GetAccountAuthorizationDetailsPaginator.js +0 -10
- package/dist-cjs/pagination/GetGroupPaginator.js +0 -10
- package/dist-cjs/pagination/ListAccessKeysPaginator.js +0 -10
- package/dist-cjs/pagination/ListAccountAliasesPaginator.js +0 -10
- package/dist-cjs/pagination/ListAttachedGroupPoliciesPaginator.js +0 -10
- package/dist-cjs/pagination/ListAttachedRolePoliciesPaginator.js +0 -10
- package/dist-cjs/pagination/ListAttachedUserPoliciesPaginator.js +0 -10
- package/dist-cjs/pagination/ListEntitiesForPolicyPaginator.js +0 -10
- package/dist-cjs/pagination/ListGroupPoliciesPaginator.js +0 -10
- package/dist-cjs/pagination/ListGroupsForUserPaginator.js +0 -10
- package/dist-cjs/pagination/ListGroupsPaginator.js +0 -10
- package/dist-cjs/pagination/ListInstanceProfilesForRolePaginator.js +0 -10
- package/dist-cjs/pagination/ListInstanceProfilesPaginator.js +0 -10
- package/dist-cjs/pagination/ListMFADevicesPaginator.js +0 -10
- package/dist-cjs/pagination/ListPoliciesPaginator.js +0 -10
- package/dist-cjs/pagination/ListPolicyVersionsPaginator.js +0 -10
- package/dist-cjs/pagination/ListRolePoliciesPaginator.js +0 -10
- package/dist-cjs/pagination/ListRolesPaginator.js +0 -10
- package/dist-cjs/pagination/ListSSHPublicKeysPaginator.js +0 -10
- package/dist-cjs/pagination/ListServerCertificatesPaginator.js +0 -10
- package/dist-cjs/pagination/ListSigningCertificatesPaginator.js +0 -10
- package/dist-cjs/pagination/ListUserPoliciesPaginator.js +0 -10
- package/dist-cjs/pagination/ListUserTagsPaginator.js +0 -10
- package/dist-cjs/pagination/ListUsersPaginator.js +0 -10
- package/dist-cjs/pagination/ListVirtualMFADevicesPaginator.js +0 -10
- package/dist-cjs/pagination/SimulateCustomPolicyPaginator.js +0 -10
- package/dist-cjs/pagination/SimulatePrincipalPolicyPaginator.js +0 -10
- package/dist-cjs/pagination/index.js +31 -0
- package/dist-cjs/protocols/Aws_query.js +0 -2
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-cjs/waiters/index.js +7 -0
- package/dist-cjs/waiters/waitForInstanceProfileExists.js +0 -9
- package/dist-cjs/waiters/waitForPolicyExists.js +0 -9
- package/dist-cjs/waiters/waitForRoleExists.js +0 -9
- package/dist-cjs/waiters/waitForUserExists.js +0 -9
- package/dist-es/commands/index.js +158 -0
- package/dist-es/endpoints.js +6 -1
- package/dist-es/index.js +5 -192
- package/dist-es/pagination/index.js +28 -0
- package/dist-es/waiters/index.js +4 -0
- package/dist-types/commands/index.d.ts +158 -0
- package/dist-types/index.d.ts +5 -192
- package/dist-types/pagination/index.d.ts +28 -0
- package/dist-types/ts3.4/IAM.d.ts +159 -2189
- package/dist-types/ts3.4/IAMClient.d.ts +24 -93
- package/dist-types/ts3.4/commands/AddClientIDToOpenIDConnectProviderCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/AddRoleToInstanceProfileCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/AddUserToGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/AttachGroupPolicyCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/AttachRolePolicyCommand.d.ts +2 -34
- package/dist-types/ts3.4/commands/AttachUserPolicyCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/ChangePasswordCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/CreateAccessKeyCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/CreateAccountAliasCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateInstanceProfileCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/CreateLoginProfileCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/CreateOpenIDConnectProviderCommand.d.ts +2 -57
- package/dist-types/ts3.4/commands/CreatePolicyCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/CreatePolicyVersionCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/CreateRoleCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/CreateSAMLProviderCommand.d.ts +2 -37
- package/dist-types/ts3.4/commands/CreateServiceLinkedRoleCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/CreateServiceSpecificCredentialCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateVirtualMFADeviceCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/DeactivateMFADeviceCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeleteAccessKeyCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeleteAccountAliasCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteAccountPasswordPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteGroupPolicyCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DeleteInstanceProfileCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/DeleteLoginProfileCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/DeleteOpenIDConnectProviderCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +2 -44
- package/dist-types/ts3.4/commands/DeletePolicyVersionCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DeleteRoleCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DeleteRolePermissionsBoundaryCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DeleteRolePolicyCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DeleteSAMLProviderCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DeleteSSHPublicKeyCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeleteServerCertificateCommand.d.ts +2 -34
- package/dist-types/ts3.4/commands/DeleteServiceLinkedRoleCommand.d.ts +2 -36
- package/dist-types/ts3.4/commands/DeleteServiceSpecificCredentialCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteSigningCertificateCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +2 -52
- package/dist-types/ts3.4/commands/DeleteUserPermissionsBoundaryCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DeleteUserPolicyCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DeleteVirtualMFADeviceCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DetachGroupPolicyCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DetachRolePolicyCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DetachUserPolicyCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/EnableMFADeviceCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GenerateCredentialReportCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GenerateOrganizationsAccessReportCommand.d.ts +2 -151
- package/dist-types/ts3.4/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +2 -73
- package/dist-types/ts3.4/commands/GetAccessKeyLastUsedCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetAccountAuthorizationDetailsCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/GetAccountPasswordPolicyCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/GetAccountSummaryCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/GetContextKeysForCustomPolicyCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/GetCredentialReportCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetGroupPolicyCommand.d.ts +2 -34
- package/dist-types/ts3.4/commands/GetInstanceProfileCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/GetLoginProfileCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/GetOpenIDConnectProviderCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetOrganizationsAccessReportCommand.d.ts +2 -38
- package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/GetPolicyVersionCommand.d.ts +2 -35
- package/dist-types/ts3.4/commands/GetRoleCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/GetRolePolicyCommand.d.ts +2 -36
- package/dist-types/ts3.4/commands/GetSAMLProviderCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/GetSSHPublicKeyCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/GetServerCertificateCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/GetServiceLastAccessedDetailsCommand.d.ts +2 -71
- package/dist-types/ts3.4/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +2 -45
- package/dist-types/ts3.4/commands/GetServiceLinkedRoleDeletionStatusCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/GetUserCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/GetUserPolicyCommand.d.ts +2 -34
- package/dist-types/ts3.4/commands/ListAccessKeysCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/ListAccountAliasesCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListAttachedGroupPoliciesCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/ListAttachedRolePoliciesCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/ListAttachedUserPoliciesCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/ListEntitiesForPolicyCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/ListGroupPoliciesCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListGroupsForUserCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListInstanceProfileTagsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListInstanceProfilesCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/ListInstanceProfilesForRoleCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ListMFADeviceTagsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListMFADevicesCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ListOpenIDConnectProviderTagsCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/ListOpenIDConnectProvidersCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +2 -35
- package/dist-types/ts3.4/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +2 -59
- package/dist-types/ts3.4/commands/ListPolicyTagsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListPolicyVersionsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListRolePoliciesCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListRoleTagsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListRolesCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListSAMLProviderTagsCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/ListSAMLProvidersCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ListSSHPublicKeysCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/ListServerCertificateTagsCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/ListServerCertificatesCommand.d.ts +2 -31
- package/dist-types/ts3.4/commands/ListServiceSpecificCredentialsCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ListSigningCertificatesCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/ListUserPoliciesCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/ListUserTagsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListVirtualMFADevicesCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/PutGroupPolicyCommand.d.ts +2 -34
- package/dist-types/ts3.4/commands/PutRolePermissionsBoundaryCommand.d.ts +2 -31
- package/dist-types/ts3.4/commands/PutRolePolicyCommand.d.ts +2 -39
- package/dist-types/ts3.4/commands/PutUserPermissionsBoundaryCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/PutUserPolicyCommand.d.ts +2 -34
- package/dist-types/ts3.4/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/RemoveRoleFromInstanceProfileCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/RemoveUserFromGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ResetServiceSpecificCredentialCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ResyncMFADeviceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/SetDefaultPolicyVersionCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/SetSecurityTokenServicePreferencesCommand.d.ts +2 -38
- package/dist-types/ts3.4/commands/SimulateCustomPolicyCommand.d.ts +2 -36
- package/dist-types/ts3.4/commands/SimulatePrincipalPolicyCommand.d.ts +2 -45
- package/dist-types/ts3.4/commands/TagInstanceProfileCommand.d.ts +2 -55
- package/dist-types/ts3.4/commands/TagMFADeviceCommand.d.ts +2 -56
- package/dist-types/ts3.4/commands/TagOpenIDConnectProviderCommand.d.ts +2 -57
- package/dist-types/ts3.4/commands/TagPolicyCommand.d.ts +2 -55
- package/dist-types/ts3.4/commands/TagRoleCommand.d.ts +2 -64
- package/dist-types/ts3.4/commands/TagSAMLProviderCommand.d.ts +2 -57
- package/dist-types/ts3.4/commands/TagServerCertificateCommand.d.ts +2 -67
- package/dist-types/ts3.4/commands/TagUserCommand.d.ts +2 -63
- package/dist-types/ts3.4/commands/UntagInstanceProfileCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UntagMFADeviceCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/UntagOpenIDConnectProviderCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/UntagPolicyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UntagRoleCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UntagSAMLProviderCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/UntagServerCertificateCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/UntagUserCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UpdateAccessKeyCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/UpdateAccountPasswordPolicyCommand.d.ts +2 -35
- package/dist-types/ts3.4/commands/UpdateAssumeRolePolicyCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +2 -34
- package/dist-types/ts3.4/commands/UpdateLoginProfileCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +2 -41
- package/dist-types/ts3.4/commands/UpdateRoleCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateRoleDescriptionCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/UpdateSAMLProviderCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/UpdateSSHPublicKeyCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/UpdateServerCertificateCommand.d.ts +2 -39
- package/dist-types/ts3.4/commands/UpdateServiceSpecificCredentialCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/UpdateSigningCertificateCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/UploadSSHPublicKeyCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/UploadServerCertificateCommand.d.ts +2 -41
- package/dist-types/ts3.4/commands/UploadSigningCertificateCommand.d.ts +2 -39
- package/dist-types/ts3.4/commands/index.d.ts +158 -0
- package/dist-types/ts3.4/index.d.ts +5 -192
- package/dist-types/ts3.4/models/models_0.d.ts +1165 -5935
- package/dist-types/ts3.4/models/models_1.d.ts +114 -631
- package/dist-types/ts3.4/pagination/index.d.ts +28 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/dist-types/ts3.4/waiters/index.d.ts +4 -0
- package/dist-types/ts3.4/waiters/waitForInstanceProfileExists.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForPolicyExists.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForRoleExists.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForUserExists.d.ts +2 -9
- package/dist-types/waiters/index.d.ts +4 -0
- package/package.json +33 -33
|
@@ -5,44 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Changes the status of the specified access key from Active to Inactive, or vice versa.
|
|
10
|
-
* This operation can be used to disable a user's key as part of a key rotation
|
|
11
|
-
* workflow.</p>
|
|
12
|
-
* <p>If the <code>UserName</code> is not specified, the user name is determined implicitly
|
|
13
|
-
* based on the Amazon Web Services access key ID used to sign the request. This operation works for
|
|
14
|
-
* access keys under the Amazon Web Services account. Consequently, you can use this operation to manage
|
|
15
|
-
* Amazon Web Services account root user credentials even if the Amazon Web Services account has no associated
|
|
16
|
-
* users.</p>
|
|
17
|
-
* <p>For information about rotating keys, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/ManagingCredentials.html">Managing keys and certificates</a>
|
|
18
|
-
* in the <i>IAM User Guide</i>.</p>
|
|
19
|
-
* @example
|
|
20
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
21
|
-
* ```javascript
|
|
22
|
-
* import { IAMClient, UpdateAccessKeyCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
23
|
-
* // const { IAMClient, UpdateAccessKeyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
24
|
-
* const client = new IAMClient(config);
|
|
25
|
-
* const command = new UpdateAccessKeyCommand(input);
|
|
26
|
-
* const response = await client.send(command);
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
|
-
* @see {@link UpdateAccessKeyCommandInput} for command's `input` shape.
|
|
30
|
-
* @see {@link UpdateAccessKeyCommandOutput} for command's `response` shape.
|
|
31
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
8
|
class UpdateAccessKeyCommand extends smithy_client_1.Command {
|
|
35
|
-
// Start section: command_properties
|
|
36
|
-
// End section: command_properties
|
|
37
9
|
constructor(input) {
|
|
38
|
-
// Start section: command_constructor
|
|
39
10
|
super();
|
|
40
11
|
this.input = input;
|
|
41
|
-
// End section: command_constructor
|
|
42
12
|
}
|
|
43
|
-
/**
|
|
44
|
-
* @internal
|
|
45
|
-
*/
|
|
46
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
47
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
48
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,50 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Updates the password policy settings for the Amazon Web Services account.</p>
|
|
10
|
-
* <note>
|
|
11
|
-
* <ul>
|
|
12
|
-
* <li>
|
|
13
|
-
* <p>This operation does not support partial updates. No parameters are
|
|
14
|
-
* required, but if you do not specify a parameter, that parameter's value
|
|
15
|
-
* reverts to its default value. See the <b>Request
|
|
16
|
-
* Parameters</b> section for each parameter's default value. Also
|
|
17
|
-
* note that some parameters do not allow the default parameter to be
|
|
18
|
-
* explicitly set. Instead, to invoke the default value, do not include that
|
|
19
|
-
* parameter when you invoke the operation.</p>
|
|
20
|
-
* </li>
|
|
21
|
-
* </ul>
|
|
22
|
-
* </note>
|
|
23
|
-
* <p> For more information about using a password policy, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingPasswordPolicies.html">Managing an IAM password
|
|
24
|
-
* policy</a> in the <i>IAM User Guide</i>.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { IAMClient, UpdateAccountPasswordPolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
29
|
-
* // const { IAMClient, UpdateAccountPasswordPolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
30
|
-
* const client = new IAMClient(config);
|
|
31
|
-
* const command = new UpdateAccountPasswordPolicyCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link UpdateAccountPasswordPolicyCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link UpdateAccountPasswordPolicyCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
8
|
class UpdateAccountPasswordPolicyCommand extends smithy_client_1.Command {
|
|
41
|
-
// Start section: command_properties
|
|
42
|
-
// End section: command_properties
|
|
43
9
|
constructor(input) {
|
|
44
|
-
// Start section: command_constructor
|
|
45
10
|
super();
|
|
46
11
|
this.input = input;
|
|
47
|
-
// End section: command_constructor
|
|
48
12
|
}
|
|
49
|
-
/**
|
|
50
|
-
* @internal
|
|
51
|
-
*/
|
|
52
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
53
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
54
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Updates the policy that grants an IAM entity permission to assume a role. This is
|
|
10
|
-
* typically referred to as the "role trust policy". For more information about roles, see
|
|
11
|
-
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplevel.html">Using roles to
|
|
12
|
-
* delegate permissions and federate identities</a>.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { IAMClient, UpdateAssumeRolePolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
17
|
-
* // const { IAMClient, UpdateAssumeRolePolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
18
|
-
* const client = new IAMClient(config);
|
|
19
|
-
* const command = new UpdateAssumeRolePolicyCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link UpdateAssumeRolePolicyCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link UpdateAssumeRolePolicyCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
8
|
class UpdateAssumeRolePolicyCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
9
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
10
|
super();
|
|
34
11
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,49 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Updates the name and/or the path of the specified IAM group.</p>
|
|
10
|
-
* <important>
|
|
11
|
-
* <p> You should understand the implications of changing a group's path or name. For
|
|
12
|
-
* more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_WorkingWithGroupsAndUsers.html">Renaming users and
|
|
13
|
-
* groups</a> in the <i>IAM User Guide</i>.</p>
|
|
14
|
-
* </important>
|
|
15
|
-
* <note>
|
|
16
|
-
* <p>The person making the request (the principal), must have permission to change the
|
|
17
|
-
* role group with the old name and the new name. For example, to change the group
|
|
18
|
-
* named <code>Managers</code> to <code>MGRs</code>, the principal must have a policy
|
|
19
|
-
* that allows them to update both groups. If the principal has permission to update
|
|
20
|
-
* the <code>Managers</code> group, but not the <code>MGRs</code> group, then the
|
|
21
|
-
* update fails. For more information about permissions, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html">Access management</a>.
|
|
22
|
-
* </p>
|
|
23
|
-
* </note>
|
|
24
|
-
* @example
|
|
25
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
26
|
-
* ```javascript
|
|
27
|
-
* import { IAMClient, UpdateGroupCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
28
|
-
* // const { IAMClient, UpdateGroupCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
29
|
-
* const client = new IAMClient(config);
|
|
30
|
-
* const command = new UpdateGroupCommand(input);
|
|
31
|
-
* const response = await client.send(command);
|
|
32
|
-
* ```
|
|
33
|
-
*
|
|
34
|
-
* @see {@link UpdateGroupCommandInput} for command's `input` shape.
|
|
35
|
-
* @see {@link UpdateGroupCommandOutput} for command's `response` shape.
|
|
36
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
37
|
-
*
|
|
38
|
-
*/
|
|
39
8
|
class UpdateGroupCommand extends smithy_client_1.Command {
|
|
40
|
-
// Start section: command_properties
|
|
41
|
-
// End section: command_properties
|
|
42
9
|
constructor(input) {
|
|
43
|
-
// Start section: command_constructor
|
|
44
10
|
super();
|
|
45
11
|
this.input = input;
|
|
46
|
-
// End section: command_constructor
|
|
47
12
|
}
|
|
48
|
-
/**
|
|
49
|
-
* @internal
|
|
50
|
-
*/
|
|
51
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
52
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
53
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,41 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Changes the password for the specified IAM user. You can use the CLI,
|
|
10
|
-
* the Amazon Web Services API, or the <b>Users</b> page in the IAM console
|
|
11
|
-
* to change the password for any IAM user. Use <a>ChangePassword</a> to
|
|
12
|
-
* change your own password in the <b>My Security Credentials</b>
|
|
13
|
-
* page in the Amazon Web Services Management Console.</p>
|
|
14
|
-
* <p>For more information about modifying passwords, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingLogins.html">Managing passwords</a> in the
|
|
15
|
-
* <i>IAM User Guide</i>.</p>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { IAMClient, UpdateLoginProfileCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
20
|
-
* // const { IAMClient, UpdateLoginProfileCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
21
|
-
* const client = new IAMClient(config);
|
|
22
|
-
* const command = new UpdateLoginProfileCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link UpdateLoginProfileCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link UpdateLoginProfileCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
31
8
|
class UpdateLoginProfileCommand extends smithy_client_1.Command {
|
|
32
|
-
// Start section: command_properties
|
|
33
|
-
// End section: command_properties
|
|
34
9
|
constructor(input) {
|
|
35
|
-
// Start section: command_constructor
|
|
36
10
|
super();
|
|
37
11
|
this.input = input;
|
|
38
|
-
// End section: command_constructor
|
|
39
12
|
}
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
44
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
45
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,56 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Replaces the existing list of server certificate thumbprints associated with an OpenID
|
|
10
|
-
* Connect (OIDC) provider resource object with a new list of thumbprints.</p>
|
|
11
|
-
* <p>The list that you pass with this operation completely replaces the existing list of
|
|
12
|
-
* thumbprints. (The lists are not merged.)</p>
|
|
13
|
-
* <p>Typically, you need to update a thumbprint only when the identity provider
|
|
14
|
-
* certificate changes, which occurs rarely. However, if the provider's certificate
|
|
15
|
-
* <i>does</i> change, any attempt to assume an IAM role that specifies
|
|
16
|
-
* the OIDC provider as a principal fails until the certificate thumbprint is
|
|
17
|
-
* updated.</p>
|
|
18
|
-
* <note>
|
|
19
|
-
* <p>Amazon Web Services secures communication with some OIDC identity providers (IdPs) through our
|
|
20
|
-
* library of trusted certificate authorities (CAs) instead of using a certificate
|
|
21
|
-
* thumbprint to verify your IdP server certificate. These OIDC IdPs include Google, and
|
|
22
|
-
* those that use an Amazon S3 bucket to host a JSON Web Key Set (JWKS) endpoint. In these
|
|
23
|
-
* cases, your legacy thumbprint remains in your configuration, but is no longer used for validation.</p>
|
|
24
|
-
* </note>
|
|
25
|
-
* <note>
|
|
26
|
-
* <p>Trust for the OIDC provider is derived from the provider certificate and is
|
|
27
|
-
* validated by the thumbprint. Therefore, it is best to limit access to the
|
|
28
|
-
* <code>UpdateOpenIDConnectProviderThumbprint</code> operation to highly
|
|
29
|
-
* privileged users.</p>
|
|
30
|
-
* </note>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { IAMClient, UpdateOpenIDConnectProviderThumbprintCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
35
|
-
* // const { IAMClient, UpdateOpenIDConnectProviderThumbprintCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
36
|
-
* const client = new IAMClient(config);
|
|
37
|
-
* const command = new UpdateOpenIDConnectProviderThumbprintCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link UpdateOpenIDConnectProviderThumbprintCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link UpdateOpenIDConnectProviderThumbprintCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
8
|
class UpdateOpenIDConnectProviderThumbprintCommand extends smithy_client_1.Command {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
9
|
constructor(input) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
10
|
super();
|
|
52
11
|
this.input = input;
|
|
53
|
-
// End section: command_constructor
|
|
54
12
|
}
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
59
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
60
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Updates the description or maximum session duration setting of a role.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { IAMClient, UpdateRoleCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
14
|
-
* // const { IAMClient, UpdateRoleCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
15
|
-
* const client = new IAMClient(config);
|
|
16
|
-
* const command = new UpdateRoleCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateRoleCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateRoleCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateRoleCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Use <a>UpdateRole</a> instead.</p>
|
|
10
|
-
* <p>Modifies only the description of a role. This operation performs the same function as
|
|
11
|
-
* the <code>Description</code> parameter in the <code>UpdateRole</code> operation.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { IAMClient, UpdateRoleDescriptionCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
16
|
-
* // const { IAMClient, UpdateRoleDescriptionCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
17
|
-
* const client = new IAMClient(config);
|
|
18
|
-
* const command = new UpdateRoleDescriptionCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link UpdateRoleDescriptionCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link UpdateRoleDescriptionCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class UpdateRoleDescriptionCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Updates the metadata document for an existing SAML provider resource object.</p>
|
|
10
|
-
* <note>
|
|
11
|
-
* <p>This operation requires <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4</a>.</p>
|
|
12
|
-
* </note>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { IAMClient, UpdateSAMLProviderCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
17
|
-
* // const { IAMClient, UpdateSAMLProviderCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
18
|
-
* const client = new IAMClient(config);
|
|
19
|
-
* const command = new UpdateSAMLProviderCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link UpdateSAMLProviderCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link UpdateSAMLProviderCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
8
|
class UpdateSAMLProviderCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
9
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
10
|
super();
|
|
34
11
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,41 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Sets the status of an IAM user's SSH public key to active or inactive. SSH public
|
|
10
|
-
* keys that are inactive cannot be used for authentication. This operation can be used to
|
|
11
|
-
* disable a user's SSH public key as part of a key rotation work flow.</p>
|
|
12
|
-
* <p>The SSH public key affected by this operation is used only for authenticating the
|
|
13
|
-
* associated IAM user to an CodeCommit repository. For more information about using SSH keys
|
|
14
|
-
* to authenticate to an CodeCommit repository, see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-credentials-ssh.html">Set up CodeCommit for
|
|
15
|
-
* SSH connections</a> in the <i>CodeCommit User Guide</i>.</p>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { IAMClient, UpdateSSHPublicKeyCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
20
|
-
* // const { IAMClient, UpdateSSHPublicKeyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
21
|
-
* const client = new IAMClient(config);
|
|
22
|
-
* const command = new UpdateSSHPublicKeyCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link UpdateSSHPublicKeyCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link UpdateSSHPublicKeyCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
31
8
|
class UpdateSSHPublicKeyCommand extends smithy_client_1.Command {
|
|
32
|
-
// Start section: command_properties
|
|
33
|
-
// End section: command_properties
|
|
34
9
|
constructor(input) {
|
|
35
|
-
// Start section: command_constructor
|
|
36
10
|
super();
|
|
37
11
|
this.input = input;
|
|
38
|
-
// End section: command_constructor
|
|
39
12
|
}
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
44
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
45
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,54 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Updates the name and/or the path of the specified server certificate stored in
|
|
10
|
-
* IAM.</p>
|
|
11
|
-
* <p>For more information about working with server certificates, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html">Working
|
|
12
|
-
* with server certificates</a> in the <i>IAM User Guide</i>. This
|
|
13
|
-
* topic also includes a list of Amazon Web Services services that can use the server certificates that
|
|
14
|
-
* you manage with IAM.</p>
|
|
15
|
-
* <important>
|
|
16
|
-
* <p>You should understand the implications of changing a server certificate's path or
|
|
17
|
-
* name. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs_manage.html#RenamingServerCerts">Renaming a server certificate</a> in the
|
|
18
|
-
* <i>IAM User Guide</i>.</p>
|
|
19
|
-
* </important>
|
|
20
|
-
* <note>
|
|
21
|
-
* <p>The person making the request (the principal), must have permission to change the
|
|
22
|
-
* server certificate with the old name and the new name. For example, to change the
|
|
23
|
-
* certificate named <code>ProductionCert</code> to <code>ProdCert</code>, the
|
|
24
|
-
* principal must have a policy that allows them to update both certificates. If the
|
|
25
|
-
* principal has permission to update the <code>ProductionCert</code> group, but not
|
|
26
|
-
* the <code>ProdCert</code> certificate, then the update fails. For more information
|
|
27
|
-
* about permissions, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html">Access management</a> in the <i>IAM User Guide</i>.</p>
|
|
28
|
-
* </note>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { IAMClient, UpdateServerCertificateCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
33
|
-
* // const { IAMClient, UpdateServerCertificateCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
34
|
-
* const client = new IAMClient(config);
|
|
35
|
-
* const command = new UpdateServerCertificateCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link UpdateServerCertificateCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link UpdateServerCertificateCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
8
|
class UpdateServerCertificateCommand extends smithy_client_1.Command {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
9
|
constructor(input) {
|
|
48
|
-
// Start section: command_constructor
|
|
49
10
|
super();
|
|
50
11
|
this.input = input;
|
|
51
|
-
// End section: command_constructor
|
|
52
12
|
}
|
|
53
|
-
/**
|
|
54
|
-
* @internal
|
|
55
|
-
*/
|
|
56
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
57
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
58
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Sets the status of a service-specific credential to <code>Active</code> or
|
|
10
|
-
* <code>Inactive</code>. Service-specific credentials that are inactive cannot be used
|
|
11
|
-
* for authentication to the service. This operation can be used to disable a user's
|
|
12
|
-
* service-specific credential as part of a credential rotation work flow.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { IAMClient, UpdateServiceSpecificCredentialCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
17
|
-
* // const { IAMClient, UpdateServiceSpecificCredentialCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
18
|
-
* const client = new IAMClient(config);
|
|
19
|
-
* const command = new UpdateServiceSpecificCredentialCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link UpdateServiceSpecificCredentialCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link UpdateServiceSpecificCredentialCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
8
|
class UpdateServiceSpecificCredentialCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
9
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
10
|
super();
|
|
34
11
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,42 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Changes the status of the specified user signing certificate from active to disabled,
|
|
10
|
-
* or vice versa. This operation can be used to disable an IAM user's signing certificate
|
|
11
|
-
* as part of a certificate rotation work flow.</p>
|
|
12
|
-
* <p>If the <code>UserName</code> field is not specified, the user name is determined
|
|
13
|
-
* implicitly based on the Amazon Web Services access key ID used to sign the request. This operation
|
|
14
|
-
* works for access keys under the Amazon Web Services account. Consequently, you can use this operation
|
|
15
|
-
* to manage Amazon Web Services account root user credentials even if the Amazon Web Services account has no
|
|
16
|
-
* associated users.</p>
|
|
17
|
-
* @example
|
|
18
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
-
* ```javascript
|
|
20
|
-
* import { IAMClient, UpdateSigningCertificateCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
21
|
-
* // const { IAMClient, UpdateSigningCertificateCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
22
|
-
* const client = new IAMClient(config);
|
|
23
|
-
* const command = new UpdateSigningCertificateCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link UpdateSigningCertificateCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link UpdateSigningCertificateCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
8
|
class UpdateSigningCertificateCommand extends smithy_client_1.Command {
|
|
33
|
-
// Start section: command_properties
|
|
34
|
-
// End section: command_properties
|
|
35
9
|
constructor(input) {
|
|
36
|
-
// Start section: command_constructor
|
|
37
10
|
super();
|
|
38
11
|
this.input = input;
|
|
39
|
-
// End section: command_constructor
|
|
40
12
|
}
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
44
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
45
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
46
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,47 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Updates the name and/or the path of the specified IAM user.</p>
|
|
10
|
-
* <important>
|
|
11
|
-
* <p> You should understand the implications of changing an IAM user's path or name.
|
|
12
|
-
* For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_users_manage.html#id_users_renaming">Renaming an IAM
|
|
13
|
-
* user</a> and <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_groups_manage_rename.html">Renaming an IAM
|
|
14
|
-
* group</a> in the <i>IAM User Guide</i>.</p>
|
|
15
|
-
* </important>
|
|
16
|
-
* <note>
|
|
17
|
-
* <p> To change a user name, the requester must have appropriate permissions on both
|
|
18
|
-
* the source object and the target object. For example, to change Bob to Robert, the
|
|
19
|
-
* entity making the request must have permission on Bob and Robert, or must have
|
|
20
|
-
* permission on all (*). For more information about permissions, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/PermissionsAndPolicies.html">Permissions and policies</a>. </p>
|
|
21
|
-
* </note>
|
|
22
|
-
* @example
|
|
23
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
24
|
-
* ```javascript
|
|
25
|
-
* import { IAMClient, UpdateUserCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
26
|
-
* // const { IAMClient, UpdateUserCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
27
|
-
* const client = new IAMClient(config);
|
|
28
|
-
* const command = new UpdateUserCommand(input);
|
|
29
|
-
* const response = await client.send(command);
|
|
30
|
-
* ```
|
|
31
|
-
*
|
|
32
|
-
* @see {@link UpdateUserCommandInput} for command's `input` shape.
|
|
33
|
-
* @see {@link UpdateUserCommandOutput} for command's `response` shape.
|
|
34
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
35
|
-
*
|
|
36
|
-
*/
|
|
37
8
|
class UpdateUserCommand extends smithy_client_1.Command {
|
|
38
|
-
// Start section: command_properties
|
|
39
|
-
// End section: command_properties
|
|
40
9
|
constructor(input) {
|
|
41
|
-
// Start section: command_constructor
|
|
42
10
|
super();
|
|
43
11
|
this.input = input;
|
|
44
|
-
// End section: command_constructor
|
|
45
12
|
}
|
|
46
|
-
/**
|
|
47
|
-
* @internal
|
|
48
|
-
*/
|
|
49
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
50
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
51
15
|
const stack = clientStack.concat(this.middlewareStack);
|