@aws-sdk/client-iam 3.325.0 → 3.327.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.
Files changed (159) hide show
  1. package/dist-types/commands/AddClientIDToOpenIDConnectProviderCommand.d.ts +4 -0
  2. package/dist-types/commands/AddRoleToInstanceProfileCommand.d.ts +4 -0
  3. package/dist-types/commands/AddUserToGroupCommand.d.ts +4 -0
  4. package/dist-types/commands/AttachGroupPolicyCommand.d.ts +4 -0
  5. package/dist-types/commands/AttachRolePolicyCommand.d.ts +4 -0
  6. package/dist-types/commands/AttachUserPolicyCommand.d.ts +4 -0
  7. package/dist-types/commands/ChangePasswordCommand.d.ts +4 -0
  8. package/dist-types/commands/CreateAccessKeyCommand.d.ts +12 -0
  9. package/dist-types/commands/CreateAccountAliasCommand.d.ts +4 -0
  10. package/dist-types/commands/CreateGroupCommand.d.ts +12 -0
  11. package/dist-types/commands/CreateInstanceProfileCommand.d.ts +44 -0
  12. package/dist-types/commands/CreateLoginProfileCommand.d.ts +10 -0
  13. package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +12 -0
  14. package/dist-types/commands/CreatePolicyCommand.d.ts +24 -0
  15. package/dist-types/commands/CreatePolicyVersionCommand.d.ts +11 -0
  16. package/dist-types/commands/CreateRoleCommand.d.ts +29 -0
  17. package/dist-types/commands/CreateSAMLProviderCommand.d.ts +12 -0
  18. package/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +29 -0
  19. package/dist-types/commands/CreateServiceSpecificCredentialCommand.d.ts +14 -0
  20. package/dist-types/commands/CreateUserCommand.d.ts +23 -0
  21. package/dist-types/commands/CreateVirtualMFADeviceCommand.d.ts +35 -0
  22. package/dist-types/commands/DeactivateMFADeviceCommand.d.ts +4 -0
  23. package/dist-types/commands/DeleteAccessKeyCommand.d.ts +4 -0
  24. package/dist-types/commands/DeleteAccountAliasCommand.d.ts +4 -0
  25. package/dist-types/commands/DeleteAccountPasswordPolicyCommand.d.ts +4 -0
  26. package/dist-types/commands/DeleteGroupCommand.d.ts +4 -0
  27. package/dist-types/commands/DeleteGroupPolicyCommand.d.ts +4 -0
  28. package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +4 -0
  29. package/dist-types/commands/DeleteLoginProfileCommand.d.ts +4 -0
  30. package/dist-types/commands/DeleteOpenIDConnectProviderCommand.d.ts +4 -0
  31. package/dist-types/commands/DeletePolicyCommand.d.ts +4 -0
  32. package/dist-types/commands/DeletePolicyVersionCommand.d.ts +4 -0
  33. package/dist-types/commands/DeleteRoleCommand.d.ts +4 -0
  34. package/dist-types/commands/DeleteRolePermissionsBoundaryCommand.d.ts +4 -0
  35. package/dist-types/commands/DeleteRolePolicyCommand.d.ts +4 -0
  36. package/dist-types/commands/DeleteSAMLProviderCommand.d.ts +4 -0
  37. package/dist-types/commands/DeleteSSHPublicKeyCommand.d.ts +4 -0
  38. package/dist-types/commands/DeleteServerCertificateCommand.d.ts +4 -0
  39. package/dist-types/commands/DeleteServiceLinkedRoleCommand.d.ts +6 -0
  40. package/dist-types/commands/DeleteServiceSpecificCredentialCommand.d.ts +4 -0
  41. package/dist-types/commands/DeleteSigningCertificateCommand.d.ts +4 -0
  42. package/dist-types/commands/DeleteUserCommand.d.ts +4 -0
  43. package/dist-types/commands/DeleteUserPermissionsBoundaryCommand.d.ts +4 -0
  44. package/dist-types/commands/DeleteUserPolicyCommand.d.ts +4 -0
  45. package/dist-types/commands/DeleteVirtualMFADeviceCommand.d.ts +4 -0
  46. package/dist-types/commands/DetachGroupPolicyCommand.d.ts +4 -0
  47. package/dist-types/commands/DetachRolePolicyCommand.d.ts +4 -0
  48. package/dist-types/commands/DetachUserPolicyCommand.d.ts +4 -0
  49. package/dist-types/commands/EnableMFADeviceCommand.d.ts +4 -0
  50. package/dist-types/commands/GenerateCredentialReportCommand.d.ts +7 -0
  51. package/dist-types/commands/GenerateOrganizationsAccessReportCommand.d.ts +6 -0
  52. package/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +6 -0
  53. package/dist-types/commands/GetAccessKeyLastUsedCommand.d.ts +11 -0
  54. package/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +152 -0
  55. package/dist-types/commands/GetAccountPasswordPolicyCommand.d.ts +17 -0
  56. package/dist-types/commands/GetAccountSummaryCommand.d.ts +8 -0
  57. package/dist-types/commands/GetContextKeysForCustomPolicyCommand.d.ts +8 -0
  58. package/dist-types/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +8 -0
  59. package/dist-types/commands/GetCredentialReportCommand.d.ts +8 -0
  60. package/dist-types/commands/GetGroupCommand.d.ts +34 -0
  61. package/dist-types/commands/GetGroupPolicyCommand.d.ts +8 -0
  62. package/dist-types/commands/GetInstanceProfileCommand.d.ts +44 -0
  63. package/dist-types/commands/GetLoginProfileCommand.d.ts +10 -0
  64. package/dist-types/commands/GetOpenIDConnectProviderCommand.d.ts +19 -0
  65. package/dist-types/commands/GetOrganizationsAccessReportCommand.d.ts +26 -0
  66. package/dist-types/commands/GetPolicyCommand.d.ts +24 -0
  67. package/dist-types/commands/GetPolicyVersionCommand.d.ts +11 -0
  68. package/dist-types/commands/GetRoleCommand.d.ts +29 -0
  69. package/dist-types/commands/GetRolePolicyCommand.d.ts +8 -0
  70. package/dist-types/commands/GetSAMLProviderCommand.d.ts +14 -0
  71. package/dist-types/commands/GetSSHPublicKeyCommand.d.ts +13 -0
  72. package/dist-types/commands/GetServerCertificateCommand.d.ts +23 -0
  73. package/dist-types/commands/GetServiceLastAccessedDetailsCommand.d.ts +33 -0
  74. package/dist-types/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +26 -0
  75. package/dist-types/commands/GetServiceLinkedRoleDeletionStatusCommand.d.ts +17 -0
  76. package/dist-types/commands/GetUserCommand.d.ts +23 -0
  77. package/dist-types/commands/GetUserPolicyCommand.d.ts +8 -0
  78. package/dist-types/commands/ListAccessKeysCommand.d.ts +15 -0
  79. package/dist-types/commands/ListAccountAliasesCommand.d.ts +10 -0
  80. package/dist-types/commands/ListAttachedGroupPoliciesCommand.d.ts +13 -0
  81. package/dist-types/commands/ListAttachedRolePoliciesCommand.d.ts +13 -0
  82. package/dist-types/commands/ListAttachedUserPoliciesCommand.d.ts +13 -0
  83. package/dist-types/commands/ListEntitiesForPolicyCommand.d.ts +25 -0
  84. package/dist-types/commands/ListGroupPoliciesCommand.d.ts +10 -0
  85. package/dist-types/commands/ListGroupsCommand.d.ts +16 -0
  86. package/dist-types/commands/ListGroupsForUserCommand.d.ts +16 -0
  87. package/dist-types/commands/ListInstanceProfileTagsCommand.d.ts +13 -0
  88. package/dist-types/commands/ListInstanceProfilesCommand.d.ts +48 -0
  89. package/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +48 -0
  90. package/dist-types/commands/ListMFADeviceTagsCommand.d.ts +13 -0
  91. package/dist-types/commands/ListMFADevicesCommand.d.ts +14 -0
  92. package/dist-types/commands/ListOpenIDConnectProviderTagsCommand.d.ts +13 -0
  93. package/dist-types/commands/ListOpenIDConnectProvidersCommand.d.ts +10 -0
  94. package/dist-types/commands/ListPoliciesCommand.d.ts +28 -0
  95. package/dist-types/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +21 -0
  96. package/dist-types/commands/ListPolicyTagsCommand.d.ts +13 -0
  97. package/dist-types/commands/ListPolicyVersionsCommand.d.ts +15 -0
  98. package/dist-types/commands/ListRolePoliciesCommand.d.ts +10 -0
  99. package/dist-types/commands/ListRoleTagsCommand.d.ts +13 -0
  100. package/dist-types/commands/ListRolesCommand.d.ts +33 -0
  101. package/dist-types/commands/ListSAMLProviderTagsCommand.d.ts +13 -0
  102. package/dist-types/commands/ListSAMLProvidersCommand.d.ts +12 -0
  103. package/dist-types/commands/ListSSHPublicKeysCommand.d.ts +15 -0
  104. package/dist-types/commands/ListServerCertificateTagsCommand.d.ts +13 -0
  105. package/dist-types/commands/ListServerCertificatesCommand.d.ts +17 -0
  106. package/dist-types/commands/ListServiceSpecificCredentialsCommand.d.ts +15 -0
  107. package/dist-types/commands/ListSigningCertificatesCommand.d.ts +16 -0
  108. package/dist-types/commands/ListUserPoliciesCommand.d.ts +10 -0
  109. package/dist-types/commands/ListUserTagsCommand.d.ts +13 -0
  110. package/dist-types/commands/ListUsersCommand.d.ts +27 -0
  111. package/dist-types/commands/ListVirtualMFADevicesCommand.d.ts +39 -0
  112. package/dist-types/commands/PutGroupPolicyCommand.d.ts +4 -0
  113. package/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts +4 -0
  114. package/dist-types/commands/PutRolePolicyCommand.d.ts +4 -0
  115. package/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts +4 -0
  116. package/dist-types/commands/PutUserPolicyCommand.d.ts +4 -0
  117. package/dist-types/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +4 -0
  118. package/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +4 -0
  119. package/dist-types/commands/RemoveUserFromGroupCommand.d.ts +4 -0
  120. package/dist-types/commands/ResetServiceSpecificCredentialCommand.d.ts +14 -0
  121. package/dist-types/commands/ResyncMFADeviceCommand.d.ts +4 -0
  122. package/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +4 -0
  123. package/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +4 -0
  124. package/dist-types/commands/SimulateCustomPolicyCommand.d.ts +69 -0
  125. package/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +69 -0
  126. package/dist-types/commands/TagInstanceProfileCommand.d.ts +4 -0
  127. package/dist-types/commands/TagMFADeviceCommand.d.ts +4 -0
  128. package/dist-types/commands/TagOpenIDConnectProviderCommand.d.ts +4 -0
  129. package/dist-types/commands/TagPolicyCommand.d.ts +4 -0
  130. package/dist-types/commands/TagRoleCommand.d.ts +4 -0
  131. package/dist-types/commands/TagSAMLProviderCommand.d.ts +4 -0
  132. package/dist-types/commands/TagServerCertificateCommand.d.ts +4 -0
  133. package/dist-types/commands/TagUserCommand.d.ts +4 -0
  134. package/dist-types/commands/UntagInstanceProfileCommand.d.ts +4 -0
  135. package/dist-types/commands/UntagMFADeviceCommand.d.ts +4 -0
  136. package/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +4 -0
  137. package/dist-types/commands/UntagPolicyCommand.d.ts +4 -0
  138. package/dist-types/commands/UntagRoleCommand.d.ts +4 -0
  139. package/dist-types/commands/UntagSAMLProviderCommand.d.ts +4 -0
  140. package/dist-types/commands/UntagServerCertificateCommand.d.ts +4 -0
  141. package/dist-types/commands/UntagUserCommand.d.ts +4 -0
  142. package/dist-types/commands/UpdateAccessKeyCommand.d.ts +4 -0
  143. package/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +4 -0
  144. package/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +4 -0
  145. package/dist-types/commands/UpdateGroupCommand.d.ts +4 -0
  146. package/dist-types/commands/UpdateLoginProfileCommand.d.ts +4 -0
  147. package/dist-types/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +4 -0
  148. package/dist-types/commands/UpdateRoleCommand.d.ts +4 -0
  149. package/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +29 -0
  150. package/dist-types/commands/UpdateSAMLProviderCommand.d.ts +6 -0
  151. package/dist-types/commands/UpdateSSHPublicKeyCommand.d.ts +4 -0
  152. package/dist-types/commands/UpdateServerCertificateCommand.d.ts +4 -0
  153. package/dist-types/commands/UpdateServiceSpecificCredentialCommand.d.ts +4 -0
  154. package/dist-types/commands/UpdateSigningCertificateCommand.d.ts +4 -0
  155. package/dist-types/commands/UpdateUserCommand.d.ts +4 -0
  156. package/dist-types/commands/UploadSSHPublicKeyCommand.d.ts +13 -0
  157. package/dist-types/commands/UploadServerCertificateCommand.d.ts +19 -0
  158. package/dist-types/commands/UploadSigningCertificateCommand.d.ts +12 -0
  159. package/package.json +7 -7
