@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,40 +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_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns information about the service-specific credentials associated with the
|
|
10
|
-
* specified IAM user. If none exists, the operation returns an empty list. The
|
|
11
|
-
* service-specific credentials returned by this operation are used only for authenticating
|
|
12
|
-
* the IAM user to a specific service. For more information about using service-specific
|
|
13
|
-
* credentials to authenticate to an Amazon Web Services service, see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-gc.html">Set up service-specific credentials</a>
|
|
14
|
-
* in the CodeCommit User Guide.</p>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { IAMClient, ListServiceSpecificCredentialsCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
19
|
-
* // const { IAMClient, ListServiceSpecificCredentialsCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
20
|
-
* const client = new IAMClient(config);
|
|
21
|
-
* const command = new ListServiceSpecificCredentialsCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link ListServiceSpecificCredentialsCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link ListServiceSpecificCredentialsCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
8
|
class ListServiceSpecificCredentialsCommand extends smithy_client_1.Command {
|
|
31
|
-
// Start section: command_properties
|
|
32
|
-
// End section: command_properties
|
|
33
9
|
constructor(input) {
|
|
34
|
-
// Start section: command_constructor
|
|
35
10
|
super();
|
|
36
11
|
this.input = input;
|
|
37
|
-
// End section: command_constructor
|
|
38
12
|
}
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
43
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
44
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -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_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns information about the signing certificates associated with the specified IAM
|
|
10
|
-
* user. If none exists, the operation returns an empty list.</p>
|
|
11
|
-
* <p>Although each user is limited to a small number of signing certificates, you can still
|
|
12
|
-
* paginate the results using the <code>MaxItems</code> and <code>Marker</code>
|
|
13
|
-
* parameters.</p>
|
|
14
|
-
* <p>If the <code>UserName</code> field is not specified, the user name is determined
|
|
15
|
-
* implicitly based on the Amazon Web Services access key ID used to sign the request for this operation.
|
|
16
|
-
* This operation works for access keys under the Amazon Web Services account. Consequently, you can use
|
|
17
|
-
* this operation to manage Amazon Web Services account root user credentials even if the Amazon Web Services account
|
|
18
|
-
* has no associated users.</p>
|
|
19
|
-
* @example
|
|
20
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
21
|
-
* ```javascript
|
|
22
|
-
* import { IAMClient, ListSigningCertificatesCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
23
|
-
* // const { IAMClient, ListSigningCertificatesCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
24
|
-
* const client = new IAMClient(config);
|
|
25
|
-
* const command = new ListSigningCertificatesCommand(input);
|
|
26
|
-
* const response = await client.send(command);
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
|
-
* @see {@link ListSigningCertificatesCommandInput} for command's `input` shape.
|
|
30
|
-
* @see {@link ListSigningCertificatesCommandOutput} for command's `response` shape.
|
|
31
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
8
|
class ListSigningCertificatesCommand 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,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_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Lists the names of the inline policies embedded in the specified IAM user.</p>
|
|
10
|
-
* <p>An IAM user can also have managed policies attached to it. To list the managed
|
|
11
|
-
* policies that are attached to a user, use <a>ListAttachedUserPolicies</a>.
|
|
12
|
-
* For more information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
|
|
13
|
-
* policies</a> in the <i>IAM User Guide</i>.</p>
|
|
14
|
-
* <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
|
|
15
|
-
* parameters. If there are no inline policies embedded with the specified user, the
|
|
16
|
-
* operation returns an empty list.</p>
|
|
17
|
-
* @example
|
|
18
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
-
* ```javascript
|
|
20
|
-
* import { IAMClient, ListUserPoliciesCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
21
|
-
* // const { IAMClient, ListUserPoliciesCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
22
|
-
* const client = new IAMClient(config);
|
|
23
|
-
* const command = new ListUserPoliciesCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link ListUserPoliciesCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link ListUserPoliciesCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
8
|
class ListUserPoliciesCommand 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,36 +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_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Lists the tags that are attached to the specified IAM user. The returned list of tags is sorted by tag key. For more information about tagging, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html">Tagging IAM resources</a> in the
|
|
10
|
-
* <i>IAM User Guide</i>.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { IAMClient, ListUserTagsCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
15
|
-
* // const { IAMClient, ListUserTagsCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
16
|
-
* const client = new IAMClient(config);
|
|
17
|
-
* const command = new ListUserTagsCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link ListUserTagsCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link ListUserTagsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class ListUserTagsCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,43 +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_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Lists the IAM users that have the specified path prefix. If no path prefix is
|
|
10
|
-
* specified, the operation returns all users in the Amazon Web Services account. If there are none, the
|
|
11
|
-
* operation returns an empty list.</p>
|
|
12
|
-
* <note>
|
|
13
|
-
* <p>IAM resource-listing operations return a subset of the available
|
|
14
|
-
* attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for a user, see <a>GetUser</a>.</p>
|
|
15
|
-
* </note>
|
|
16
|
-
* <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
|
|
17
|
-
* parameters.</p>
|
|
18
|
-
* @example
|
|
19
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
-
* ```javascript
|
|
21
|
-
* import { IAMClient, ListUsersCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
22
|
-
* // const { IAMClient, ListUsersCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
23
|
-
* const client = new IAMClient(config);
|
|
24
|
-
* const command = new ListUsersCommand(input);
|
|
25
|
-
* const response = await client.send(command);
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @see {@link ListUsersCommandInput} for command's `input` shape.
|
|
29
|
-
* @see {@link ListUsersCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
33
8
|
class ListUsersCommand extends smithy_client_1.Command {
|
|
34
|
-
// Start section: command_properties
|
|
35
|
-
// End section: command_properties
|
|
36
9
|
constructor(input) {
|
|
37
|
-
// Start section: command_constructor
|
|
38
10
|
super();
|
|
39
11
|
this.input = input;
|
|
40
|
-
// End section: command_constructor
|
|
41
12
|
}
|
|
42
|
-
/**
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
45
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
46
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
47
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,45 +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_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Lists the virtual MFA devices defined in the Amazon Web Services account by assignment status. If
|
|
10
|
-
* you do not specify an assignment status, the operation returns a list of all virtual MFA
|
|
11
|
-
* devices. Assignment status can be <code>Assigned</code>, <code>Unassigned</code>, or
|
|
12
|
-
* <code>Any</code>.</p>
|
|
13
|
-
* <note>
|
|
14
|
-
* <p>IAM resource-listing operations return a subset of the available
|
|
15
|
-
* attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for a virtual MFA device, see
|
|
16
|
-
* <a>ListVirtualMFADevices</a>.</p>
|
|
17
|
-
* </note>
|
|
18
|
-
* <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
|
|
19
|
-
* parameters.</p>
|
|
20
|
-
* @example
|
|
21
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
22
|
-
* ```javascript
|
|
23
|
-
* import { IAMClient, ListVirtualMFADevicesCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
24
|
-
* // const { IAMClient, ListVirtualMFADevicesCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
25
|
-
* const client = new IAMClient(config);
|
|
26
|
-
* const command = new ListVirtualMFADevicesCommand(input);
|
|
27
|
-
* const response = await client.send(command);
|
|
28
|
-
* ```
|
|
29
|
-
*
|
|
30
|
-
* @see {@link ListVirtualMFADevicesCommandInput} for command's `input` shape.
|
|
31
|
-
* @see {@link ListVirtualMFADevicesCommandOutput} for command's `response` shape.
|
|
32
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
33
|
-
*
|
|
34
|
-
*/
|
|
35
8
|
class ListVirtualMFADevicesCommand extends smithy_client_1.Command {
|
|
36
|
-
// Start section: command_properties
|
|
37
|
-
// End section: command_properties
|
|
38
9
|
constructor(input) {
|
|
39
|
-
// Start section: command_constructor
|
|
40
10
|
super();
|
|
41
11
|
this.input = input;
|
|
42
|
-
// End section: command_constructor
|
|
43
12
|
}
|
|
44
|
-
/**
|
|
45
|
-
* @internal
|
|
46
|
-
*/
|
|
47
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
48
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
49
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_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Adds or updates an inline policy document that is embedded in the specified IAM
|
|
10
|
-
* group.</p>
|
|
11
|
-
* <p>A user can also have managed policies attached to it. To attach a managed policy to a
|
|
12
|
-
* group, use <a>AttachGroupPolicy</a>. To create a new managed policy, use
|
|
13
|
-
* <a>CreatePolicy</a>. For information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed
|
|
14
|
-
* policies and inline policies</a> in the
|
|
15
|
-
* <i>IAM User Guide</i>.</p>
|
|
16
|
-
* <p>For information about the maximum number of inline policies that you can embed in a
|
|
17
|
-
* group, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html">IAM and STS quotas</a> in the <i>IAM User Guide</i>.</p>
|
|
18
|
-
* <note>
|
|
19
|
-
* <p>Because policy documents can be large, you should use POST rather than GET when
|
|
20
|
-
* calling <code>PutGroupPolicy</code>. For general information about using the Query
|
|
21
|
-
* API with IAM, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/IAM_UsingQueryAPI.html">Making query requests</a> in the
|
|
22
|
-
* <i>IAM User Guide</i>.</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, PutGroupPolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
28
|
-
* // const { IAMClient, PutGroupPolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
29
|
-
* const client = new IAMClient(config);
|
|
30
|
-
* const command = new PutGroupPolicyCommand(input);
|
|
31
|
-
* const response = await client.send(command);
|
|
32
|
-
* ```
|
|
33
|
-
*
|
|
34
|
-
* @see {@link PutGroupPolicyCommandInput} for command's `input` shape.
|
|
35
|
-
* @see {@link PutGroupPolicyCommandOutput} for command's `response` shape.
|
|
36
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
37
|
-
*
|
|
38
|
-
*/
|
|
39
8
|
class PutGroupPolicyCommand 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,46 +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_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Adds or updates the policy that is specified as the IAM role's permissions boundary.
|
|
10
|
-
* You can use an Amazon Web Services managed policy or a customer managed policy to set the boundary for
|
|
11
|
-
* a role. Use the boundary to control the maximum permissions that the role can have.
|
|
12
|
-
* Setting a permissions boundary is an advanced feature that can affect the permissions
|
|
13
|
-
* for the role.</p>
|
|
14
|
-
* <p>You cannot set the boundary for a service-linked role. </p>
|
|
15
|
-
* <important>
|
|
16
|
-
* <p>Policies used as permissions boundaries do not provide permissions. You must also
|
|
17
|
-
* attach a permissions policy to the role. To learn how the effective permissions for
|
|
18
|
-
* a role are evaluated, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html">IAM JSON policy
|
|
19
|
-
* evaluation logic</a> in the IAM User Guide. </p>
|
|
20
|
-
* </important>
|
|
21
|
-
* @example
|
|
22
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
23
|
-
* ```javascript
|
|
24
|
-
* import { IAMClient, PutRolePermissionsBoundaryCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
25
|
-
* // const { IAMClient, PutRolePermissionsBoundaryCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
26
|
-
* const client = new IAMClient(config);
|
|
27
|
-
* const command = new PutRolePermissionsBoundaryCommand(input);
|
|
28
|
-
* const response = await client.send(command);
|
|
29
|
-
* ```
|
|
30
|
-
*
|
|
31
|
-
* @see {@link PutRolePermissionsBoundaryCommandInput} for command's `input` shape.
|
|
32
|
-
* @see {@link PutRolePermissionsBoundaryCommandOutput} for command's `response` shape.
|
|
33
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
34
|
-
*
|
|
35
|
-
*/
|
|
36
8
|
class PutRolePermissionsBoundaryCommand extends smithy_client_1.Command {
|
|
37
|
-
// Start section: command_properties
|
|
38
|
-
// End section: command_properties
|
|
39
9
|
constructor(input) {
|
|
40
|
-
// Start section: command_constructor
|
|
41
10
|
super();
|
|
42
11
|
this.input = input;
|
|
43
|
-
// End section: command_constructor
|
|
44
12
|
}
|
|
45
|
-
/**
|
|
46
|
-
* @internal
|
|
47
|
-
*/
|
|
48
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
49
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
50
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_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Adds or updates an inline policy document that is embedded in the specified IAM
|
|
10
|
-
* role.</p>
|
|
11
|
-
* <p>When you embed an inline policy in a role, the inline policy is used as part of the
|
|
12
|
-
* role's access (permissions) policy. The role's trust policy is created at the same time
|
|
13
|
-
* as the role, using <a>CreateRole</a>. You can update a role's trust policy
|
|
14
|
-
* using <a>UpdateAssumeRolePolicy</a>. For more information about IAM roles,
|
|
15
|
-
* see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplevel.html">Using roles to
|
|
16
|
-
* delegate permissions and federate identities</a>.</p>
|
|
17
|
-
* <p>A role can also have a managed policy attached to it. To attach a managed policy to a
|
|
18
|
-
* role, use <a>AttachRolePolicy</a>. To create a new managed policy, use <a>CreatePolicy</a>. For information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed
|
|
19
|
-
* policies and inline policies</a> in the
|
|
20
|
-
* <i>IAM User Guide</i>.</p>
|
|
21
|
-
* <p>For information about the maximum number of inline policies that you can embed with a
|
|
22
|
-
* role, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html">IAM and STS quotas</a> in the <i>IAM User Guide</i>.</p>
|
|
23
|
-
* <note>
|
|
24
|
-
* <p>Because policy documents can be large, you should use POST rather than GET when
|
|
25
|
-
* calling <code>PutRolePolicy</code>. For general information about using the Query
|
|
26
|
-
* API with IAM, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/IAM_UsingQueryAPI.html">Making query requests</a> in the
|
|
27
|
-
* <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, PutRolePolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
33
|
-
* // const { IAMClient, PutRolePolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
34
|
-
* const client = new IAMClient(config);
|
|
35
|
-
* const command = new PutRolePolicyCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link PutRolePolicyCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link PutRolePolicyCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
8
|
class PutRolePolicyCommand 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,45 +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_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Adds or updates the policy that is specified as the IAM user's permissions boundary.
|
|
10
|
-
* You can use an Amazon Web Services managed policy or a customer managed policy to set the boundary for
|
|
11
|
-
* a user. Use the boundary to control the maximum permissions that the user can have.
|
|
12
|
-
* Setting a permissions boundary is an advanced feature that can affect the permissions
|
|
13
|
-
* for the user.</p>
|
|
14
|
-
* <important>
|
|
15
|
-
* <p>Policies that are used as permissions boundaries do not provide permissions. You
|
|
16
|
-
* must also attach a permissions policy to the user. To learn how the effective
|
|
17
|
-
* permissions for a user are evaluated, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html">IAM JSON policy
|
|
18
|
-
* evaluation logic</a> in the IAM User Guide. </p>
|
|
19
|
-
* </important>
|
|
20
|
-
* @example
|
|
21
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
22
|
-
* ```javascript
|
|
23
|
-
* import { IAMClient, PutUserPermissionsBoundaryCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
24
|
-
* // const { IAMClient, PutUserPermissionsBoundaryCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
25
|
-
* const client = new IAMClient(config);
|
|
26
|
-
* const command = new PutUserPermissionsBoundaryCommand(input);
|
|
27
|
-
* const response = await client.send(command);
|
|
28
|
-
* ```
|
|
29
|
-
*
|
|
30
|
-
* @see {@link PutUserPermissionsBoundaryCommandInput} for command's `input` shape.
|
|
31
|
-
* @see {@link PutUserPermissionsBoundaryCommandOutput} for command's `response` shape.
|
|
32
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
33
|
-
*
|
|
34
|
-
*/
|
|
35
8
|
class PutUserPermissionsBoundaryCommand extends smithy_client_1.Command {
|
|
36
|
-
// Start section: command_properties
|
|
37
|
-
// End section: command_properties
|
|
38
9
|
constructor(input) {
|
|
39
|
-
// Start section: command_constructor
|
|
40
10
|
super();
|
|
41
11
|
this.input = input;
|
|
42
|
-
// End section: command_constructor
|
|
43
12
|
}
|
|
44
|
-
/**
|
|
45
|
-
* @internal
|
|
46
|
-
*/
|
|
47
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
48
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
49
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_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Adds or updates an inline policy document that is embedded in the specified IAM
|
|
10
|
-
* user.</p>
|
|
11
|
-
* <p>An IAM user can also have a managed policy attached to it. To attach a managed
|
|
12
|
-
* policy to a user, use <a>AttachUserPolicy</a>. To create a new managed
|
|
13
|
-
* policy, use <a>CreatePolicy</a>. For information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed
|
|
14
|
-
* policies and inline policies</a> in the
|
|
15
|
-
* <i>IAM User Guide</i>.</p>
|
|
16
|
-
* <p>For information about the maximum number of inline policies that you can embed in a
|
|
17
|
-
* user, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html">IAM and STS quotas</a> in the <i>IAM User Guide</i>.</p>
|
|
18
|
-
* <note>
|
|
19
|
-
* <p>Because policy documents can be large, you should use POST rather than GET when
|
|
20
|
-
* calling <code>PutUserPolicy</code>. For general information about using the Query
|
|
21
|
-
* API with IAM, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/IAM_UsingQueryAPI.html">Making query requests</a> in the
|
|
22
|
-
* <i>IAM User Guide</i>.</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, PutUserPolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
28
|
-
* // const { IAMClient, PutUserPolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
29
|
-
* const client = new IAMClient(config);
|
|
30
|
-
* const command = new PutUserPolicyCommand(input);
|
|
31
|
-
* const response = await client.send(command);
|
|
32
|
-
* ```
|
|
33
|
-
*
|
|
34
|
-
* @see {@link PutUserPolicyCommandInput} for command's `input` shape.
|
|
35
|
-
* @see {@link PutUserPolicyCommandOutput} for command's `response` shape.
|
|
36
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
37
|
-
*
|
|
38
|
-
*/
|
|
39
8
|
class PutUserPolicyCommand 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,39 +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_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Removes the specified client ID (also known as audience) from the list of client IDs
|
|
10
|
-
* registered for the specified IAM OpenID Connect (OIDC) provider resource
|
|
11
|
-
* object.</p>
|
|
12
|
-
* <p>This operation is idempotent; it does not fail or return an error if you try to remove
|
|
13
|
-
* a client ID that does not exist.</p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { IAMClient, RemoveClientIDFromOpenIDConnectProviderCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
18
|
-
* // const { IAMClient, RemoveClientIDFromOpenIDConnectProviderCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
19
|
-
* const client = new IAMClient(config);
|
|
20
|
-
* const command = new RemoveClientIDFromOpenIDConnectProviderCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link RemoveClientIDFromOpenIDConnectProviderCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link RemoveClientIDFromOpenIDConnectProviderCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
8
|
class RemoveClientIDFromOpenIDConnectProviderCommand extends smithy_client_1.Command {
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
9
|
constructor(input) {
|
|
33
|
-
// Start section: command_constructor
|
|
34
10
|
super();
|
|
35
11
|
this.input = input;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -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_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Removes the specified IAM role from the specified EC2 instance profile.</p>
|
|
10
|
-
* <important>
|
|
11
|
-
* <p>Make sure that you do not have any Amazon EC2 instances running with the role you
|
|
12
|
-
* are about to remove from the instance profile. Removing a role from an instance
|
|
13
|
-
* profile that is associated with a running instance might break any applications
|
|
14
|
-
* running on the instance.</p>
|
|
15
|
-
* </important>
|
|
16
|
-
* <p> For more information about IAM roles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html">Working with roles</a>. For more
|
|
17
|
-
* information about instance profiles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/AboutInstanceProfiles.html">About instance
|
|
18
|
-
* profiles</a>.</p>
|
|
19
|
-
* @example
|
|
20
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
21
|
-
* ```javascript
|
|
22
|
-
* import { IAMClient, RemoveRoleFromInstanceProfileCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
23
|
-
* // const { IAMClient, RemoveRoleFromInstanceProfileCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
24
|
-
* const client = new IAMClient(config);
|
|
25
|
-
* const command = new RemoveRoleFromInstanceProfileCommand(input);
|
|
26
|
-
* const response = await client.send(command);
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
|
-
* @see {@link RemoveRoleFromInstanceProfileCommandInput} for command's `input` shape.
|
|
30
|
-
* @see {@link RemoveRoleFromInstanceProfileCommandOutput} for command's `response` shape.
|
|
31
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
8
|
class RemoveRoleFromInstanceProfileCommand 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,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_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Removes the specified user from the specified group.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { IAMClient, RemoveUserFromGroupCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
14
|
-
* // const { IAMClient, RemoveUserFromGroupCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
15
|
-
* const client = new IAMClient(config);
|
|
16
|
-
* const command = new RemoveUserFromGroupCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link RemoveUserFromGroupCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link RemoveUserFromGroupCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class RemoveUserFromGroupCommand 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);
|