@aws-sdk/client-iam 3.775.0 → 3.782.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/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-types/commands/AddClientIDToOpenIDConnectProviderCommand.d.ts +8 -5
- package/dist-types/commands/AddRoleToInstanceProfileCommand.d.ts +8 -5
- package/dist-types/commands/AddUserToGroupCommand.d.ts +8 -5
- package/dist-types/commands/AttachGroupPolicyCommand.d.ts +8 -5
- package/dist-types/commands/AttachRolePolicyCommand.d.ts +8 -5
- package/dist-types/commands/AttachUserPolicyCommand.d.ts +8 -5
- package/dist-types/commands/ChangePasswordCommand.d.ts +8 -5
- package/dist-types/commands/CreateAccessKeyCommand.d.ts +10 -10
- package/dist-types/commands/CreateAccountAliasCommand.d.ts +7 -4
- package/dist-types/commands/CreateGroupCommand.d.ts +10 -10
- package/dist-types/commands/CreateInstanceProfileCommand.d.ts +11 -11
- package/dist-types/commands/CreateLoginProfileCommand.d.ts +10 -10
- package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +7 -7
- package/dist-types/commands/CreatePolicyCommand.d.ts +1 -0
- package/dist-types/commands/CreatePolicyVersionCommand.d.ts +1 -0
- package/dist-types/commands/CreateRoleCommand.d.ts +13 -13
- package/dist-types/commands/CreateSAMLProviderCommand.d.ts +1 -0
- package/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +1 -0
- package/dist-types/commands/CreateServiceSpecificCredentialCommand.d.ts +1 -0
- package/dist-types/commands/CreateUserCommand.d.ts +10 -10
- package/dist-types/commands/CreateVirtualMFADeviceCommand.d.ts +1 -0
- package/dist-types/commands/DeactivateMFADeviceCommand.d.ts +1 -0
- package/dist-types/commands/DeleteAccessKeyCommand.d.ts +8 -5
- package/dist-types/commands/DeleteAccountAliasCommand.d.ts +7 -4
- package/dist-types/commands/DeleteAccountPasswordPolicyCommand.d.ts +7 -4
- package/dist-types/commands/DeleteGroupCommand.d.ts +1 -0
- package/dist-types/commands/DeleteGroupPolicyCommand.d.ts +8 -5
- package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +7 -4
- package/dist-types/commands/DeleteLoginProfileCommand.d.ts +7 -4
- package/dist-types/commands/DeleteOpenIDConnectProviderCommand.d.ts +1 -0
- package/dist-types/commands/DeletePolicyCommand.d.ts +1 -0
- package/dist-types/commands/DeletePolicyVersionCommand.d.ts +1 -0
- package/dist-types/commands/DeleteRoleCommand.d.ts +7 -4
- package/dist-types/commands/DeleteRolePermissionsBoundaryCommand.d.ts +1 -0
- package/dist-types/commands/DeleteRolePolicyCommand.d.ts +8 -5
- package/dist-types/commands/DeleteSAMLProviderCommand.d.ts +1 -0
- package/dist-types/commands/DeleteSSHPublicKeyCommand.d.ts +1 -0
- package/dist-types/commands/DeleteServerCertificateCommand.d.ts +1 -0
- package/dist-types/commands/DeleteServiceLinkedRoleCommand.d.ts +1 -0
- package/dist-types/commands/DeleteServiceSpecificCredentialCommand.d.ts +1 -0
- package/dist-types/commands/DeleteSigningCertificateCommand.d.ts +8 -5
- package/dist-types/commands/DeleteUserCommand.d.ts +7 -4
- package/dist-types/commands/DeleteUserPermissionsBoundaryCommand.d.ts +1 -0
- package/dist-types/commands/DeleteUserPolicyCommand.d.ts +8 -5
- package/dist-types/commands/DeleteVirtualMFADeviceCommand.d.ts +7 -4
- package/dist-types/commands/DetachGroupPolicyCommand.d.ts +1 -0
- package/dist-types/commands/DetachRolePolicyCommand.d.ts +1 -0
- package/dist-types/commands/DetachUserPolicyCommand.d.ts +1 -0
- package/dist-types/commands/DisableOrganizationsRootCredentialsManagementCommand.d.ts +6 -6
- package/dist-types/commands/DisableOrganizationsRootSessionsCommand.d.ts +6 -6
- package/dist-types/commands/EnableMFADeviceCommand.d.ts +1 -0
- package/dist-types/commands/EnableOrganizationsRootCredentialsManagementCommand.d.ts +6 -6
- package/dist-types/commands/EnableOrganizationsRootSessionsCommand.d.ts +6 -6
- package/dist-types/commands/GenerateCredentialReportCommand.d.ts +1 -0
- package/dist-types/commands/GenerateOrganizationsAccessReportCommand.d.ts +5 -5
- package/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +5 -5
- package/dist-types/commands/GetAccessKeyLastUsedCommand.d.ts +1 -0
- package/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +1 -0
- package/dist-types/commands/GetAccountPasswordPolicyCommand.d.ts +15 -15
- package/dist-types/commands/GetAccountSummaryCommand.d.ts +31 -31
- package/dist-types/commands/GetContextKeysForCustomPolicyCommand.d.ts +1 -0
- package/dist-types/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +1 -0
- package/dist-types/commands/GetCredentialReportCommand.d.ts +1 -0
- package/dist-types/commands/GetGroupCommand.d.ts +1 -0
- package/dist-types/commands/GetGroupPolicyCommand.d.ts +1 -0
- package/dist-types/commands/GetInstanceProfileCommand.d.ts +17 -17
- package/dist-types/commands/GetLoginProfileCommand.d.ts +7 -7
- package/dist-types/commands/GetMFADeviceCommand.d.ts +1 -0
- package/dist-types/commands/GetOpenIDConnectProviderCommand.d.ts +1 -0
- package/dist-types/commands/GetOrganizationsAccessReportCommand.d.ts +26 -26
- package/dist-types/commands/GetPolicyCommand.d.ts +1 -0
- package/dist-types/commands/GetPolicyVersionCommand.d.ts +1 -0
- package/dist-types/commands/GetRoleCommand.d.ts +15 -15
- package/dist-types/commands/GetRolePolicyCommand.d.ts +1 -0
- package/dist-types/commands/GetSAMLProviderCommand.d.ts +1 -0
- package/dist-types/commands/GetSSHPublicKeyCommand.d.ts +1 -0
- package/dist-types/commands/GetServerCertificateCommand.d.ts +1 -0
- package/dist-types/commands/GetServiceLastAccessedDetailsCommand.d.ts +17 -17
- package/dist-types/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +23 -23
- package/dist-types/commands/GetServiceLinkedRoleDeletionStatusCommand.d.ts +1 -0
- package/dist-types/commands/GetUserCommand.d.ts +10 -10
- package/dist-types/commands/GetUserPolicyCommand.d.ts +1 -0
- package/dist-types/commands/ListAccessKeysCommand.d.ts +13 -13
- package/dist-types/commands/ListAccountAliasesCommand.d.ts +5 -5
- package/dist-types/commands/ListAttachedGroupPoliciesCommand.d.ts +1 -0
- package/dist-types/commands/ListAttachedRolePoliciesCommand.d.ts +1 -0
- package/dist-types/commands/ListAttachedUserPoliciesCommand.d.ts +1 -0
- package/dist-types/commands/ListEntitiesForPolicyCommand.d.ts +1 -0
- package/dist-types/commands/ListGroupPoliciesCommand.d.ts +5 -5
- package/dist-types/commands/ListGroupsCommand.d.ts +20 -20
- package/dist-types/commands/ListGroupsForUserCommand.d.ts +15 -15
- package/dist-types/commands/ListInstanceProfileTagsCommand.d.ts +1 -0
- package/dist-types/commands/ListInstanceProfilesCommand.d.ts +1 -0
- package/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +1 -0
- package/dist-types/commands/ListMFADeviceTagsCommand.d.ts +1 -0
- package/dist-types/commands/ListMFADevicesCommand.d.ts +1 -0
- package/dist-types/commands/ListOpenIDConnectProviderTagsCommand.d.ts +1 -0
- package/dist-types/commands/ListOpenIDConnectProvidersCommand.d.ts +1 -0
- package/dist-types/commands/ListOrganizationsFeaturesCommand.d.ts +6 -6
- package/dist-types/commands/ListPoliciesCommand.d.ts +1 -0
- package/dist-types/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +21 -21
- package/dist-types/commands/ListPolicyTagsCommand.d.ts +1 -0
- package/dist-types/commands/ListPolicyVersionsCommand.d.ts +1 -0
- package/dist-types/commands/ListRolePoliciesCommand.d.ts +1 -0
- package/dist-types/commands/ListRoleTagsCommand.d.ts +10 -10
- package/dist-types/commands/ListRolesCommand.d.ts +1 -0
- package/dist-types/commands/ListSAMLProviderTagsCommand.d.ts +1 -0
- package/dist-types/commands/ListSAMLProvidersCommand.d.ts +1 -0
- package/dist-types/commands/ListSSHPublicKeysCommand.d.ts +1 -0
- package/dist-types/commands/ListServerCertificateTagsCommand.d.ts +1 -0
- package/dist-types/commands/ListServerCertificatesCommand.d.ts +1 -0
- package/dist-types/commands/ListServiceSpecificCredentialsCommand.d.ts +1 -0
- package/dist-types/commands/ListSigningCertificatesCommand.d.ts +10 -10
- package/dist-types/commands/ListUserPoliciesCommand.d.ts +1 -0
- package/dist-types/commands/ListUserTagsCommand.d.ts +10 -10
- package/dist-types/commands/ListUsersCommand.d.ts +17 -17
- package/dist-types/commands/ListVirtualMFADevicesCommand.d.ts +7 -7
- package/dist-types/commands/PutGroupPolicyCommand.d.ts +9 -6
- package/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts +1 -0
- package/dist-types/commands/PutRolePolicyCommand.d.ts +9 -6
- package/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts +1 -0
- package/dist-types/commands/PutUserPolicyCommand.d.ts +9 -6
- package/dist-types/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +1 -0
- package/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +8 -5
- package/dist-types/commands/RemoveUserFromGroupCommand.d.ts +8 -5
- package/dist-types/commands/ResetServiceSpecificCredentialCommand.d.ts +1 -0
- package/dist-types/commands/ResyncMFADeviceCommand.d.ts +1 -0
- package/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +1 -0
- package/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +7 -4
- package/dist-types/commands/SimulateCustomPolicyCommand.d.ts +1 -0
- package/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +1 -0
- package/dist-types/commands/TagInstanceProfileCommand.d.ts +1 -0
- package/dist-types/commands/TagMFADeviceCommand.d.ts +1 -0
- package/dist-types/commands/TagOpenIDConnectProviderCommand.d.ts +1 -0
- package/dist-types/commands/TagPolicyCommand.d.ts +1 -0
- package/dist-types/commands/TagRoleCommand.d.ts +12 -9
- package/dist-types/commands/TagSAMLProviderCommand.d.ts +1 -0
- package/dist-types/commands/TagServerCertificateCommand.d.ts +1 -0
- package/dist-types/commands/TagUserCommand.d.ts +12 -9
- package/dist-types/commands/UntagInstanceProfileCommand.d.ts +1 -0
- package/dist-types/commands/UntagMFADeviceCommand.d.ts +1 -0
- package/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +1 -0
- package/dist-types/commands/UntagPolicyCommand.d.ts +1 -0
- package/dist-types/commands/UntagRoleCommand.d.ts +8 -5
- package/dist-types/commands/UntagSAMLProviderCommand.d.ts +1 -0
- package/dist-types/commands/UntagServerCertificateCommand.d.ts +1 -0
- package/dist-types/commands/UntagUserCommand.d.ts +8 -5
- package/dist-types/commands/UpdateAccessKeyCommand.d.ts +9 -6
- package/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +8 -5
- package/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +8 -5
- package/dist-types/commands/UpdateGroupCommand.d.ts +8 -5
- package/dist-types/commands/UpdateLoginProfileCommand.d.ts +8 -5
- package/dist-types/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +1 -0
- package/dist-types/commands/UpdateRoleCommand.d.ts +1 -0
- package/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +1 -0
- package/dist-types/commands/UpdateSAMLProviderCommand.d.ts +1 -0
- package/dist-types/commands/UpdateSSHPublicKeyCommand.d.ts +1 -0
- package/dist-types/commands/UpdateServerCertificateCommand.d.ts +1 -0
- package/dist-types/commands/UpdateServiceSpecificCredentialCommand.d.ts +1 -0
- package/dist-types/commands/UpdateSigningCertificateCommand.d.ts +9 -6
- package/dist-types/commands/UpdateUserCommand.d.ts +8 -5
- package/dist-types/commands/UploadSSHPublicKeyCommand.d.ts +1 -0
- package/dist-types/commands/UploadServerCertificateCommand.d.ts +14 -14
- package/dist-types/commands/UploadSigningCertificateCommand.d.ts +11 -11
- package/dist-types/endpoint/EndpointParameters.d.ts +2 -2
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +2 -2
- package/package.json +5 -5
|
@@ -77,6 +77,7 @@ declare const ListPolicyTagsCommand_base: {
|
|
|
77
77
|
* @throws {@link IAMServiceException}
|
|
78
78
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
79
79
|
*
|
|
80
|
+
*
|
|
80
81
|
* @public
|
|
81
82
|
*/
|
|
82
83
|
export declare class ListPolicyTagsCommand extends ListPolicyTagsCommand_base {
|
|
@@ -80,6 +80,7 @@ declare const ListPolicyVersionsCommand_base: {
|
|
|
80
80
|
* @throws {@link IAMServiceException}
|
|
81
81
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
82
82
|
*
|
|
83
|
+
*
|
|
83
84
|
* @public
|
|
84
85
|
*/
|
|
85
86
|
export declare class ListPolicyVersionsCommand extends ListPolicyVersionsCommand_base {
|
|
@@ -76,6 +76,7 @@ declare const ListRolePoliciesCommand_base: {
|
|
|
76
76
|
* @throws {@link IAMServiceException}
|
|
77
77
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
78
78
|
*
|
|
79
|
+
*
|
|
79
80
|
* @public
|
|
80
81
|
*/
|
|
81
82
|
export declare class ListRolePoliciesCommand extends ListRolePoliciesCommand_base {
|
|
@@ -73,33 +73,33 @@ declare const ListRoleTagsCommand_base: {
|
|
|
73
73
|
* @throws {@link IAMServiceException}
|
|
74
74
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
75
75
|
*
|
|
76
|
-
*
|
|
76
|
+
*
|
|
77
77
|
* @example To list the tags attached to an IAM role
|
|
78
78
|
* ```javascript
|
|
79
79
|
* // The following example shows how to list the tags attached to a role.
|
|
80
80
|
* const input = {
|
|
81
|
-
*
|
|
81
|
+
* RoleName: "taggedrole1"
|
|
82
82
|
* };
|
|
83
83
|
* const command = new ListRoleTagsCommand(input);
|
|
84
84
|
* const response = await client.send(command);
|
|
85
|
-
* /* response
|
|
85
|
+
* /* response is
|
|
86
86
|
* {
|
|
87
|
-
*
|
|
88
|
-
*
|
|
87
|
+
* IsTruncated: false,
|
|
88
|
+
* Tags: [
|
|
89
89
|
* {
|
|
90
|
-
*
|
|
91
|
-
*
|
|
90
|
+
* Key: "Dept",
|
|
91
|
+
* Value: "12345"
|
|
92
92
|
* },
|
|
93
93
|
* {
|
|
94
|
-
*
|
|
95
|
-
*
|
|
94
|
+
* Key: "Team",
|
|
95
|
+
* Value: "Accounting"
|
|
96
96
|
* }
|
|
97
97
|
* ]
|
|
98
98
|
* }
|
|
99
99
|
* *\/
|
|
100
|
-
* // example id: to-list-the-tags-attached-to-an-iam-role-1506719238376
|
|
101
100
|
* ```
|
|
102
101
|
*
|
|
102
|
+
* @public
|
|
103
103
|
*/
|
|
104
104
|
export declare class ListRoleTagsCommand extends ListRoleTagsCommand_base {
|
|
105
105
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -107,6 +107,7 @@ declare const ListRolesCommand_base: {
|
|
|
107
107
|
* @throws {@link IAMServiceException}
|
|
108
108
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
109
109
|
*
|
|
110
|
+
*
|
|
110
111
|
* @public
|
|
111
112
|
*/
|
|
112
113
|
export declare class ListRolesCommand extends ListRolesCommand_base {
|
|
@@ -79,6 +79,7 @@ declare const ListSAMLProviderTagsCommand_base: {
|
|
|
79
79
|
* @throws {@link IAMServiceException}
|
|
80
80
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
81
81
|
*
|
|
82
|
+
*
|
|
82
83
|
* @public
|
|
83
84
|
*/
|
|
84
85
|
export declare class ListSAMLProviderTagsCommand extends ListSAMLProviderTagsCommand_base {
|
|
@@ -67,6 +67,7 @@ declare const ListSAMLProvidersCommand_base: {
|
|
|
67
67
|
* @throws {@link IAMServiceException}
|
|
68
68
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
69
69
|
*
|
|
70
|
+
*
|
|
70
71
|
* @public
|
|
71
72
|
*/
|
|
72
73
|
export declare class ListSAMLProvidersCommand extends ListSAMLProvidersCommand_base {
|
|
@@ -76,6 +76,7 @@ declare const ListSSHPublicKeysCommand_base: {
|
|
|
76
76
|
* @throws {@link IAMServiceException}
|
|
77
77
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
78
78
|
*
|
|
79
|
+
*
|
|
79
80
|
* @public
|
|
80
81
|
*/
|
|
81
82
|
export declare class ListSSHPublicKeysCommand extends ListSSHPublicKeysCommand_base {
|
|
@@ -80,6 +80,7 @@ declare const ListServerCertificateTagsCommand_base: {
|
|
|
80
80
|
* @throws {@link IAMServiceException}
|
|
81
81
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
82
82
|
*
|
|
83
|
+
*
|
|
83
84
|
* @public
|
|
84
85
|
*/
|
|
85
86
|
export declare class ListServerCertificateTagsCommand extends ListServerCertificateTagsCommand_base {
|
|
@@ -82,6 +82,7 @@ declare const ListServerCertificatesCommand_base: {
|
|
|
82
82
|
* @throws {@link IAMServiceException}
|
|
83
83
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
84
84
|
*
|
|
85
|
+
*
|
|
85
86
|
* @public
|
|
86
87
|
*/
|
|
87
88
|
export declare class ListServerCertificatesCommand extends ListServerCertificatesCommand_base {
|
|
@@ -76,6 +76,7 @@ declare const ListServiceSpecificCredentialsCommand_base: {
|
|
|
76
76
|
* @throws {@link IAMServiceException}
|
|
77
77
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
78
78
|
*
|
|
79
|
+
*
|
|
79
80
|
* @public
|
|
80
81
|
*/
|
|
81
82
|
export declare class ListServiceSpecificCredentialsCommand extends ListServiceSpecificCredentialsCommand_base {
|
|
@@ -83,31 +83,31 @@ declare const ListSigningCertificatesCommand_base: {
|
|
|
83
83
|
* @throws {@link IAMServiceException}
|
|
84
84
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
85
85
|
*
|
|
86
|
-
*
|
|
86
|
+
*
|
|
87
87
|
* @example To list the signing certificates for an IAM user
|
|
88
88
|
* ```javascript
|
|
89
89
|
* // The following command lists the signing certificates for the IAM user named Bob.
|
|
90
90
|
* const input = {
|
|
91
|
-
*
|
|
91
|
+
* UserName: "Bob"
|
|
92
92
|
* };
|
|
93
93
|
* const command = new ListSigningCertificatesCommand(input);
|
|
94
94
|
* const response = await client.send(command);
|
|
95
|
-
* /* response
|
|
95
|
+
* /* response is
|
|
96
96
|
* {
|
|
97
|
-
*
|
|
97
|
+
* Certificates: [
|
|
98
98
|
* {
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
99
|
+
* CertificateBody: "-----BEGIN CERTIFICATE-----<certificate-body>-----END CERTIFICATE-----",
|
|
100
|
+
* CertificateId: "TA7SMP42TDN5Z26OBPJE7EXAMPLE",
|
|
101
|
+
* Status: "Active",
|
|
102
|
+
* UploadDate: "2013-06-06T21:40:08Z",
|
|
103
|
+
* UserName: "Bob"
|
|
104
104
|
* }
|
|
105
105
|
* ]
|
|
106
106
|
* }
|
|
107
107
|
* *\/
|
|
108
|
-
* // example id: b4c10256-4fc9-457e-b3fd-4a110d4d73dc
|
|
109
108
|
* ```
|
|
110
109
|
*
|
|
110
|
+
* @public
|
|
111
111
|
*/
|
|
112
112
|
export declare class ListSigningCertificatesCommand extends ListSigningCertificatesCommand_base {
|
|
113
113
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -75,6 +75,7 @@ declare const ListUserPoliciesCommand_base: {
|
|
|
75
75
|
* @throws {@link IAMServiceException}
|
|
76
76
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
77
77
|
*
|
|
78
|
+
*
|
|
78
79
|
* @public
|
|
79
80
|
*/
|
|
80
81
|
export declare class ListUserPoliciesCommand extends ListUserPoliciesCommand_base {
|
|
@@ -72,33 +72,33 @@ declare const ListUserTagsCommand_base: {
|
|
|
72
72
|
* @throws {@link IAMServiceException}
|
|
73
73
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
74
74
|
*
|
|
75
|
-
*
|
|
75
|
+
*
|
|
76
76
|
* @example To list the tags attached to an IAM user
|
|
77
77
|
* ```javascript
|
|
78
78
|
* // The following example shows how to list the tags attached to a user.
|
|
79
79
|
* const input = {
|
|
80
|
-
*
|
|
80
|
+
* UserName: "anika"
|
|
81
81
|
* };
|
|
82
82
|
* const command = new ListUserTagsCommand(input);
|
|
83
83
|
* const response = await client.send(command);
|
|
84
|
-
* /* response
|
|
84
|
+
* /* response is
|
|
85
85
|
* {
|
|
86
|
-
*
|
|
87
|
-
*
|
|
86
|
+
* IsTruncated: false,
|
|
87
|
+
* Tags: [
|
|
88
88
|
* {
|
|
89
|
-
*
|
|
90
|
-
*
|
|
89
|
+
* Key: "Dept",
|
|
90
|
+
* Value: "12345"
|
|
91
91
|
* },
|
|
92
92
|
* {
|
|
93
|
-
*
|
|
94
|
-
*
|
|
93
|
+
* Key: "Team",
|
|
94
|
+
* Value: "Accounting"
|
|
95
95
|
* }
|
|
96
96
|
* ]
|
|
97
97
|
* }
|
|
98
98
|
* *\/
|
|
99
|
-
* // example id: to-list-the-tags-attached-to-an-iam-user-1506719473186
|
|
100
99
|
* ```
|
|
101
100
|
*
|
|
101
|
+
* @public
|
|
102
102
|
*/
|
|
103
103
|
export declare class ListUserTagsCommand extends ListUserTagsCommand_base {
|
|
104
104
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -98,38 +98,38 @@ declare const ListUsersCommand_base: {
|
|
|
98
98
|
* @throws {@link IAMServiceException}
|
|
99
99
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
100
100
|
*
|
|
101
|
-
*
|
|
101
|
+
*
|
|
102
102
|
* @example To list IAM users
|
|
103
103
|
* ```javascript
|
|
104
104
|
* // The following command lists the IAM users in the current account.
|
|
105
|
-
* const input = {};
|
|
105
|
+
* const input = { /* empty *\/ };
|
|
106
106
|
* const command = new ListUsersCommand(input);
|
|
107
107
|
* const response = await client.send(command);
|
|
108
|
-
* /* response
|
|
108
|
+
* /* response is
|
|
109
109
|
* {
|
|
110
|
-
*
|
|
110
|
+
* Users: [
|
|
111
111
|
* {
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
*
|
|
112
|
+
* Arn: "arn:aws:iam::123456789012:user/division_abc/subdivision_xyz/engineering/Juan",
|
|
113
|
+
* CreateDate: "2012-09-05T19:38:48Z",
|
|
114
|
+
* PasswordLastUsed: "2016-09-08T21:47:36Z",
|
|
115
|
+
* Path: "/division_abc/subdivision_xyz/engineering/",
|
|
116
|
+
* UserId: "AID2MAB8DPLSRHEXAMPLE",
|
|
117
|
+
* UserName: "Juan"
|
|
118
118
|
* },
|
|
119
119
|
* {
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
120
|
+
* Arn: "arn:aws:iam::123456789012:user/division_abc/subdivision_xyz/engineering/Anika",
|
|
121
|
+
* CreateDate: "2014-04-09T15:43:45Z",
|
|
122
|
+
* PasswordLastUsed: "2016-09-24T16:18:07Z",
|
|
123
|
+
* Path: "/division_abc/subdivision_xyz/engineering/",
|
|
124
|
+
* UserId: "AIDIODR4TAW7CSEXAMPLE",
|
|
125
|
+
* UserName: "Anika"
|
|
126
126
|
* }
|
|
127
127
|
* ]
|
|
128
128
|
* }
|
|
129
129
|
* *\/
|
|
130
|
-
* // example id: 9edfbd73-03d8-4d8a-9a79-76c85e8c8298
|
|
131
130
|
* ```
|
|
132
131
|
*
|
|
132
|
+
* @public
|
|
133
133
|
*/
|
|
134
134
|
export declare class ListUsersCommand extends ListUsersCommand_base {
|
|
135
135
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -98,28 +98,28 @@ declare const ListVirtualMFADevicesCommand_base: {
|
|
|
98
98
|
* @throws {@link IAMServiceException}
|
|
99
99
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
100
100
|
*
|
|
101
|
-
*
|
|
101
|
+
*
|
|
102
102
|
* @example To list virtual MFA devices
|
|
103
103
|
* ```javascript
|
|
104
104
|
* // The following command lists the virtual MFA devices that have been configured for the current account.
|
|
105
|
-
* const input = {};
|
|
105
|
+
* const input = { /* empty *\/ };
|
|
106
106
|
* const command = new ListVirtualMFADevicesCommand(input);
|
|
107
107
|
* const response = await client.send(command);
|
|
108
|
-
* /* response
|
|
108
|
+
* /* response is
|
|
109
109
|
* {
|
|
110
|
-
*
|
|
110
|
+
* VirtualMFADevices: [
|
|
111
111
|
* {
|
|
112
|
-
*
|
|
112
|
+
* SerialNumber: "arn:aws:iam::123456789012:mfa/ExampleMFADevice"
|
|
113
113
|
* },
|
|
114
114
|
* {
|
|
115
|
-
*
|
|
115
|
+
* SerialNumber: "arn:aws:iam::123456789012:mfa/Juan"
|
|
116
116
|
* }
|
|
117
117
|
* ]
|
|
118
118
|
* }
|
|
119
119
|
* *\/
|
|
120
|
-
* // example id: 54f9ac18-5100-4070-bec4-fe5f612710d5
|
|
121
120
|
* ```
|
|
122
121
|
*
|
|
122
|
+
* @public
|
|
123
123
|
*/
|
|
124
124
|
export declare class ListVirtualMFADevicesCommand extends ListVirtualMFADevicesCommand_base {
|
|
125
125
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -88,20 +88,23 @@ declare const PutGroupPolicyCommand_base: {
|
|
|
88
88
|
* @throws {@link IAMServiceException}
|
|
89
89
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
90
90
|
*
|
|
91
|
-
*
|
|
91
|
+
*
|
|
92
92
|
* @example To add a policy to a group
|
|
93
93
|
* ```javascript
|
|
94
94
|
* // The following command adds a policy named AllPerms to the IAM group named Admins.
|
|
95
95
|
* const input = {
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
96
|
+
* GroupName: "Admins",
|
|
97
|
+
* PolicyDocument: `{"Version":"2012-10-17","Statement":{"Effect":"Allow","Action":"*","Resource":"*"}}`,
|
|
98
|
+
* PolicyName: "AllPerms"
|
|
99
99
|
* };
|
|
100
100
|
* const command = new PutGroupPolicyCommand(input);
|
|
101
|
-
* await client.send(command);
|
|
102
|
-
*
|
|
101
|
+
* const response = await client.send(command);
|
|
102
|
+
* /* response is
|
|
103
|
+
* { /* metadata only *\/ }
|
|
104
|
+
* *\/
|
|
103
105
|
* ```
|
|
104
106
|
*
|
|
107
|
+
* @public
|
|
105
108
|
*/
|
|
106
109
|
export declare class PutGroupPolicyCommand extends PutGroupPolicyCommand_base {
|
|
107
110
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -86,6 +86,7 @@ declare const PutRolePermissionsBoundaryCommand_base: {
|
|
|
86
86
|
* @throws {@link IAMServiceException}
|
|
87
87
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
88
88
|
*
|
|
89
|
+
*
|
|
89
90
|
* @public
|
|
90
91
|
*/
|
|
91
92
|
export declare class PutRolePermissionsBoundaryCommand extends PutRolePermissionsBoundaryCommand_base {
|
|
@@ -104,20 +104,23 @@ declare const PutRolePolicyCommand_base: {
|
|
|
104
104
|
* @throws {@link IAMServiceException}
|
|
105
105
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
106
106
|
*
|
|
107
|
-
*
|
|
107
|
+
*
|
|
108
108
|
* @example To attach a permissions policy to an IAM role
|
|
109
109
|
* ```javascript
|
|
110
110
|
* // The following command adds a permissions policy to the role named Test-Role.
|
|
111
111
|
* const input = {
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
112
|
+
* PolicyDocument: `{"Version":"2012-10-17","Statement":{"Effect":"Allow","Action":"s3:*","Resource":"*"}}`,
|
|
113
|
+
* PolicyName: "S3AccessPolicy",
|
|
114
|
+
* RoleName: "S3Access"
|
|
115
115
|
* };
|
|
116
116
|
* const command = new PutRolePolicyCommand(input);
|
|
117
|
-
* await client.send(command);
|
|
118
|
-
*
|
|
117
|
+
* const response = await client.send(command);
|
|
118
|
+
* /* response is
|
|
119
|
+
* { /* metadata only *\/ }
|
|
120
|
+
* *\/
|
|
119
121
|
* ```
|
|
120
122
|
*
|
|
123
|
+
* @public
|
|
121
124
|
*/
|
|
122
125
|
export declare class PutRolePolicyCommand extends PutRolePolicyCommand_base {
|
|
123
126
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -79,6 +79,7 @@ declare const PutUserPermissionsBoundaryCommand_base: {
|
|
|
79
79
|
* @throws {@link IAMServiceException}
|
|
80
80
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
81
81
|
*
|
|
82
|
+
*
|
|
82
83
|
* @public
|
|
83
84
|
*/
|
|
84
85
|
export declare class PutUserPermissionsBoundaryCommand extends PutUserPermissionsBoundaryCommand_base {
|
|
@@ -88,20 +88,23 @@ declare const PutUserPolicyCommand_base: {
|
|
|
88
88
|
* @throws {@link IAMServiceException}
|
|
89
89
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
90
90
|
*
|
|
91
|
-
*
|
|
91
|
+
*
|
|
92
92
|
* @example To attach a policy to an IAM user
|
|
93
93
|
* ```javascript
|
|
94
94
|
* // The following command attaches a policy to the IAM user named Bob.
|
|
95
95
|
* const input = {
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
96
|
+
* PolicyDocument: `{"Version":"2012-10-17","Statement":{"Effect":"Allow","Action":"*","Resource":"*"}}`,
|
|
97
|
+
* PolicyName: "AllAccessPolicy",
|
|
98
|
+
* UserName: "Bob"
|
|
99
99
|
* };
|
|
100
100
|
* const command = new PutUserPolicyCommand(input);
|
|
101
|
-
* await client.send(command);
|
|
102
|
-
*
|
|
101
|
+
* const response = await client.send(command);
|
|
102
|
+
* /* response is
|
|
103
|
+
* { /* metadata only *\/ }
|
|
104
|
+
* *\/
|
|
103
105
|
* ```
|
|
104
106
|
*
|
|
107
|
+
* @public
|
|
105
108
|
*/
|
|
106
109
|
export declare class PutUserPolicyCommand extends PutUserPolicyCommand_base {
|
|
107
110
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -69,6 +69,7 @@ declare const RemoveClientIDFromOpenIDConnectProviderCommand_base: {
|
|
|
69
69
|
* @throws {@link IAMServiceException}
|
|
70
70
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
71
71
|
*
|
|
72
|
+
*
|
|
72
73
|
* @public
|
|
73
74
|
*/
|
|
74
75
|
export declare class RemoveClientIDFromOpenIDConnectProviderCommand extends RemoveClientIDFromOpenIDConnectProviderCommand_base {
|
|
@@ -81,19 +81,22 @@ declare const RemoveRoleFromInstanceProfileCommand_base: {
|
|
|
81
81
|
* @throws {@link IAMServiceException}
|
|
82
82
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
83
83
|
*
|
|
84
|
-
*
|
|
84
|
+
*
|
|
85
85
|
* @example To remove a role from an instance profile
|
|
86
86
|
* ```javascript
|
|
87
87
|
* // The following command removes the role named Test-Role from the instance profile named ExampleInstanceProfile.
|
|
88
88
|
* const input = {
|
|
89
|
-
*
|
|
90
|
-
*
|
|
89
|
+
* InstanceProfileName: "ExampleInstanceProfile",
|
|
90
|
+
* RoleName: "Test-Role"
|
|
91
91
|
* };
|
|
92
92
|
* const command = new RemoveRoleFromInstanceProfileCommand(input);
|
|
93
|
-
* await client.send(command);
|
|
94
|
-
*
|
|
93
|
+
* const response = await client.send(command);
|
|
94
|
+
* /* response is
|
|
95
|
+
* { /* metadata only *\/ }
|
|
96
|
+
* *\/
|
|
95
97
|
* ```
|
|
96
98
|
*
|
|
99
|
+
* @public
|
|
97
100
|
*/
|
|
98
101
|
export declare class RemoveRoleFromInstanceProfileCommand extends RemoveRoleFromInstanceProfileCommand_base {
|
|
99
102
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -65,19 +65,22 @@ declare const RemoveUserFromGroupCommand_base: {
|
|
|
65
65
|
* @throws {@link IAMServiceException}
|
|
66
66
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
67
67
|
*
|
|
68
|
-
*
|
|
68
|
+
*
|
|
69
69
|
* @example To remove a user from an IAM group
|
|
70
70
|
* ```javascript
|
|
71
71
|
* // The following command removes the user named Bob from the IAM group named Admins.
|
|
72
72
|
* const input = {
|
|
73
|
-
*
|
|
74
|
-
*
|
|
73
|
+
* GroupName: "Admins",
|
|
74
|
+
* UserName: "Bob"
|
|
75
75
|
* };
|
|
76
76
|
* const command = new RemoveUserFromGroupCommand(input);
|
|
77
|
-
* await client.send(command);
|
|
78
|
-
*
|
|
77
|
+
* const response = await client.send(command);
|
|
78
|
+
* /* response is
|
|
79
|
+
* { /* metadata only *\/ }
|
|
80
|
+
* *\/
|
|
79
81
|
* ```
|
|
80
82
|
*
|
|
83
|
+
* @public
|
|
81
84
|
*/
|
|
82
85
|
export declare class RemoveUserFromGroupCommand extends RemoveUserFromGroupCommand_base {
|
|
83
86
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -70,6 +70,7 @@ declare const ResetServiceSpecificCredentialCommand_base: {
|
|
|
70
70
|
* @throws {@link IAMServiceException}
|
|
71
71
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
72
72
|
*
|
|
73
|
+
*
|
|
73
74
|
* @public
|
|
74
75
|
*/
|
|
75
76
|
export declare class ResetServiceSpecificCredentialCommand extends ResetServiceSpecificCredentialCommand_base {
|
|
@@ -78,6 +78,7 @@ declare const ResyncMFADeviceCommand_base: {
|
|
|
78
78
|
* @throws {@link IAMServiceException}
|
|
79
79
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
80
80
|
*
|
|
81
|
+
*
|
|
81
82
|
* @public
|
|
82
83
|
*/
|
|
83
84
|
export declare class ResyncMFADeviceCommand extends ResyncMFADeviceCommand_base {
|
|
@@ -74,6 +74,7 @@ declare const SetDefaultPolicyVersionCommand_base: {
|
|
|
74
74
|
* @throws {@link IAMServiceException}
|
|
75
75
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
76
76
|
*
|
|
77
|
+
*
|
|
77
78
|
* @public
|
|
78
79
|
*/
|
|
79
80
|
export declare class SetDefaultPolicyVersionCommand extends SetDefaultPolicyVersionCommand_base {
|
|
@@ -74,18 +74,21 @@ declare const SetSecurityTokenServicePreferencesCommand_base: {
|
|
|
74
74
|
* @throws {@link IAMServiceException}
|
|
75
75
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
76
76
|
*
|
|
77
|
-
*
|
|
77
|
+
*
|
|
78
78
|
* @example To delete an access key for an IAM user
|
|
79
79
|
* ```javascript
|
|
80
80
|
* // The following command sets the STS global endpoint token to version 2. Version 2 tokens are valid in all Regions.
|
|
81
81
|
* const input = {
|
|
82
|
-
*
|
|
82
|
+
* GlobalEndpointTokenVersion: "v2Token"
|
|
83
83
|
* };
|
|
84
84
|
* const command = new SetSecurityTokenServicePreferencesCommand(input);
|
|
85
|
-
* await client.send(command);
|
|
86
|
-
*
|
|
85
|
+
* const response = await client.send(command);
|
|
86
|
+
* /* response is
|
|
87
|
+
* { /* metadata only *\/ }
|
|
88
|
+
* *\/
|
|
87
89
|
* ```
|
|
88
90
|
*
|
|
91
|
+
* @public
|
|
89
92
|
*/
|
|
90
93
|
export declare class SetSecurityTokenServicePreferencesCommand extends SetSecurityTokenServicePreferencesCommand_base {
|
|
91
94
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -175,6 +175,7 @@ declare const SimulateCustomPolicyCommand_base: {
|
|
|
175
175
|
* @throws {@link IAMServiceException}
|
|
176
176
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
177
177
|
*
|
|
178
|
+
*
|
|
178
179
|
* @public
|
|
179
180
|
*/
|
|
180
181
|
export declare class SimulateCustomPolicyCommand extends SimulateCustomPolicyCommand_base {
|
|
@@ -188,6 +188,7 @@ declare const SimulatePrincipalPolicyCommand_base: {
|
|
|
188
188
|
* @throws {@link IAMServiceException}
|
|
189
189
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
190
190
|
*
|
|
191
|
+
*
|
|
191
192
|
* @public
|
|
192
193
|
*/
|
|
193
194
|
export declare class SimulatePrincipalPolicyCommand extends SimulatePrincipalPolicyCommand_base {
|
|
@@ -113,6 +113,7 @@ declare const TagInstanceProfileCommand_base: {
|
|
|
113
113
|
* @throws {@link IAMServiceException}
|
|
114
114
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
115
115
|
*
|
|
116
|
+
*
|
|
116
117
|
* @public
|
|
117
118
|
*/
|
|
118
119
|
export declare class TagInstanceProfileCommand extends TagInstanceProfileCommand_base {
|
|
@@ -114,6 +114,7 @@ declare const TagMFADeviceCommand_base: {
|
|
|
114
114
|
* @throws {@link IAMServiceException}
|
|
115
115
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
116
116
|
*
|
|
117
|
+
*
|
|
117
118
|
* @public
|
|
118
119
|
*/
|
|
119
120
|
export declare class TagMFADeviceCommand extends TagMFADeviceCommand_base {
|
|
@@ -115,6 +115,7 @@ declare const TagOpenIDConnectProviderCommand_base: {
|
|
|
115
115
|
* @throws {@link IAMServiceException}
|
|
116
116
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
117
117
|
*
|
|
118
|
+
*
|
|
118
119
|
* @public
|
|
119
120
|
*/
|
|
120
121
|
export declare class TagOpenIDConnectProviderCommand extends TagOpenIDConnectProviderCommand_base {
|
|
@@ -113,6 +113,7 @@ declare const TagPolicyCommand_base: {
|
|
|
113
113
|
* @throws {@link IAMServiceException}
|
|
114
114
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
115
115
|
*
|
|
116
|
+
*
|
|
116
117
|
* @public
|
|
117
118
|
*/
|
|
118
119
|
export declare class TagPolicyCommand extends TagPolicyCommand_base {
|