@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,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>Retrieves the specified inline policy document that is embedded in the specified IAM
|
|
10
|
-
* user.</p>
|
|
11
|
-
* <note>
|
|
12
|
-
* <p>Policies returned by this operation are URL-encoded compliant
|
|
13
|
-
* with <a href="https://tools.ietf.org/html/rfc3986">RFC 3986</a>. You can use a URL
|
|
14
|
-
* decoding method to convert the policy back to plain JSON text. For example, if you use Java, you
|
|
15
|
-
* can use the <code>decode</code> method of the <code>java.net.URLDecoder</code> utility class in
|
|
16
|
-
* the Java SDK. Other languages and SDKs provide similar functionality.</p>
|
|
17
|
-
* </note>
|
|
18
|
-
* <p>An IAM user can also have managed policies attached to it. To retrieve a managed
|
|
19
|
-
* policy document that is attached to a user, use <a>GetPolicy</a> to determine
|
|
20
|
-
* the policy's default version. Then use <a>GetPolicyVersion</a> to retrieve
|
|
21
|
-
* the policy document.</p>
|
|
22
|
-
* <p>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
|
|
23
|
-
* policies</a> in the <i>IAM User Guide</i>.</p>
|
|
24
|
-
* @example
|
|
25
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
26
|
-
* ```javascript
|
|
27
|
-
* import { IAMClient, GetUserPolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
28
|
-
* // const { IAMClient, GetUserPolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
29
|
-
* const client = new IAMClient(config);
|
|
30
|
-
* const command = new GetUserPolicyCommand(input);
|
|
31
|
-
* const response = await client.send(command);
|
|
32
|
-
* ```
|
|
33
|
-
*
|
|
34
|
-
* @see {@link GetUserPolicyCommandInput} for command's `input` shape.
|
|
35
|
-
* @see {@link GetUserPolicyCommandOutput} for command's `response` shape.
|
|
36
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
37
|
-
*
|
|
38
|
-
*/
|
|
39
8
|
class GetUserPolicyCommand 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,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_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns information about the access key IDs associated with the specified IAM user.
|
|
10
|
-
* If there is none, the operation returns an empty list.</p>
|
|
11
|
-
* <p>Although each user is limited to a small number of keys, you can still paginate the
|
|
12
|
-
* results using the <code>MaxItems</code> and <code>Marker</code> parameters.</p>
|
|
13
|
-
* <p>If the <code>UserName</code> field is not specified, the user name is determined
|
|
14
|
-
* implicitly based on the Amazon Web Services access key ID used to sign the request. This operation
|
|
15
|
-
* works for access keys under the Amazon Web Services account. Consequently, you can use this operation
|
|
16
|
-
* to manage Amazon Web Services account root user credentials even if the Amazon Web Services account has no
|
|
17
|
-
* associated users.</p>
|
|
18
|
-
* <note>
|
|
19
|
-
* <p>To ensure the security of your Amazon Web Services account, the secret access key is accessible
|
|
20
|
-
* only during key and user creation.</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, ListAccessKeysCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
26
|
-
* // const { IAMClient, ListAccessKeysCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
27
|
-
* const client = new IAMClient(config);
|
|
28
|
-
* const command = new ListAccessKeysCommand(input);
|
|
29
|
-
* const response = await client.send(command);
|
|
30
|
-
* ```
|
|
31
|
-
*
|
|
32
|
-
* @see {@link ListAccessKeysCommandInput} for command's `input` shape.
|
|
33
|
-
* @see {@link ListAccessKeysCommandOutput} for command's `response` shape.
|
|
34
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
35
|
-
*
|
|
36
|
-
*/
|
|
37
8
|
class ListAccessKeysCommand 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);
|
|
@@ -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_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Lists the account alias associated with the Amazon Web Services account (Note: you can have only
|
|
10
|
-
* one). For information about using an Amazon Web Services account alias, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/AccountAlias.html">Using an alias for your
|
|
11
|
-
* Amazon Web Services account ID</a> in the <i>IAM User Guide</i>.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { IAMClient, ListAccountAliasesCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
16
|
-
* // const { IAMClient, ListAccountAliasesCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
17
|
-
* const client = new IAMClient(config);
|
|
18
|
-
* const command = new ListAccountAliasesCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link ListAccountAliasesCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link ListAccountAliasesCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class ListAccountAliasesCommand 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,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>Lists all managed policies that are attached to the specified IAM group.</p>
|
|
10
|
-
* <p>An IAM group can also have inline policies embedded with it. To list the inline
|
|
11
|
-
* policies for a group, use <a>ListGroupPolicies</a>. For information about
|
|
12
|
-
* 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. You can use the <code>PathPrefix</code> parameter to limit the list of
|
|
16
|
-
* policies to only those matching the specified path prefix. If there are no policies
|
|
17
|
-
* attached to the specified group (or none that match the specified path prefix), the
|
|
18
|
-
* operation returns an empty list.</p>
|
|
19
|
-
* @example
|
|
20
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
21
|
-
* ```javascript
|
|
22
|
-
* import { IAMClient, ListAttachedGroupPoliciesCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
23
|
-
* // const { IAMClient, ListAttachedGroupPoliciesCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
24
|
-
* const client = new IAMClient(config);
|
|
25
|
-
* const command = new ListAttachedGroupPoliciesCommand(input);
|
|
26
|
-
* const response = await client.send(command);
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
|
-
* @see {@link ListAttachedGroupPoliciesCommandInput} for command's `input` shape.
|
|
30
|
-
* @see {@link ListAttachedGroupPoliciesCommandOutput} for command's `response` shape.
|
|
31
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
8
|
class ListAttachedGroupPoliciesCommand 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,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>Lists all managed policies that are attached to the specified IAM role.</p>
|
|
10
|
-
* <p>An IAM role can also have inline policies embedded with it. To list the inline
|
|
11
|
-
* policies for a role, use <a>ListRolePolicies</a>. For information about
|
|
12
|
-
* 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. You can use the <code>PathPrefix</code> parameter to limit the list of
|
|
16
|
-
* policies to only those matching the specified path prefix. If there are no policies
|
|
17
|
-
* attached to the specified role (or none that match the specified path prefix), the
|
|
18
|
-
* operation returns an empty list.</p>
|
|
19
|
-
* @example
|
|
20
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
21
|
-
* ```javascript
|
|
22
|
-
* import { IAMClient, ListAttachedRolePoliciesCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
23
|
-
* // const { IAMClient, ListAttachedRolePoliciesCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
24
|
-
* const client = new IAMClient(config);
|
|
25
|
-
* const command = new ListAttachedRolePoliciesCommand(input);
|
|
26
|
-
* const response = await client.send(command);
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
|
-
* @see {@link ListAttachedRolePoliciesCommandInput} for command's `input` shape.
|
|
30
|
-
* @see {@link ListAttachedRolePoliciesCommandOutput} for command's `response` shape.
|
|
31
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
8
|
class ListAttachedRolePoliciesCommand 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,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>Lists all managed policies that are attached to the specified IAM user.</p>
|
|
10
|
-
* <p>An IAM user can also have inline policies embedded with it. To list the inline
|
|
11
|
-
* policies for a user, use <a>ListUserPolicies</a>. For information about
|
|
12
|
-
* 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. You can use the <code>PathPrefix</code> parameter to limit the list of
|
|
16
|
-
* policies to only those matching the specified path prefix. If there are no policies
|
|
17
|
-
* attached to the specified group (or none that match the specified path prefix), the
|
|
18
|
-
* operation returns an empty list.</p>
|
|
19
|
-
* @example
|
|
20
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
21
|
-
* ```javascript
|
|
22
|
-
* import { IAMClient, ListAttachedUserPoliciesCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
23
|
-
* // const { IAMClient, ListAttachedUserPoliciesCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
24
|
-
* const client = new IAMClient(config);
|
|
25
|
-
* const command = new ListAttachedUserPoliciesCommand(input);
|
|
26
|
-
* const response = await client.send(command);
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
|
-
* @see {@link ListAttachedUserPoliciesCommandInput} for command's `input` shape.
|
|
30
|
-
* @see {@link ListAttachedUserPoliciesCommandOutput} for command's `response` shape.
|
|
31
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
8
|
class ListAttachedUserPoliciesCommand 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 all IAM users, groups, and roles that the specified managed policy is attached
|
|
10
|
-
* to.</p>
|
|
11
|
-
* <p>You can use the optional <code>EntityFilter</code> parameter to limit the results to a
|
|
12
|
-
* particular type of entity (users, groups, or roles). For example, to list only the roles
|
|
13
|
-
* that are attached to the specified policy, set <code>EntityFilter</code> to
|
|
14
|
-
* <code>Role</code>.</p>
|
|
15
|
-
* <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
|
|
16
|
-
* parameters.</p>
|
|
17
|
-
* @example
|
|
18
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
-
* ```javascript
|
|
20
|
-
* import { IAMClient, ListEntitiesForPolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
21
|
-
* // const { IAMClient, ListEntitiesForPolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
22
|
-
* const client = new IAMClient(config);
|
|
23
|
-
* const command = new ListEntitiesForPolicyCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link ListEntitiesForPolicyCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link ListEntitiesForPolicyCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
8
|
class ListEntitiesForPolicyCommand 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,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 names of the inline policies that are embedded in the specified IAM
|
|
10
|
-
* group.</p>
|
|
11
|
-
* <p>An IAM group can also have managed policies attached to it. To list the managed
|
|
12
|
-
* policies that are attached to a group, use <a>ListAttachedGroupPolicies</a>.
|
|
13
|
-
* 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
|
|
14
|
-
* policies</a> in the <i>IAM User Guide</i>.</p>
|
|
15
|
-
* <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
|
|
16
|
-
* parameters. If there are no inline policies embedded with the specified group, the
|
|
17
|
-
* operation returns an empty list.</p>
|
|
18
|
-
* @example
|
|
19
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
-
* ```javascript
|
|
21
|
-
* import { IAMClient, ListGroupPoliciesCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
22
|
-
* // const { IAMClient, ListGroupPoliciesCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
23
|
-
* const client = new IAMClient(config);
|
|
24
|
-
* const command = new ListGroupPoliciesCommand(input);
|
|
25
|
-
* const response = await client.send(command);
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @see {@link ListGroupPoliciesCommandInput} for command's `input` shape.
|
|
29
|
-
* @see {@link ListGroupPoliciesCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
33
8
|
class ListGroupPoliciesCommand 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,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_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Lists the IAM groups that have the specified path prefix.</p>
|
|
10
|
-
* <p> You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
|
|
11
|
-
* parameters.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { IAMClient, ListGroupsCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
16
|
-
* // const { IAMClient, ListGroupsCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
17
|
-
* const client = new IAMClient(config);
|
|
18
|
-
* const command = new ListGroupsCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link ListGroupsCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link ListGroupsCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class ListGroupsCommand 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,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_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Lists the IAM groups that the specified IAM user belongs to.</p>
|
|
10
|
-
* <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
|
|
11
|
-
* parameters.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { IAMClient, ListGroupsForUserCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
16
|
-
* // const { IAMClient, ListGroupsForUserCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
17
|
-
* const client = new IAMClient(config);
|
|
18
|
-
* const command = new ListGroupsForUserCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link ListGroupsForUserCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link ListGroupsForUserCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class ListGroupsForUserCommand 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,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_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 instance profile. The returned list of tags is sorted by tag key.
|
|
10
|
-
* 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
|
|
11
|
-
* <i>IAM User Guide</i>.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { IAMClient, ListInstanceProfileTagsCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
16
|
-
* // const { IAMClient, ListInstanceProfileTagsCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
17
|
-
* const client = new IAMClient(config);
|
|
18
|
-
* const command = new ListInstanceProfileTagsCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link ListInstanceProfileTagsCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link ListInstanceProfileTagsCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class ListInstanceProfileTagsCommand 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,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>Lists the instance profiles that have the specified path prefix. If there are none,
|
|
10
|
-
* the operation returns an empty list. For more information about instance profiles, see
|
|
11
|
-
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/AboutInstanceProfiles.html">About
|
|
12
|
-
* instance profiles</a>.</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 an instance profile, see <a>GetInstanceProfile</a>.</p>
|
|
16
|
-
* </note>
|
|
17
|
-
* <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
|
|
18
|
-
* parameters.</p>
|
|
19
|
-
* @example
|
|
20
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
21
|
-
* ```javascript
|
|
22
|
-
* import { IAMClient, ListInstanceProfilesCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
23
|
-
* // const { IAMClient, ListInstanceProfilesCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
24
|
-
* const client = new IAMClient(config);
|
|
25
|
-
* const command = new ListInstanceProfilesCommand(input);
|
|
26
|
-
* const response = await client.send(command);
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
|
-
* @see {@link ListInstanceProfilesCommandInput} for command's `input` shape.
|
|
30
|
-
* @see {@link ListInstanceProfilesCommandOutput} for command's `response` shape.
|
|
31
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
8
|
class ListInstanceProfilesCommand 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,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>Lists the instance profiles that have the specified associated IAM role. If there
|
|
10
|
-
* are none, the operation returns an empty list. For more information about instance
|
|
11
|
-
* profiles, go to <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/AboutInstanceProfiles.html">About instance
|
|
12
|
-
* profiles</a>.</p>
|
|
13
|
-
* <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
|
|
14
|
-
* parameters.</p>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { IAMClient, ListInstanceProfilesForRoleCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
19
|
-
* // const { IAMClient, ListInstanceProfilesForRoleCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
20
|
-
* const client = new IAMClient(config);
|
|
21
|
-
* const command = new ListInstanceProfilesForRoleCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link ListInstanceProfilesForRoleCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link ListInstanceProfilesForRoleCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
8
|
class ListInstanceProfilesForRoleCommand 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,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_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 virtual multi-factor authentication (MFA) device. The returned list of tags is
|
|
10
|
-
* 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
|
|
11
|
-
* <i>IAM User Guide</i>.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { IAMClient, ListMFADeviceTagsCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
16
|
-
* // const { IAMClient, ListMFADeviceTagsCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
17
|
-
* const client = new IAMClient(config);
|
|
18
|
-
* const command = new ListMFADeviceTagsCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link ListMFADeviceTagsCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link ListMFADeviceTagsCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class ListMFADeviceTagsCommand 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,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>Lists the MFA devices for an IAM user. If the request includes a IAM user name,
|
|
10
|
-
* then this operation lists all the MFA devices associated with the specified user. If you
|
|
11
|
-
* do not specify a user name, IAM determines the user name implicitly based on the Amazon Web Services
|
|
12
|
-
* access key ID signing the request for this operation.</p>
|
|
13
|
-
* <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
|
|
14
|
-
* parameters.</p>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { IAMClient, ListMFADevicesCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
19
|
-
* // const { IAMClient, ListMFADevicesCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
20
|
-
* const client = new IAMClient(config);
|
|
21
|
-
* const command = new ListMFADevicesCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link ListMFADevicesCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link ListMFADevicesCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
8
|
class ListMFADevicesCommand 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);
|