@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,53 +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 service last accessed data report for Organizations that was previously
|
|
10
|
-
* generated using the <code>
|
|
11
|
-
* <a>GenerateOrganizationsAccessReport</a>
|
|
12
|
-
* </code>
|
|
13
|
-
* operation. This operation retrieves the status of your report job and the report
|
|
14
|
-
* contents.</p>
|
|
15
|
-
* <p>Depending on the parameters that you passed when you generated the report, the data
|
|
16
|
-
* returned could include different information. For details, see <a>GenerateOrganizationsAccessReport</a>.</p>
|
|
17
|
-
* <p>To call this operation, you must be signed in to the management account in your
|
|
18
|
-
* organization. SCPs must be enabled for your organization root. You must have permissions
|
|
19
|
-
* to perform this operation. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html">Refining permissions using
|
|
20
|
-
* service last accessed data</a> in the
|
|
21
|
-
* <i>IAM User Guide</i>.</p>
|
|
22
|
-
* <p>For each service that principals in an account (root users, IAM users, or IAM
|
|
23
|
-
* roles) could access using SCPs, the operation returns details about the most recent
|
|
24
|
-
* access attempt. If there was no attempt, the service is listed without details about the
|
|
25
|
-
* most recent attempt to access the service. If the operation fails, it returns the reason
|
|
26
|
-
* that it failed.</p>
|
|
27
|
-
* <p>By default, the list is sorted by service namespace.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { IAMClient, GetOrganizationsAccessReportCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
32
|
-
* // const { IAMClient, GetOrganizationsAccessReportCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
33
|
-
* const client = new IAMClient(config);
|
|
34
|
-
* const command = new GetOrganizationsAccessReportCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link GetOrganizationsAccessReportCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link GetOrganizationsAccessReportCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
8
|
class GetOrganizationsAccessReportCommand extends smithy_client_1.Command {
|
|
44
|
-
// Start section: command_properties
|
|
45
|
-
// End section: command_properties
|
|
46
9
|
constructor(input) {
|
|
47
|
-
// Start section: command_constructor
|
|
48
10
|
super();
|
|
49
11
|
this.input = input;
|
|
50
|
-
// End section: command_constructor
|
|
51
12
|
}
|
|
52
|
-
/**
|
|
53
|
-
* @internal
|
|
54
|
-
*/
|
|
55
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
56
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
57
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>Retrieves information about the specified managed policy, including the policy's
|
|
10
|
-
* default version and the total number of IAM users, groups, and roles to which the
|
|
11
|
-
* policy is attached. To retrieve the list of the specific users, groups, and roles that
|
|
12
|
-
* the policy is attached to, use <a>ListEntitiesForPolicy</a>. This operation
|
|
13
|
-
* returns metadata about the policy. To retrieve the actual policy document for a specific
|
|
14
|
-
* version of the policy, use <a>GetPolicyVersion</a>.</p>
|
|
15
|
-
* <p>This operation retrieves information about managed policies. To retrieve information
|
|
16
|
-
* about an inline policy that is embedded with an IAM user, group, or role, use <a>GetUserPolicy</a>, <a>GetGroupPolicy</a>, or <a>GetRolePolicy</a>.</p>
|
|
17
|
-
* <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
|
|
18
|
-
* policies</a> in the <i>IAM User Guide</i>.</p>
|
|
19
|
-
* @example
|
|
20
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
21
|
-
* ```javascript
|
|
22
|
-
* import { IAMClient, GetPolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
23
|
-
* // const { IAMClient, GetPolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
24
|
-
* const client = new IAMClient(config);
|
|
25
|
-
* const command = new GetPolicyCommand(input);
|
|
26
|
-
* const response = await client.send(command);
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
|
-
* @see {@link GetPolicyCommandInput} for command's `input` shape.
|
|
30
|
-
* @see {@link GetPolicyCommandOutput} for command's `response` shape.
|
|
31
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
8
|
class GetPolicyCommand extends smithy_client_1.Command {
|
|
35
|
-
// Start section: command_properties
|
|
36
|
-
// End section: command_properties
|
|
37
9
|
constructor(input) {
|
|
38
|
-
// Start section: command_constructor
|
|
39
10
|
super();
|
|
40
11
|
this.input = input;
|
|
41
|
-
// End section: command_constructor
|
|
42
12
|
}
|
|
43
|
-
/**
|
|
44
|
-
* @internal
|
|
45
|
-
*/
|
|
46
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
47
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
48
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,50 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Retrieves information about the specified version of the specified managed policy,
|
|
10
|
-
* including the policy document.</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>To list the available versions for a policy, use <a>ListPolicyVersions</a>.</p>
|
|
19
|
-
* <p>This operation retrieves information about managed policies. To retrieve information
|
|
20
|
-
* about an inline policy that is embedded in a user, group, or role, use <a>GetUserPolicy</a>, <a>GetGroupPolicy</a>, or <a>GetRolePolicy</a>.</p>
|
|
21
|
-
* <p>For more information about the types of policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
|
|
22
|
-
* policies</a> in the <i>IAM User Guide</i>.</p>
|
|
23
|
-
* <p>For more information about managed policy versions, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html">Versioning for managed
|
|
24
|
-
* policies</a> in the <i>IAM User Guide</i>.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { IAMClient, GetPolicyVersionCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
29
|
-
* // const { IAMClient, GetPolicyVersionCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
30
|
-
* const client = new IAMClient(config);
|
|
31
|
-
* const command = new GetPolicyVersionCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link GetPolicyVersionCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link GetPolicyVersionCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
8
|
class GetPolicyVersionCommand extends smithy_client_1.Command {
|
|
41
|
-
// Start section: command_properties
|
|
42
|
-
// End section: command_properties
|
|
43
9
|
constructor(input) {
|
|
44
|
-
// Start section: command_constructor
|
|
45
10
|
super();
|
|
46
11
|
this.input = input;
|
|
47
|
-
// End section: command_constructor
|
|
48
12
|
}
|
|
49
|
-
/**
|
|
50
|
-
* @internal
|
|
51
|
-
*/
|
|
52
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
53
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
54
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,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>Retrieves information about the specified role, including the role's path, GUID, ARN,
|
|
10
|
-
* and the role's trust policy that grants permission to assume the role. For more
|
|
11
|
-
* information about roles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html">Working with roles</a>.</p>
|
|
12
|
-
* <note>
|
|
13
|
-
* <p>Policies returned by this operation are URL-encoded compliant
|
|
14
|
-
* with <a href="https://tools.ietf.org/html/rfc3986">RFC 3986</a>. You can use a URL
|
|
15
|
-
* decoding method to convert the policy back to plain JSON text. For example, if you use Java, you
|
|
16
|
-
* can use the <code>decode</code> method of the <code>java.net.URLDecoder</code> utility class in
|
|
17
|
-
* the Java SDK. Other languages and SDKs provide similar functionality.</p>
|
|
18
|
-
* </note>
|
|
19
|
-
* @example
|
|
20
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
21
|
-
* ```javascript
|
|
22
|
-
* import { IAMClient, GetRoleCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
23
|
-
* // const { IAMClient, GetRoleCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
24
|
-
* const client = new IAMClient(config);
|
|
25
|
-
* const command = new GetRoleCommand(input);
|
|
26
|
-
* const response = await client.send(command);
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
|
-
* @see {@link GetRoleCommandInput} for command's `input` shape.
|
|
30
|
-
* @see {@link GetRoleCommandOutput} for command's `response` shape.
|
|
31
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
8
|
class GetRoleCommand 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,51 +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 with the specified
|
|
10
|
-
* IAM role.</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 role can also have managed policies attached to it. To retrieve a managed
|
|
19
|
-
* policy document that is attached to a role, 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
|
-
* <p>For more information about roles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplevel.html">Using roles to delegate permissions and
|
|
25
|
-
* federate identities</a>.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { IAMClient, GetRolePolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
30
|
-
* // const { IAMClient, GetRolePolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
31
|
-
* const client = new IAMClient(config);
|
|
32
|
-
* const command = new GetRolePolicyCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link GetRolePolicyCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link GetRolePolicyCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
8
|
class GetRolePolicyCommand extends smithy_client_1.Command {
|
|
42
|
-
// Start section: command_properties
|
|
43
|
-
// End section: command_properties
|
|
44
9
|
constructor(input) {
|
|
45
|
-
// Start section: command_constructor
|
|
46
10
|
super();
|
|
47
11
|
this.input = input;
|
|
48
|
-
// End section: command_constructor
|
|
49
12
|
}
|
|
50
|
-
/**
|
|
51
|
-
* @internal
|
|
52
|
-
*/
|
|
53
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
54
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
55
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>Returns the SAML provider metadocument that was uploaded when the IAM SAML provider
|
|
10
|
-
* resource object was created or updated.</p>
|
|
11
|
-
* <note>
|
|
12
|
-
* <p>This operation requires <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4</a>.</p>
|
|
13
|
-
* </note>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { IAMClient, GetSAMLProviderCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
18
|
-
* // const { IAMClient, GetSAMLProviderCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
19
|
-
* const client = new IAMClient(config);
|
|
20
|
-
* const command = new GetSAMLProviderCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link GetSAMLProviderCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link GetSAMLProviderCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
8
|
class GetSAMLProviderCommand 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,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>Retrieves the specified SSH public key, including metadata about the key.</p>
|
|
10
|
-
* <p>The SSH public key retrieved by this operation is used only for authenticating the
|
|
11
|
-
* associated IAM user to an CodeCommit repository. For more information about using SSH keys
|
|
12
|
-
* to authenticate to an CodeCommit repository, see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-credentials-ssh.html">Set up CodeCommit for SSH
|
|
13
|
-
* connections</a> in the <i>CodeCommit User Guide</i>.</p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { IAMClient, GetSSHPublicKeyCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
18
|
-
* // const { IAMClient, GetSSHPublicKeyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
19
|
-
* const client = new IAMClient(config);
|
|
20
|
-
* const command = new GetSSHPublicKeyCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link GetSSHPublicKeyCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link GetSSHPublicKeyCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
8
|
class GetSSHPublicKeyCommand 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,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>Retrieves information about the specified server certificate stored in IAM.</p>
|
|
10
|
-
* <p>For more information about working with server certificates, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html">Working
|
|
11
|
-
* with server certificates</a> in the <i>IAM User Guide</i>. This
|
|
12
|
-
* topic includes a list of Amazon Web Services services that can use the server certificates that you
|
|
13
|
-
* manage with IAM.</p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { IAMClient, GetServerCertificateCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
18
|
-
* // const { IAMClient, GetServerCertificateCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
19
|
-
* const client = new IAMClient(config);
|
|
20
|
-
* const command = new GetServerCertificateCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link GetServerCertificateCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link GetServerCertificateCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
8
|
class GetServerCertificateCommand 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,86 +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 a service last accessed report that was created using the
|
|
10
|
-
* <code>GenerateServiceLastAccessedDetails</code> operation. You can use the
|
|
11
|
-
* <code>JobId</code> parameter in <code>GetServiceLastAccessedDetails</code> to
|
|
12
|
-
* retrieve the status of your report job. When the report is complete, you can retrieve
|
|
13
|
-
* the generated report. The report includes a list of Amazon Web Services services that the resource
|
|
14
|
-
* (user, group, role, or managed policy) can access.</p>
|
|
15
|
-
* <note>
|
|
16
|
-
* <p>Service last accessed data does not use other policy types when determining
|
|
17
|
-
* whether a resource could access a service. These other policy types include
|
|
18
|
-
* resource-based policies, access control lists, Organizations policies, IAM
|
|
19
|
-
* permissions boundaries, and STS assume role policies. It only applies
|
|
20
|
-
* permissions policy logic. For more about the evaluation of policy types, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html#policy-eval-basics">Evaluating policies</a> in the
|
|
21
|
-
* <i>IAM User Guide</i>.</p>
|
|
22
|
-
* </note>
|
|
23
|
-
* <p>For each service that the resource could access using permissions policies, the
|
|
24
|
-
* operation returns details about the most recent access attempt. If there was no attempt,
|
|
25
|
-
* the service is listed without details about the most recent attempt to access the
|
|
26
|
-
* service. If the operation fails, the <code>GetServiceLastAccessedDetails</code>
|
|
27
|
-
* operation returns the reason that it failed.</p>
|
|
28
|
-
* <p>The <code>GetServiceLastAccessedDetails</code> operation returns a list of services.
|
|
29
|
-
* This list includes the number of entities that have attempted to access the service and
|
|
30
|
-
* the date and time of the last attempt. It also returns the ARN of the following entity,
|
|
31
|
-
* depending on the resource ARN that you used to generate the report:</p>
|
|
32
|
-
* <ul>
|
|
33
|
-
* <li>
|
|
34
|
-
* <p>
|
|
35
|
-
* <b>User</b> – Returns the user ARN that you
|
|
36
|
-
* used to generate the report</p>
|
|
37
|
-
* </li>
|
|
38
|
-
* <li>
|
|
39
|
-
* <p>
|
|
40
|
-
* <b>Group</b> – Returns the ARN of the group
|
|
41
|
-
* member (user) that last attempted to access the service</p>
|
|
42
|
-
* </li>
|
|
43
|
-
* <li>
|
|
44
|
-
* <p>
|
|
45
|
-
* <b>Role</b> – Returns the role ARN that you
|
|
46
|
-
* used to generate the report</p>
|
|
47
|
-
* </li>
|
|
48
|
-
* <li>
|
|
49
|
-
* <p>
|
|
50
|
-
* <b>Policy</b> – Returns the ARN of the user
|
|
51
|
-
* or role that last used the policy to attempt to access the service</p>
|
|
52
|
-
* </li>
|
|
53
|
-
* </ul>
|
|
54
|
-
* <p>By default, the list is sorted by service namespace.</p>
|
|
55
|
-
* <p>If you specified <code>ACTION_LEVEL</code> granularity when you generated the report,
|
|
56
|
-
* this operation returns service and action last accessed data. This includes the most
|
|
57
|
-
* recent access attempt for each tracked action within a service. Otherwise, this
|
|
58
|
-
* operation returns only service data.</p>
|
|
59
|
-
* <p>For more information about service and action last accessed data, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html">Reducing permissions using service last accessed data</a> in the
|
|
60
|
-
* <i>IAM User Guide</i>.</p>
|
|
61
|
-
* @example
|
|
62
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
63
|
-
* ```javascript
|
|
64
|
-
* import { IAMClient, GetServiceLastAccessedDetailsCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
65
|
-
* // const { IAMClient, GetServiceLastAccessedDetailsCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
66
|
-
* const client = new IAMClient(config);
|
|
67
|
-
* const command = new GetServiceLastAccessedDetailsCommand(input);
|
|
68
|
-
* const response = await client.send(command);
|
|
69
|
-
* ```
|
|
70
|
-
*
|
|
71
|
-
* @see {@link GetServiceLastAccessedDetailsCommandInput} for command's `input` shape.
|
|
72
|
-
* @see {@link GetServiceLastAccessedDetailsCommandOutput} for command's `response` shape.
|
|
73
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
74
|
-
*
|
|
75
|
-
*/
|
|
76
8
|
class GetServiceLastAccessedDetailsCommand extends smithy_client_1.Command {
|
|
77
|
-
// Start section: command_properties
|
|
78
|
-
// End section: command_properties
|
|
79
9
|
constructor(input) {
|
|
80
|
-
// Start section: command_constructor
|
|
81
10
|
super();
|
|
82
11
|
this.input = input;
|
|
83
|
-
// End section: command_constructor
|
|
84
12
|
}
|
|
85
|
-
/**
|
|
86
|
-
* @internal
|
|
87
|
-
*/
|
|
88
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
89
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
90
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,60 +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>After you generate a group or policy report using the
|
|
10
|
-
* <code>GenerateServiceLastAccessedDetails</code> operation, you can use the
|
|
11
|
-
* <code>JobId</code> parameter in
|
|
12
|
-
* <code>GetServiceLastAccessedDetailsWithEntities</code>. This operation retrieves the
|
|
13
|
-
* status of your report job and a list of entities that could have used group or policy
|
|
14
|
-
* permissions to access the specified service.</p>
|
|
15
|
-
* <ul>
|
|
16
|
-
* <li>
|
|
17
|
-
* <p>
|
|
18
|
-
* <b>Group</b> – For a group report, this
|
|
19
|
-
* operation returns a list of users in the group that could have used the group’s
|
|
20
|
-
* policies in an attempt to access the service.</p>
|
|
21
|
-
* </li>
|
|
22
|
-
* <li>
|
|
23
|
-
* <p>
|
|
24
|
-
* <b>Policy</b> – For a policy report, this
|
|
25
|
-
* operation returns a list of entities (users or roles) that could have used the
|
|
26
|
-
* policy in an attempt to access the service.</p>
|
|
27
|
-
* </li>
|
|
28
|
-
* </ul>
|
|
29
|
-
* <p>You can also use this operation for user or role reports to retrieve details about
|
|
30
|
-
* those entities.</p>
|
|
31
|
-
* <p>If the operation fails, the <code>GetServiceLastAccessedDetailsWithEntities</code>
|
|
32
|
-
* operation returns the reason that it failed.</p>
|
|
33
|
-
* <p>By default, the list of associated entities is sorted by date, with the most recent
|
|
34
|
-
* access listed first.</p>
|
|
35
|
-
* @example
|
|
36
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
-
* ```javascript
|
|
38
|
-
* import { IAMClient, GetServiceLastAccessedDetailsWithEntitiesCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
39
|
-
* // const { IAMClient, GetServiceLastAccessedDetailsWithEntitiesCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
40
|
-
* const client = new IAMClient(config);
|
|
41
|
-
* const command = new GetServiceLastAccessedDetailsWithEntitiesCommand(input);
|
|
42
|
-
* const response = await client.send(command);
|
|
43
|
-
* ```
|
|
44
|
-
*
|
|
45
|
-
* @see {@link GetServiceLastAccessedDetailsWithEntitiesCommandInput} for command's `input` shape.
|
|
46
|
-
* @see {@link GetServiceLastAccessedDetailsWithEntitiesCommandOutput} for command's `response` shape.
|
|
47
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
48
|
-
*
|
|
49
|
-
*/
|
|
50
8
|
class GetServiceLastAccessedDetailsWithEntitiesCommand extends smithy_client_1.Command {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
9
|
constructor(input) {
|
|
54
|
-
// Start section: command_constructor
|
|
55
10
|
super();
|
|
56
11
|
this.input = input;
|
|
57
|
-
// End section: command_constructor
|
|
58
12
|
}
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
63
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
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>Retrieves the status of your service-linked role deletion. After you use <a>DeleteServiceLinkedRole</a> to submit a service-linked role for deletion,
|
|
10
|
-
* you can use the <code>DeletionTaskId</code> parameter in
|
|
11
|
-
* <code>GetServiceLinkedRoleDeletionStatus</code> to check the status of the deletion.
|
|
12
|
-
* If the deletion fails, this operation returns the reason that it failed, if that
|
|
13
|
-
* information is returned by the service.</p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { IAMClient, GetServiceLinkedRoleDeletionStatusCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
18
|
-
* // const { IAMClient, GetServiceLinkedRoleDeletionStatusCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
19
|
-
* const client = new IAMClient(config);
|
|
20
|
-
* const command = new GetServiceLinkedRoleDeletionStatusCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link GetServiceLinkedRoleDeletionStatusCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link GetServiceLinkedRoleDeletionStatusCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
8
|
class GetServiceLinkedRoleDeletionStatusCommand 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,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Retrieves information about the specified IAM user, including the user's creation
|
|
10
|
-
* date, path, unique ID, and ARN.</p>
|
|
11
|
-
* <p>If you do not specify a user name, IAM determines the user name implicitly based on
|
|
12
|
-
* the Amazon Web Services access key ID used to sign the request to this operation.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { IAMClient, GetUserCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
17
|
-
* // const { IAMClient, GetUserCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
18
|
-
* const client = new IAMClient(config);
|
|
19
|
-
* const command = new GetUserCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link GetUserCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link GetUserCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
8
|
class GetUserCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
9
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
10
|
super();
|
|
34
11
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
const stack = clientStack.concat(this.middlewareStack);
|