@@ -35,6 +35,8 @@ export interface UntagInstanceProfileCommandOutput extends __MetadataBearer {
35
35
  * };
36
36
  * const command = new UntagInstanceProfileCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // {};
39
+ *
38
40
  * ```
39
41
  *
40
42
  * @param UntagInstanceProfileCommandInput - {@link UntagInstanceProfileCommandInput}
@@ -59,6 +61,8 @@ export interface UntagInstanceProfileCommandOutput extends __MetadataBearer {
59
61
  * <p>The request processing has failed because of an unknown error, exception or
60
62
  * failure.</p>
61
63
  *
64
+ * @throws {@link IAMServiceException}
65
+ * <p>Base exception class for all service exceptions from IAM service.</p>
62
66
  *
63
67
  */
64
68
  export declare class UntagInstanceProfileCommand extends $Command<UntagInstanceProfileCommandInput, UntagInstanceProfileCommandOutput, IAMClientResolvedConfig> {
@@ -36,6 +36,8 @@ export interface UntagMFADeviceCommandOutput extends __MetadataBearer {
36
36
  * };
37
37
  * const command = new UntagMFADeviceCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // {};
40
+ *
39
41
  * ```
40
42
  *
41
43
  * @param UntagMFADeviceCommandInput - {@link UntagMFADeviceCommandInput}
@@ -60,6 +62,8 @@ export interface UntagMFADeviceCommandOutput extends __MetadataBearer {
60
62
  * <p>The request processing has failed because of an unknown error, exception or
61
63
  * failure.</p>
62
64
  *
65
+ * @throws {@link IAMServiceException}
66
+ * <p>Base exception class for all service exceptions from IAM service.</p>
63
67
  *
64
68
  */
65
69
  export declare class UntagMFADeviceCommand extends $Command<UntagMFADeviceCommandInput, UntagMFADeviceCommandOutput, IAMClientResolvedConfig> {
@@ -37,6 +37,8 @@ export interface UntagOpenIDConnectProviderCommandOutput extends __MetadataBeare
37
37
  * };
38
38
  * const command = new UntagOpenIDConnectProviderCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // {};
41
+ *
40
42
  * ```
41
43
  *
42
44
  * @param UntagOpenIDConnectProviderCommandInput - {@link UntagOpenIDConnectProviderCommandInput}
@@ -61,6 +63,8 @@ export interface UntagOpenIDConnectProviderCommandOutput extends __MetadataBeare
61
63
  * <p>The request processing has failed because of an unknown error, exception or
62
64
  * failure.</p>
63
65
  *
66
+ * @throws {@link IAMServiceException}
67
+ * <p>Base exception class for all service exceptions from IAM service.</p>
64
68
  *
65
69
  */
66
70
  export declare class UntagOpenIDConnectProviderCommand extends $Command<UntagOpenIDConnectProviderCommandInput, UntagOpenIDConnectProviderCommandOutput, IAMClientResolvedConfig> {
@@ -35,6 +35,8 @@ export interface UntagPolicyCommandOutput extends __MetadataBearer {
35
35
  * };
36
36
  * const command = new UntagPolicyCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // {};
39
+ *
38
40
  * ```
39
41
  *
40
42
  * @param UntagPolicyCommandInput - {@link UntagPolicyCommandInput}
@@ -59,6 +61,8 @@ export interface UntagPolicyCommandOutput extends __MetadataBearer {
59
61
  * <p>The request processing has failed because of an unknown error, exception or
60
62
  * failure.</p>
61
63
  *
64
+ * @throws {@link IAMServiceException}
65
+ * <p>Base exception class for all service exceptions from IAM service.</p>
62
66
  *
63
67
  */
64
68
  export declare class UntagPolicyCommand extends $Command<UntagPolicyCommandInput, UntagPolicyCommandOutput, IAMClientResolvedConfig> {
@@ -35,6 +35,8 @@ export interface UntagRoleCommandOutput extends __MetadataBearer {
35
35
  * };
36
36
  * const command = new UntagRoleCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // {};
39
+ *
38
40
  * ```
39
41
  *
40
42
  * @param UntagRoleCommandInput - {@link UntagRoleCommandInput}
@@ -55,6 +57,8 @@ export interface UntagRoleCommandOutput extends __MetadataBearer {
55
57
  * <p>The request processing has failed because of an unknown error, exception or
56
58
  * failure.</p>
57
59
  *
60
+ * @throws {@link IAMServiceException}
61
+ * <p>Base exception class for all service exceptions from IAM service.</p>
58
62
  *
59
63
  * @example To remove a tag from an IAM role
60
64
  * ```javascript
@@ -37,6 +37,8 @@ export interface UntagSAMLProviderCommandOutput extends __MetadataBearer {
37
37
  * };
38
38
  * const command = new UntagSAMLProviderCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // {};
41
+ *
40
42
  * ```
41
43
  *
42
44
  * @param UntagSAMLProviderCommandInput - {@link UntagSAMLProviderCommandInput}
@@ -61,6 +63,8 @@ export interface UntagSAMLProviderCommandOutput extends __MetadataBearer {
61
63
  * <p>The request processing has failed because of an unknown error, exception or
62
64
  * failure.</p>
63
65
  *
66
+ * @throws {@link IAMServiceException}
67
+ * <p>Base exception class for all service exceptions from IAM service.</p>
64
68
  *
65
69
  */
66
70
  export declare class UntagSAMLProviderCommand extends $Command<UntagSAMLProviderCommandInput, UntagSAMLProviderCommandOutput, IAMClientResolvedConfig> {
@@ -43,6 +43,8 @@ export interface UntagServerCertificateCommandOutput extends __MetadataBearer {
43
43
  * };
44
44
  * const command = new UntagServerCertificateCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // {};
47
+ *
46
48
  * ```
47
49
  *
48
50
  * @param UntagServerCertificateCommandInput - {@link UntagServerCertificateCommandInput}
@@ -67,6 +69,8 @@ export interface UntagServerCertificateCommandOutput extends __MetadataBearer {
67
69
  * <p>The request processing has failed because of an unknown error, exception or
68
70
  * failure.</p>
69
71
  *
72
+ * @throws {@link IAMServiceException}
73
+ * <p>Base exception class for all service exceptions from IAM service.</p>
70
74
  *
71
75
  */
72
76
  export declare class UntagServerCertificateCommand extends $Command<UntagServerCertificateCommandInput, UntagServerCertificateCommandOutput, IAMClientResolvedConfig> {
@@ -35,6 +35,8 @@ export interface UntagUserCommandOutput extends __MetadataBearer {
35
35
  * };
36
36
  * const command = new UntagUserCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // {};
39
+ *
38
40
  * ```
39
41
  *
40
42
  * @param UntagUserCommandInput - {@link UntagUserCommandInput}
@@ -55,6 +57,8 @@ export interface UntagUserCommandOutput extends __MetadataBearer {
55
57
  * <p>The request processing has failed because of an unknown error, exception or
56
58
  * failure.</p>
57
59
  *
60
+ * @throws {@link IAMServiceException}
61
+ * <p>Base exception class for all service exceptions from IAM service.</p>
58
62
  *
59
63
  * @example To remove a tag from an IAM user
60
64
  * ```javascript
@@ -43,6 +43,8 @@ export interface UpdateAccessKeyCommandOutput extends __MetadataBearer {
43
43
  * };
44
44
  * const command = new UpdateAccessKeyCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // {};
47
+ *
46
48
  * ```
47
49
  *
48
50
  * @param UpdateAccessKeyCommandInput - {@link UpdateAccessKeyCommandInput}
@@ -63,6 +65,8 @@ export interface UpdateAccessKeyCommandOutput extends __MetadataBearer {
63
65
  * <p>The request processing has failed because of an unknown error, exception or
64
66
  * failure.</p>
65
67
  *
68
+ * @throws {@link IAMServiceException}
69
+ * <p>Base exception class for all service exceptions from IAM service.</p>
66
70
  *
67
71
  * @example To activate or deactivate an access key for an IAM user
68
72
  * ```javascript
@@ -49,6 +49,8 @@ export interface UpdateAccountPasswordPolicyCommandOutput extends __MetadataBear
49
49
  * };
50
50
  * const command = new UpdateAccountPasswordPolicyCommand(input);
51
51
  * const response = await client.send(command);
52
+ * // {};
53
+ *
52
54
  * ```
53
55
  *
54
56
  * @param UpdateAccountPasswordPolicyCommandInput - {@link UpdateAccountPasswordPolicyCommandInput}
@@ -73,6 +75,8 @@ export interface UpdateAccountPasswordPolicyCommandOutput extends __MetadataBear
73
75
  * <p>The request processing has failed because of an unknown error, exception or
74
76
  * failure.</p>
75
77
  *
78
+ * @throws {@link IAMServiceException}
79
+ * <p>Base exception class for all service exceptions from IAM service.</p>
76
80
  *
77
81
  * @example To set or change the current account password policy
78
82
  * ```javascript
@@ -35,6 +35,8 @@ export interface UpdateAssumeRolePolicyCommandOutput extends __MetadataBearer {
35
35
  * };
36
36
  * const command = new UpdateAssumeRolePolicyCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // {};
39
+ *
38
40
  * ```
39
41
  *
40
42
  * @param UpdateAssumeRolePolicyCommandInput - {@link UpdateAssumeRolePolicyCommandInput}
@@ -65,6 +67,8 @@ export interface UpdateAssumeRolePolicyCommandOutput extends __MetadataBearer {
65
67
  * behalf. The error message includes the name of the service that depends on this service-linked
66
68
  * role. You must request the change through that service.</p>
67
69
  *
70
+ * @throws {@link IAMServiceException}
71
+ * <p>Base exception class for all service exceptions from IAM service.</p>
68
72
  *
69
73
  * @example To update the trust policy for an IAM role
70
74
  * ```javascript
@@ -47,6 +47,8 @@ export interface UpdateGroupCommandOutput extends __MetadataBearer {
47
47
  * };
48
48
  * const command = new UpdateGroupCommand(input);
49
49
  * const response = await client.send(command);
50
+ * // {};
51
+ *
50
52
  * ```
51
53
  *
52
54
  * @param UpdateGroupCommandInput - {@link UpdateGroupCommandInput}
@@ -71,6 +73,8 @@ export interface UpdateGroupCommandOutput extends __MetadataBearer {
71
73
  * <p>The request processing has failed because of an unknown error, exception or
72
74
  * failure.</p>
73
75
  *
76
+ * @throws {@link IAMServiceException}
77
+ * <p>Base exception class for all service exceptions from IAM service.</p>
74
78
  *
75
79
  * @example To rename an IAM group
76
80
  * ```javascript
@@ -39,6 +39,8 @@ export interface UpdateLoginProfileCommandOutput extends __MetadataBearer {
39
39
  * };
40
40
  * const command = new UpdateLoginProfileCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // {};
43
+ *
42
44
  * ```
43
45
  *
44
46
  * @param UpdateLoginProfileCommandInput - {@link UpdateLoginProfileCommandInput}
@@ -69,6 +71,8 @@ export interface UpdateLoginProfileCommandOutput extends __MetadataBearer {
69
71
  * <p>The request processing has failed because of an unknown error, exception or
70
72
  * failure.</p>
71
73
  *
74
+ * @throws {@link IAMServiceException}
75
+ * <p>Base exception class for all service exceptions from IAM service.</p>
72
76
  *
73
77
  * @example To change the password for an IAM user
74
78
  * ```javascript
@@ -56,6 +56,8 @@ export interface UpdateOpenIDConnectProviderThumbprintCommandOutput extends __Me
56
56
  * };
57
57
  * const command = new UpdateOpenIDConnectProviderThumbprintCommand(input);
58
58
  * const response = await client.send(command);
59
+ * // {};
60
+ *
59
61
  * ```
60
62
  *
61
63
  * @param UpdateOpenIDConnectProviderThumbprintCommandInput - {@link UpdateOpenIDConnectProviderThumbprintCommandInput}
@@ -76,6 +78,8 @@ export interface UpdateOpenIDConnectProviderThumbprintCommandOutput extends __Me
76
78
  * <p>The request processing has failed because of an unknown error, exception or
77
79
  * failure.</p>
78
80
  *
81
+ * @throws {@link IAMServiceException}
82
+ * <p>Base exception class for all service exceptions from IAM service.</p>
79
83
  *
80
84
  */
81
85
  export declare class UpdateOpenIDConnectProviderThumbprintCommand extends $Command<UpdateOpenIDConnectProviderThumbprintCommandInput, UpdateOpenIDConnectProviderThumbprintCommandOutput, IAMClientResolvedConfig> {
@@ -33,6 +33,8 @@ export interface UpdateRoleCommandOutput extends UpdateRoleResponse, __MetadataB
33
33
  * };
34
34
  * const command = new UpdateRoleCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // {};
37
+ *
36
38
  * ```
37
39
  *
38
40
  * @param UpdateRoleCommandInput - {@link UpdateRoleCommandInput}
@@ -55,6 +57,8 @@ export interface UpdateRoleCommandOutput extends UpdateRoleResponse, __MetadataB
55
57
  * behalf. The error message includes the name of the service that depends on this service-linked
56
58
  * role. You must request the change through that service.</p>
57
59
  *
60
+ * @throws {@link IAMServiceException}
61
+ * <p>Base exception class for all service exceptions from IAM service.</p>
58
62
  *
59
63
  */
60
64
  export declare class UpdateRoleCommand extends $Command<UpdateRoleCommandInput, UpdateRoleCommandOutput, IAMClientResolvedConfig> {
@@ -34,6 +34,33 @@ export interface UpdateRoleDescriptionCommandOutput extends UpdateRoleDescriptio
34
34
  * };
35
35
  * const command = new UpdateRoleDescriptionCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // UpdateRoleDescriptionResponse
38
+ * // Role: { // Role
39
+ * // Path: "STRING_VALUE", // required
40
+ * // RoleName: "STRING_VALUE", // required
41
+ * // RoleId: "STRING_VALUE", // required
42
+ * // Arn: "STRING_VALUE", // required
43
+ * // CreateDate: new Date("TIMESTAMP"), // required
44
+ * // AssumeRolePolicyDocument: "STRING_VALUE",
45
+ * // Description: "STRING_VALUE",
46
+ * // MaxSessionDuration: Number("int"),
47
+ * // PermissionsBoundary: { // AttachedPermissionsBoundary
48
+ * // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
49
+ * // PermissionsBoundaryArn: "STRING_VALUE",
50
+ * // },
51
+ * // Tags: [ // tagListType
52
+ * // { // Tag
53
+ * // Key: "STRING_VALUE", // required
54
+ * // Value: "STRING_VALUE", // required
55
+ * // },
56
+ * // ],
57
+ * // RoleLastUsed: { // RoleLastUsed
58
+ * // LastUsedDate: new Date("TIMESTAMP"),
59
+ * // Region: "STRING_VALUE",
60
+ * // },
61
+ * // },
62
+ * // };
63
+ *
37
64
  * ```
38
65
  *
39
66
  * @param UpdateRoleDescriptionCommandInput - {@link UpdateRoleDescriptionCommandInput}
@@ -56,6 +83,8 @@ export interface UpdateRoleDescriptionCommandOutput extends UpdateRoleDescriptio
56
83
  * behalf. The error message includes the name of the service that depends on this service-linked
57
84
  * role. You must request the change through that service.</p>
58
85
  *
86
+ * @throws {@link IAMServiceException}
87
+ * <p>Base exception class for all service exceptions from IAM service.</p>
59
88
  *
60
89
  */
61
90
  export declare class UpdateRoleDescriptionCommand extends $Command<UpdateRoleDescriptionCommandInput, UpdateRoleDescriptionCommandOutput, IAMClientResolvedConfig> {
@@ -35,6 +35,10 @@ export interface UpdateSAMLProviderCommandOutput extends UpdateSAMLProviderRespo
35
35
  * };
36
36
  * const command = new UpdateSAMLProviderCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // UpdateSAMLProviderResponse
39
+ * // SAMLProviderArn: "STRING_VALUE",
40
+ * // };
41
+ *
38
42
  * ```
39
43
  *
40
44
  * @param UpdateSAMLProviderCommandInput - {@link UpdateSAMLProviderCommandInput}
@@ -59,6 +63,8 @@ export interface UpdateSAMLProviderCommandOutput extends UpdateSAMLProviderRespo
59
63
  * <p>The request processing has failed because of an unknown error, exception or
60
64
  * failure.</p>
61
65
  *
66
+ * @throws {@link IAMServiceException}
67
+ * <p>Base exception class for all service exceptions from IAM service.</p>
62
68
  *
63
69
  */
64
70
  export declare class UpdateSAMLProviderCommand extends $Command<UpdateSAMLProviderCommandInput, UpdateSAMLProviderCommandOutput, IAMClientResolvedConfig> {
@@ -39,6 +39,8 @@ export interface UpdateSSHPublicKeyCommandOutput extends __MetadataBearer {
39
39
  * };
40
40
  * const command = new UpdateSSHPublicKeyCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // {};
43
+ *
42
44
  * ```
43
45
  *
44
46
  * @param UpdateSSHPublicKeyCommandInput - {@link UpdateSSHPublicKeyCommandInput}
@@ -51,6 +53,8 @@ export interface UpdateSSHPublicKeyCommandOutput extends __MetadataBearer {
51
53
  * <p>The request was rejected because it referenced a resource entity that does not exist. The
52
54
  * error message describes the resource.</p>
53
55
  *
56
+ * @throws {@link IAMServiceException}
57
+ * <p>Base exception class for all service exceptions from IAM service.</p>
54
58
  *
55
59
  */
56
60
  export declare class UpdateSSHPublicKeyCommand extends $Command<UpdateSSHPublicKeyCommandInput, UpdateSSHPublicKeyCommandOutput, IAMClientResolvedConfig> {
@@ -52,6 +52,8 @@ export interface UpdateServerCertificateCommandOutput extends __MetadataBearer {
52
52
  * };
53
53
  * const command = new UpdateServerCertificateCommand(input);
54
54
  * const response = await client.send(command);
55
+ * // {};
56
+ *
55
57
  * ```
56
58
  *
57
59
  * @param UpdateServerCertificateCommandInput - {@link UpdateServerCertificateCommandInput}
@@ -76,6 +78,8 @@ export interface UpdateServerCertificateCommandOutput extends __MetadataBearer {
76
78
  * <p>The request processing has failed because of an unknown error, exception or
77
79
  * failure.</p>
78
80
  *
81
+ * @throws {@link IAMServiceException}
82
+ * <p>Base exception class for all service exceptions from IAM service.</p>
79
83
  *
80
84
  */
81
85
  export declare class UpdateServerCertificateCommand extends $Command<UpdateServerCertificateCommandInput, UpdateServerCertificateCommandOutput, IAMClientResolvedConfig> {
@@ -36,6 +36,8 @@ export interface UpdateServiceSpecificCredentialCommandOutput extends __Metadata
36
36
  * };
37
37
  * const command = new UpdateServiceSpecificCredentialCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // {};
40
+ *
39
41
  * ```
40
42
  *
41
43
  * @param UpdateServiceSpecificCredentialCommandInput - {@link UpdateServiceSpecificCredentialCommandInput}
@@ -48,6 +50,8 @@ export interface UpdateServiceSpecificCredentialCommandOutput extends __Metadata
48
50
  * <p>The request was rejected because it referenced a resource entity that does not exist. The
49
51
  * error message describes the resource.</p>
50
52
  *
53
+ * @throws {@link IAMServiceException}
54
+ * <p>Base exception class for all service exceptions from IAM service.</p>
51
55
  *
52
56
  */
53
57
  export declare class UpdateServiceSpecificCredentialCommand extends $Command<UpdateServiceSpecificCredentialCommandInput, UpdateServiceSpecificCredentialCommandOutput, IAMClientResolvedConfig> {
@@ -40,6 +40,8 @@ export interface UpdateSigningCertificateCommandOutput extends __MetadataBearer
40
40
  * };
41
41
  * const command = new UpdateSigningCertificateCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // {};
44
+ *
43
45
  * ```
44
46
  *
45
47
  * @param UpdateSigningCertificateCommandInput - {@link UpdateSigningCertificateCommandInput}
@@ -60,6 +62,8 @@ export interface UpdateSigningCertificateCommandOutput extends __MetadataBearer
60
62
  * <p>The request processing has failed because of an unknown error, exception or
61
63
  * failure.</p>
62
64
  *
65
+ * @throws {@link IAMServiceException}
66
+ * <p>Base exception class for all service exceptions from IAM service.</p>
63
67
  *
64
68
  * @example To change the active status of a signing certificate for an IAM user
65
69
  * ```javascript
@@ -45,6 +45,8 @@ export interface UpdateUserCommandOutput extends __MetadataBearer {
45
45
  * };
46
46
  * const command = new UpdateUserCommand(input);
47
47
  * const response = await client.send(command);
48
+ * // {};
49
+ *
48
50
  * ```
49
51
  *
50
52
  * @param UpdateUserCommandInput - {@link UpdateUserCommandInput}
@@ -79,6 +81,8 @@ export interface UpdateUserCommandOutput extends __MetadataBearer {
79
81
  * <p>The request processing has failed because of an unknown error, exception or
80
82
  * failure.</p>
81
83
  *
84
+ * @throws {@link IAMServiceException}
85
+ * <p>Base exception class for all service exceptions from IAM service.</p>
82
86
  *
83
87
  * @example To change an IAM user's name
84
88
  * ```javascript
@@ -36,6 +36,17 @@ export interface UploadSSHPublicKeyCommandOutput extends UploadSSHPublicKeyRespo
36
36
  * };
37
37
  * const command = new UploadSSHPublicKeyCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // UploadSSHPublicKeyResponse
40
+ * // SSHPublicKey: { // SSHPublicKey
41
+ * // UserName: "STRING_VALUE", // required
42
+ * // SSHPublicKeyId: "STRING_VALUE", // required
43
+ * // Fingerprint: "STRING_VALUE", // required
44
+ * // SSHPublicKeyBody: "STRING_VALUE", // required
45
+ * // Status: "Active" || "Inactive", // required
46
+ * // UploadDate: new Date("TIMESTAMP"),
47
+ * // },
48
+ * // };
49
+ *
39
50
  * ```
40
51
  *
41
52
  * @param UploadSSHPublicKeyCommandInput - {@link UploadSSHPublicKeyCommandInput}
@@ -63,6 +74,8 @@ export interface UploadSSHPublicKeyCommandOutput extends UploadSSHPublicKeyRespo
63
74
  * <p>The request was rejected because the public key encoding format is unsupported or
64
75
  * unrecognized.</p>
65
76
  *
77
+ * @throws {@link IAMServiceException}
78
+ * <p>Base exception class for all service exceptions from IAM service.</p>
66
79
  *
67
80
  */
68
81
  export declare class UploadSSHPublicKeyCommand extends $Command<UploadSSHPublicKeyCommandInput, UploadSSHPublicKeyCommandOutput, IAMClientResolvedConfig> {
@@ -64,6 +64,23 @@ export interface UploadServerCertificateCommandOutput extends UploadServerCertif
64
64
  * };
65
65
  * const command = new UploadServerCertificateCommand(input);
66
66
  * const response = await client.send(command);
67
+ * // { // UploadServerCertificateResponse
68
+ * // ServerCertificateMetadata: { // ServerCertificateMetadata
69
+ * // Path: "STRING_VALUE", // required
70
+ * // ServerCertificateName: "STRING_VALUE", // required
71
+ * // ServerCertificateId: "STRING_VALUE", // required
72
+ * // Arn: "STRING_VALUE", // required
73
+ * // UploadDate: new Date("TIMESTAMP"),
74
+ * // Expiration: new Date("TIMESTAMP"),
75
+ * // },
76
+ * // Tags: [ // tagListType
77
+ * // { // Tag
78
+ * // Key: "STRING_VALUE", // required
79
+ * // Value: "STRING_VALUE", // required
80
+ * // },
81
+ * // ],
82
+ * // };
83
+ *
67
84
  * ```
68
85
  *
69
86
  * @param UploadServerCertificateCommandInput - {@link UploadServerCertificateCommandInput}
@@ -100,6 +117,8 @@ export interface UploadServerCertificateCommandOutput extends UploadServerCertif
100
117
  * <p>The request processing has failed because of an unknown error, exception or
101
118
  * failure.</p>
102
119
  *
120
+ * @throws {@link IAMServiceException}
121
+ * <p>Base exception class for all service exceptions from IAM service.</p>
103
122
  *
104
123
  * @example To upload a server certificate to your AWS account
105
124
  * ```javascript
@@ -51,6 +51,16 @@ export interface UploadSigningCertificateCommandOutput extends UploadSigningCert
51
51
  * };
52
52
  * const command = new UploadSigningCertificateCommand(input);
53
53
  * const response = await client.send(command);
54
+ * // { // UploadSigningCertificateResponse
55
+ * // Certificate: { // SigningCertificate
56
+ * // UserName: "STRING_VALUE", // required
57
+ * // CertificateId: "STRING_VALUE", // required
58
+ * // CertificateBody: "STRING_VALUE", // required
59
+ * // Status: "Active" || "Inactive", // required
60
+ * // UploadDate: new Date("TIMESTAMP"),
61
+ * // },
62
+ * // };
63
+ *
54
64
  * ```
55
65
  *
56
66
  * @param UploadSigningCertificateCommandInput - {@link UploadSigningCertificateCommandInput}
@@ -86,6 +96,8 @@ export interface UploadSigningCertificateCommandOutput extends UploadSigningCert
86
96
  * <p>The request processing has failed because of an unknown error, exception or
87
97
  * failure.</p>
88
98
  *
99
+ * @throws {@link IAMServiceException}
100
+ * <p>Base exception class for all service exceptions from IAM service.</p>
89
101
  *
90
102
  * @example To upload a signing certificate for an IAM user
91
103
  * ```javascript
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iam",
3
3
  "description": "AWS SDK for JavaScript Iam Client for Node.js, Browser and React Native",
4
- "version": "3.325.0",
4
+ "version": "3.327.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.325.0",
24
+ "@aws-sdk/client-sts": "3.327.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.325.0",
26
+ "@aws-sdk/credential-provider-node": "3.327.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
@@ -32,11 +32,11 @@
32
32
  "@aws-sdk/middleware-host-header": "3.325.0",
33
33
  "@aws-sdk/middleware-logger": "3.325.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.325.0",
35
- "@aws-sdk/middleware-retry": "3.325.0",
35
+ "@aws-sdk/middleware-retry": "3.327.0",
36
36
  "@aws-sdk/middleware-serde": "3.325.0",
37
37
  "@aws-sdk/middleware-signing": "3.325.0",
38
38
  "@aws-sdk/middleware-stack": "3.325.0",
39
- "@aws-sdk/middleware-user-agent": "3.325.0",
39
+ "@aws-sdk/middleware-user-agent": "3.327.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.321.1",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
@@ -48,8 +48,8 @@
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.325.0",
50
50
  "@aws-sdk/util-defaults-mode-node": "3.325.0",
51
- "@aws-sdk/util-endpoints": "3.319.0",
52
- "@aws-sdk/util-retry": "3.310.0",
51
+ "@aws-sdk/util-endpoints": "3.327.0",
52
+ "@aws-sdk/util-retry": "3.327.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",
54
54
  "@aws-sdk/util-user-agent-node": "3.310.0",
55
55
  "@aws-sdk/util-utf8": "3.310.0",