@aws-sdk/client-iam 3.321.1 → 3.326.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 +16 -16
@@ -41,6 +41,31 @@ export interface ListUsersCommandOutput extends ListUsersResponse, __MetadataBea
41
41
  * };
42
42
  * const command = new ListUsersCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // { // ListUsersResponse
45
+ * // Users: [ // userListType // required
46
+ * // { // User
47
+ * // Path: "STRING_VALUE", // required
48
+ * // UserName: "STRING_VALUE", // required
49
+ * // UserId: "STRING_VALUE", // required
50
+ * // Arn: "STRING_VALUE", // required
51
+ * // CreateDate: new Date("TIMESTAMP"), // required
52
+ * // PasswordLastUsed: new Date("TIMESTAMP"),
53
+ * // PermissionsBoundary: { // AttachedPermissionsBoundary
54
+ * // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
55
+ * // PermissionsBoundaryArn: "STRING_VALUE",
56
+ * // },
57
+ * // Tags: [ // tagListType
58
+ * // { // Tag
59
+ * // Key: "STRING_VALUE", // required
60
+ * // Value: "STRING_VALUE", // required
61
+ * // },
62
+ * // ],
63
+ * // },
64
+ * // ],
65
+ * // IsTruncated: true || false,
66
+ * // Marker: "STRING_VALUE",
67
+ * // };
68
+ *
44
69
  * ```
45
70
  *
46
71
  * @param ListUsersCommandInput - {@link ListUsersCommandInput}
@@ -53,6 +78,8 @@ export interface ListUsersCommandOutput extends ListUsersResponse, __MetadataBea
53
78
  * <p>The request processing has failed because of an unknown error, exception or
54
79
  * failure.</p>
55
80
  *
81
+ * @throws {@link IAMServiceException}
82
+ * <p>Base exception class for all service exceptions from IAM service.</p>
56
83
  *
57
84
  * @example To list IAM users
58
85
  * ```javascript
@@ -42,6 +42,43 @@ export interface ListVirtualMFADevicesCommandOutput extends ListVirtualMFADevice
42
42
  * };
43
43
  * const command = new ListVirtualMFADevicesCommand(input);
44
44
  * const response = await client.send(command);
45
+ * // { // ListVirtualMFADevicesResponse
46
+ * // VirtualMFADevices: [ // virtualMFADeviceListType // required
47
+ * // { // VirtualMFADevice
48
+ * // SerialNumber: "STRING_VALUE", // required
49
+ * // Base32StringSeed: "BLOB_VALUE",
50
+ * // QRCodePNG: "BLOB_VALUE",
51
+ * // User: { // User
52
+ * // Path: "STRING_VALUE", // required
53
+ * // UserName: "STRING_VALUE", // required
54
+ * // UserId: "STRING_VALUE", // required
55
+ * // Arn: "STRING_VALUE", // required
56
+ * // CreateDate: new Date("TIMESTAMP"), // required
57
+ * // PasswordLastUsed: new Date("TIMESTAMP"),
58
+ * // PermissionsBoundary: { // AttachedPermissionsBoundary
59
+ * // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
60
+ * // PermissionsBoundaryArn: "STRING_VALUE",
61
+ * // },
62
+ * // Tags: [ // tagListType
63
+ * // { // Tag
64
+ * // Key: "STRING_VALUE", // required
65
+ * // Value: "STRING_VALUE", // required
66
+ * // },
67
+ * // ],
68
+ * // },
69
+ * // EnableDate: new Date("TIMESTAMP"),
70
+ * // Tags: [
71
+ * // {
72
+ * // Key: "STRING_VALUE", // required
73
+ * // Value: "STRING_VALUE", // required
74
+ * // },
75
+ * // ],
76
+ * // },
77
+ * // ],
78
+ * // IsTruncated: true || false,
79
+ * // Marker: "STRING_VALUE",
80
+ * // };
81
+ *
45
82
  * ```
46
83
  *
47
84
  * @param ListVirtualMFADevicesCommandInput - {@link ListVirtualMFADevicesCommandInput}
@@ -50,6 +87,8 @@ export interface ListVirtualMFADevicesCommandOutput extends ListVirtualMFADevice
50
87
  * @see {@link ListVirtualMFADevicesCommandOutput} for command's `response` shape.
51
88
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
52
89
  *
90
+ * @throws {@link IAMServiceException}
91
+ * <p>Base exception class for all service exceptions from IAM service.</p>
53
92
  *
54
93
  * @example To list virtual MFA devices
55
94
  * ```javascript
@@ -47,6 +47,8 @@ export interface PutGroupPolicyCommandOutput extends __MetadataBearer {
47
47
  * };
48
48
  * const command = new PutGroupPolicyCommand(input);
49
49
  * const response = await client.send(command);
50
+ * // {};
51
+ *
50
52
  * ```
51
53
  *
52
54
  * @param PutGroupPolicyCommandInput - {@link PutGroupPolicyCommandInput}
@@ -71,6 +73,8 @@ export interface PutGroupPolicyCommandOutput 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 add a policy to a group
76
80
  * ```javascript
@@ -43,6 +43,8 @@ export interface PutRolePermissionsBoundaryCommandOutput extends __MetadataBeare
43
43
  * };
44
44
  * const command = new PutRolePermissionsBoundaryCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // {};
47
+ *
46
48
  * ```
47
49
  *
48
50
  * @param PutRolePermissionsBoundaryCommandInput - {@link PutRolePermissionsBoundaryCommandInput}
@@ -73,6 +75,8 @@ export interface PutRolePermissionsBoundaryCommandOutput extends __MetadataBeare
73
75
  * behalf. The error message includes the name of the service that depends on this service-linked
74
76
  * role. You must request the change through that service.</p>
75
77
  *
78
+ * @throws {@link IAMServiceException}
79
+ * <p>Base exception class for all service exceptions from IAM service.</p>
76
80
  *
77
81
  */
78
82
  export declare class PutRolePermissionsBoundaryCommand extends $Command<PutRolePermissionsBoundaryCommandInput, PutRolePermissionsBoundaryCommandOutput, IAMClientResolvedConfig> {
@@ -52,6 +52,8 @@ export interface PutRolePolicyCommandOutput extends __MetadataBearer {
52
52
  * };
53
53
  * const command = new PutRolePolicyCommand(input);
54
54
  * const response = await client.send(command);
55
+ * // {};
56
+ *
55
57
  * ```
56
58
  *
57
59
  * @param PutRolePolicyCommandInput - {@link PutRolePolicyCommandInput}
@@ -82,6 +84,8 @@ export interface PutRolePolicyCommandOutput extends __MetadataBearer {
82
84
  * behalf. The error message includes the name of the service that depends on this service-linked
83
85
  * role. You must request the change through that service.</p>
84
86
  *
87
+ * @throws {@link IAMServiceException}
88
+ * <p>Base exception class for all service exceptions from IAM service.</p>
85
89
  *
86
90
  * @example To attach a permissions policy to an IAM role
87
91
  * ```javascript
@@ -42,6 +42,8 @@ export interface PutUserPermissionsBoundaryCommandOutput extends __MetadataBeare
42
42
  * };
43
43
  * const command = new PutUserPermissionsBoundaryCommand(input);
44
44
  * const response = await client.send(command);
45
+ * // {};
46
+ *
45
47
  * ```
46
48
  *
47
49
  * @param PutUserPermissionsBoundaryCommandInput - {@link PutUserPermissionsBoundaryCommandInput}
@@ -66,6 +68,8 @@ export interface PutUserPermissionsBoundaryCommandOutput extends __MetadataBeare
66
68
  * <p>The request processing has failed because of an unknown error, exception or
67
69
  * failure.</p>
68
70
  *
71
+ * @throws {@link IAMServiceException}
72
+ * <p>Base exception class for all service exceptions from IAM service.</p>
69
73
  *
70
74
  */
71
75
  export declare class PutUserPermissionsBoundaryCommand extends $Command<PutUserPermissionsBoundaryCommandInput, PutUserPermissionsBoundaryCommandOutput, IAMClientResolvedConfig> {
@@ -47,6 +47,8 @@ export interface PutUserPolicyCommandOutput extends __MetadataBearer {
47
47
  * };
48
48
  * const command = new PutUserPolicyCommand(input);
49
49
  * const response = await client.send(command);
50
+ * // {};
51
+ *
50
52
  * ```
51
53
  *
52
54
  * @param PutUserPolicyCommandInput - {@link PutUserPolicyCommandInput}
@@ -71,6 +73,8 @@ export interface PutUserPolicyCommandOutput 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 attach a policy to an IAM user
76
80
  * ```javascript
@@ -36,6 +36,8 @@ export interface RemoveClientIDFromOpenIDConnectProviderCommandOutput extends __
36
36
  * };
37
37
  * const command = new RemoveClientIDFromOpenIDConnectProviderCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // {};
40
+ *
39
41
  * ```
40
42
  *
41
43
  * @param RemoveClientIDFromOpenIDConnectProviderCommandInput - {@link RemoveClientIDFromOpenIDConnectProviderCommandInput}
@@ -56,6 +58,8 @@ export interface RemoveClientIDFromOpenIDConnectProviderCommandOutput extends __
56
58
  * <p>The request processing has failed because of an unknown error, exception or
57
59
  * failure.</p>
58
60
  *
61
+ * @throws {@link IAMServiceException}
62
+ * <p>Base exception class for all service exceptions from IAM service.</p>
59
63
  *
60
64
  */
61
65
  export declare class RemoveClientIDFromOpenIDConnectProviderCommand extends $Command<RemoveClientIDFromOpenIDConnectProviderCommandInput, RemoveClientIDFromOpenIDConnectProviderCommandOutput, IAMClientResolvedConfig> {
@@ -41,6 +41,8 @@ export interface RemoveRoleFromInstanceProfileCommandOutput extends __MetadataBe
41
41
  * };
42
42
  * const command = new RemoveRoleFromInstanceProfileCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // {};
45
+ *
44
46
  * ```
45
47
  *
46
48
  * @param RemoveRoleFromInstanceProfileCommandInput - {@link RemoveRoleFromInstanceProfileCommandInput}
@@ -67,6 +69,8 @@ export interface RemoveRoleFromInstanceProfileCommandOutput extends __MetadataBe
67
69
  * behalf. The error message includes the name of the service that depends on this service-linked
68
70
  * role. You must request the change through that service.</p>
69
71
  *
72
+ * @throws {@link IAMServiceException}
73
+ * <p>Base exception class for all service exceptions from IAM service.</p>
70
74
  *
71
75
  * @example To remove a role from an instance profile
72
76
  * ```javascript
@@ -32,6 +32,8 @@ export interface RemoveUserFromGroupCommandOutput extends __MetadataBearer {
32
32
  * };
33
33
  * const command = new RemoveUserFromGroupCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // {};
36
+ *
35
37
  * ```
36
38
  *
37
39
  * @param RemoveUserFromGroupCommandInput - {@link RemoveUserFromGroupCommandInput}
@@ -52,6 +54,8 @@ export interface RemoveUserFromGroupCommandOutput extends __MetadataBearer {
52
54
  * <p>The request processing has failed because of an unknown error, exception or
53
55
  * failure.</p>
54
56
  *
57
+ * @throws {@link IAMServiceException}
58
+ * <p>Base exception class for all service exceptions from IAM service.</p>
55
59
  *
56
60
  * @example To remove a user from an IAM group
57
61
  * ```javascript
@@ -35,6 +35,18 @@ export interface ResetServiceSpecificCredentialCommandOutput extends ResetServic
35
35
  * };
36
36
  * const command = new ResetServiceSpecificCredentialCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // ResetServiceSpecificCredentialResponse
39
+ * // ServiceSpecificCredential: { // ServiceSpecificCredential
40
+ * // CreateDate: new Date("TIMESTAMP"), // required
41
+ * // ServiceName: "STRING_VALUE", // required
42
+ * // ServiceUserName: "STRING_VALUE", // required
43
+ * // ServicePassword: "STRING_VALUE", // required
44
+ * // ServiceSpecificCredentialId: "STRING_VALUE", // required
45
+ * // UserName: "STRING_VALUE", // required
46
+ * // Status: "Active" || "Inactive", // required
47
+ * // },
48
+ * // };
49
+ *
38
50
  * ```
39
51
  *
40
52
  * @param ResetServiceSpecificCredentialCommandInput - {@link ResetServiceSpecificCredentialCommandInput}
@@ -47,6 +59,8 @@ export interface ResetServiceSpecificCredentialCommandOutput extends ResetServic
47
59
  * <p>The request was rejected because it referenced a resource entity that does not exist. The
48
60
  * error message describes the resource.</p>
49
61
  *
62
+ * @throws {@link IAMServiceException}
63
+ * <p>Base exception class for all service exceptions from IAM service.</p>
50
64
  *
51
65
  */
52
66
  export declare class ResetServiceSpecificCredentialCommand extends $Command<ResetServiceSpecificCredentialCommandInput, ResetServiceSpecificCredentialCommandOutput, IAMClientResolvedConfig> {
@@ -37,6 +37,8 @@ export interface ResyncMFADeviceCommandOutput extends __MetadataBearer {
37
37
  * };
38
38
  * const command = new ResyncMFADeviceCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // {};
41
+ *
40
42
  * ```
41
43
  *
42
44
  * @param ResyncMFADeviceCommandInput - {@link ResyncMFADeviceCommandInput}
@@ -61,6 +63,8 @@ export interface ResyncMFADeviceCommandOutput 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 ResyncMFADeviceCommand extends $Command<ResyncMFADeviceCommandInput, ResyncMFADeviceCommandOutput, IAMClientResolvedConfig> {
@@ -37,6 +37,8 @@ export interface SetDefaultPolicyVersionCommandOutput extends __MetadataBearer {
37
37
  * };
38
38
  * const command = new SetDefaultPolicyVersionCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // {};
41
+ *
40
42
  * ```
41
43
  *
42
44
  * @param SetDefaultPolicyVersionCommandInput - {@link SetDefaultPolicyVersionCommandInput}
@@ -61,6 +63,8 @@ export interface SetDefaultPolicyVersionCommandOutput 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 SetDefaultPolicyVersionCommand extends $Command<SetDefaultPolicyVersionCommandInput, SetDefaultPolicyVersionCommandOutput, IAMClientResolvedConfig> {
@@ -49,6 +49,8 @@ export interface SetSecurityTokenServicePreferencesCommandOutput extends __Metad
49
49
  * };
50
50
  * const command = new SetSecurityTokenServicePreferencesCommand(input);
51
51
  * const response = await client.send(command);
52
+ * // {};
53
+ *
52
54
  * ```
53
55
  *
54
56
  * @param SetSecurityTokenServicePreferencesCommandInput - {@link SetSecurityTokenServicePreferencesCommandInput}
@@ -61,6 +63,8 @@ export interface SetSecurityTokenServicePreferencesCommandOutput extends __Metad
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
  * @example To delete an access key for an IAM user
66
70
  * ```javascript
@@ -80,6 +80,73 @@ export interface SimulateCustomPolicyCommandOutput extends SimulatePolicyRespons
80
80
  * };
81
81
  * const command = new SimulateCustomPolicyCommand(input);
82
82
  * const response = await client.send(command);
83
+ * // { // SimulatePolicyResponse
84
+ * // EvaluationResults: [ // EvaluationResultsListType
85
+ * // { // EvaluationResult
86
+ * // EvalActionName: "STRING_VALUE", // required
87
+ * // EvalResourceName: "STRING_VALUE",
88
+ * // EvalDecision: "allowed" || "explicitDeny" || "implicitDeny", // required
89
+ * // MatchedStatements: [ // StatementListType
90
+ * // { // Statement
91
+ * // SourcePolicyId: "STRING_VALUE",
92
+ * // SourcePolicyType: "user" || "group" || "role" || "aws-managed" || "user-managed" || "resource" || "none",
93
+ * // StartPosition: { // Position
94
+ * // Line: Number("int"),
95
+ * // Column: Number("int"),
96
+ * // },
97
+ * // EndPosition: {
98
+ * // Line: Number("int"),
99
+ * // Column: Number("int"),
100
+ * // },
101
+ * // },
102
+ * // ],
103
+ * // MissingContextValues: [ // ContextKeyNamesResultListType
104
+ * // "STRING_VALUE",
105
+ * // ],
106
+ * // OrganizationsDecisionDetail: { // OrganizationsDecisionDetail
107
+ * // AllowedByOrganizations: true || false,
108
+ * // },
109
+ * // PermissionsBoundaryDecisionDetail: { // PermissionsBoundaryDecisionDetail
110
+ * // AllowedByPermissionsBoundary: true || false,
111
+ * // },
112
+ * // EvalDecisionDetails: { // EvalDecisionDetailsType
113
+ * // "<keys>": "allowed" || "explicitDeny" || "implicitDeny",
114
+ * // },
115
+ * // ResourceSpecificResults: [ // ResourceSpecificResultListType
116
+ * // { // ResourceSpecificResult
117
+ * // EvalResourceName: "STRING_VALUE", // required
118
+ * // EvalResourceDecision: "allowed" || "explicitDeny" || "implicitDeny", // required
119
+ * // MatchedStatements: [
120
+ * // {
121
+ * // SourcePolicyId: "STRING_VALUE",
122
+ * // SourcePolicyType: "user" || "group" || "role" || "aws-managed" || "user-managed" || "resource" || "none",
123
+ * // StartPosition: {
124
+ * // Line: Number("int"),
125
+ * // Column: Number("int"),
126
+ * // },
127
+ * // EndPosition: {
128
+ * // Line: Number("int"),
129
+ * // Column: Number("int"),
130
+ * // },
131
+ * // },
132
+ * // ],
133
+ * // MissingContextValues: [
134
+ * // "STRING_VALUE",
135
+ * // ],
136
+ * // EvalDecisionDetails: {
137
+ * // "<keys>": "allowed" || "explicitDeny" || "implicitDeny",
138
+ * // },
139
+ * // PermissionsBoundaryDecisionDetail: {
140
+ * // AllowedByPermissionsBoundary: true || false,
141
+ * // },
142
+ * // },
143
+ * // ],
144
+ * // },
145
+ * // ],
146
+ * // IsTruncated: true || false,
147
+ * // Marker: "STRING_VALUE",
148
+ * // };
149
+ *
83
150
  * ```
84
151
  *
85
152
  * @param SimulateCustomPolicyCommandInput - {@link SimulateCustomPolicyCommandInput}
@@ -96,6 +163,8 @@ export interface SimulateCustomPolicyCommandOutput extends SimulatePolicyRespons
96
163
  * <p>The request failed because a provided policy could not be successfully evaluated. An
97
164
  * additional detailed message indicates the source of the failure.</p>
98
165
  *
166
+ * @throws {@link IAMServiceException}
167
+ * <p>Base exception class for all service exceptions from IAM service.</p>
99
168
  *
100
169
  */
101
170
  export declare class SimulateCustomPolicyCommand extends $Command<SimulateCustomPolicyCommandInput, SimulateCustomPolicyCommandOutput, IAMClientResolvedConfig> {
@@ -90,6 +90,73 @@ export interface SimulatePrincipalPolicyCommandOutput extends SimulatePolicyResp
90
90
  * };
91
91
  * const command = new SimulatePrincipalPolicyCommand(input);
92
92
  * const response = await client.send(command);
93
+ * // { // SimulatePolicyResponse
94
+ * // EvaluationResults: [ // EvaluationResultsListType
95
+ * // { // EvaluationResult
96
+ * // EvalActionName: "STRING_VALUE", // required
97
+ * // EvalResourceName: "STRING_VALUE",
98
+ * // EvalDecision: "allowed" || "explicitDeny" || "implicitDeny", // required
99
+ * // MatchedStatements: [ // StatementListType
100
+ * // { // Statement
101
+ * // SourcePolicyId: "STRING_VALUE",
102
+ * // SourcePolicyType: "user" || "group" || "role" || "aws-managed" || "user-managed" || "resource" || "none",
103
+ * // StartPosition: { // Position
104
+ * // Line: Number("int"),
105
+ * // Column: Number("int"),
106
+ * // },
107
+ * // EndPosition: {
108
+ * // Line: Number("int"),
109
+ * // Column: Number("int"),
110
+ * // },
111
+ * // },
112
+ * // ],
113
+ * // MissingContextValues: [ // ContextKeyNamesResultListType
114
+ * // "STRING_VALUE",
115
+ * // ],
116
+ * // OrganizationsDecisionDetail: { // OrganizationsDecisionDetail
117
+ * // AllowedByOrganizations: true || false,
118
+ * // },
119
+ * // PermissionsBoundaryDecisionDetail: { // PermissionsBoundaryDecisionDetail
120
+ * // AllowedByPermissionsBoundary: true || false,
121
+ * // },
122
+ * // EvalDecisionDetails: { // EvalDecisionDetailsType
123
+ * // "<keys>": "allowed" || "explicitDeny" || "implicitDeny",
124
+ * // },
125
+ * // ResourceSpecificResults: [ // ResourceSpecificResultListType
126
+ * // { // ResourceSpecificResult
127
+ * // EvalResourceName: "STRING_VALUE", // required
128
+ * // EvalResourceDecision: "allowed" || "explicitDeny" || "implicitDeny", // required
129
+ * // MatchedStatements: [
130
+ * // {
131
+ * // SourcePolicyId: "STRING_VALUE",
132
+ * // SourcePolicyType: "user" || "group" || "role" || "aws-managed" || "user-managed" || "resource" || "none",
133
+ * // StartPosition: {
134
+ * // Line: Number("int"),
135
+ * // Column: Number("int"),
136
+ * // },
137
+ * // EndPosition: {
138
+ * // Line: Number("int"),
139
+ * // Column: Number("int"),
140
+ * // },
141
+ * // },
142
+ * // ],
143
+ * // MissingContextValues: [
144
+ * // "STRING_VALUE",
145
+ * // ],
146
+ * // EvalDecisionDetails: {
147
+ * // "<keys>": "allowed" || "explicitDeny" || "implicitDeny",
148
+ * // },
149
+ * // PermissionsBoundaryDecisionDetail: {
150
+ * // AllowedByPermissionsBoundary: true || false,
151
+ * // },
152
+ * // },
153
+ * // ],
154
+ * // },
155
+ * // ],
156
+ * // IsTruncated: true || false,
157
+ * // Marker: "STRING_VALUE",
158
+ * // };
159
+ *
93
160
  * ```
94
161
  *
95
162
  * @param SimulatePrincipalPolicyCommandInput - {@link SimulatePrincipalPolicyCommandInput}
@@ -110,6 +177,8 @@ export interface SimulatePrincipalPolicyCommandOutput extends SimulatePolicyResp
110
177
  * <p>The request failed because a provided policy could not be successfully evaluated. An
111
178
  * additional detailed message indicates the source of the failure.</p>
112
179
  *
180
+ * @throws {@link IAMServiceException}
181
+ * <p>Base exception class for all service exceptions from IAM service.</p>
113
182
  *
114
183
  */
115
184
  export declare class SimulatePrincipalPolicyCommand extends $Command<SimulatePrincipalPolicyCommandInput, SimulatePrincipalPolicyCommandOutput, IAMClientResolvedConfig> {
@@ -72,6 +72,8 @@ export interface TagInstanceProfileCommandOutput extends __MetadataBearer {
72
72
  * };
73
73
  * const command = new TagInstanceProfileCommand(input);
74
74
  * const response = await client.send(command);
75
+ * // {};
76
+ *
75
77
  * ```
76
78
  *
77
79
  * @param TagInstanceProfileCommandInput - {@link TagInstanceProfileCommandInput}
@@ -100,6 +102,8 @@ export interface TagInstanceProfileCommandOutput extends __MetadataBearer {
100
102
  * <p>The request processing has failed because of an unknown error, exception or
101
103
  * failure.</p>
102
104
  *
105
+ * @throws {@link IAMServiceException}
106
+ * <p>Base exception class for all service exceptions from IAM service.</p>
103
107
  *
104
108
  */
105
109
  export declare class TagInstanceProfileCommand extends $Command<TagInstanceProfileCommandInput, TagInstanceProfileCommandOutput, IAMClientResolvedConfig> {
@@ -73,6 +73,8 @@ export interface TagMFADeviceCommandOutput extends __MetadataBearer {
73
73
  * };
74
74
  * const command = new TagMFADeviceCommand(input);
75
75
  * const response = await client.send(command);
76
+ * // {};
77
+ *
76
78
  * ```
77
79
  *
78
80
  * @param TagMFADeviceCommandInput - {@link TagMFADeviceCommandInput}
@@ -101,6 +103,8 @@ export interface TagMFADeviceCommandOutput extends __MetadataBearer {
101
103
  * <p>The request processing has failed because of an unknown error, exception or
102
104
  * failure.</p>
103
105
  *
106
+ * @throws {@link IAMServiceException}
107
+ * <p>Base exception class for all service exceptions from IAM service.</p>
104
108
  *
105
109
  */
106
110
  export declare class TagMFADeviceCommand extends $Command<TagMFADeviceCommandInput, TagMFADeviceCommandOutput, IAMClientResolvedConfig> {
@@ -74,6 +74,8 @@ export interface TagOpenIDConnectProviderCommandOutput extends __MetadataBearer
74
74
  * };
75
75
  * const command = new TagOpenIDConnectProviderCommand(input);
76
76
  * const response = await client.send(command);
77
+ * // {};
78
+ *
77
79
  * ```
78
80
  *
79
81
  * @param TagOpenIDConnectProviderCommandInput - {@link TagOpenIDConnectProviderCommandInput}
@@ -102,6 +104,8 @@ export interface TagOpenIDConnectProviderCommandOutput extends __MetadataBearer
102
104
  * <p>The request processing has failed because of an unknown error, exception or
103
105
  * failure.</p>
104
106
  *
107
+ * @throws {@link IAMServiceException}
108
+ * <p>Base exception class for all service exceptions from IAM service.</p>
105
109
  *
106
110
  */
107
111
  export declare class TagOpenIDConnectProviderCommand extends $Command<TagOpenIDConnectProviderCommandInput, TagOpenIDConnectProviderCommandOutput, IAMClientResolvedConfig> {
@@ -72,6 +72,8 @@ export interface TagPolicyCommandOutput extends __MetadataBearer {
72
72
  * };
73
73
  * const command = new TagPolicyCommand(input);
74
74
  * const response = await client.send(command);
75
+ * // {};
76
+ *
75
77
  * ```
76
78
  *
77
79
  * @param TagPolicyCommandInput - {@link TagPolicyCommandInput}
@@ -100,6 +102,8 @@ export interface TagPolicyCommandOutput extends __MetadataBearer {
100
102
  * <p>The request processing has failed because of an unknown error, exception or
101
103
  * failure.</p>
102
104
  *
105
+ * @throws {@link IAMServiceException}
106
+ * <p>Base exception class for all service exceptions from IAM service.</p>
103
107
  *
104
108
  */
105
109
  export declare class TagPolicyCommand extends $Command<TagPolicyCommandInput, TagPolicyCommandOutput, IAMClientResolvedConfig> {
@@ -81,6 +81,8 @@ export interface TagRoleCommandOutput extends __MetadataBearer {
81
81
  * };
82
82
  * const command = new TagRoleCommand(input);
83
83
  * const response = await client.send(command);
84
+ * // {};
85
+ *
84
86
  * ```
85
87
  *
86
88
  * @param TagRoleCommandInput - {@link TagRoleCommandInput}
@@ -109,6 +111,8 @@ export interface TagRoleCommandOutput extends __MetadataBearer {
109
111
  * <p>The request processing has failed because of an unknown error, exception or
110
112
  * failure.</p>
111
113
  *
114
+ * @throws {@link IAMServiceException}
115
+ * <p>Base exception class for all service exceptions from IAM service.</p>
112
116
  *
113
117
  * @example To add a tag key and value to an IAM role
114
118
  * ```javascript
@@ -74,6 +74,8 @@ export interface TagSAMLProviderCommandOutput extends __MetadataBearer {
74
74
  * };
75
75
  * const command = new TagSAMLProviderCommand(input);
76
76
  * const response = await client.send(command);
77
+ * // {};
78
+ *
77
79
  * ```
78
80
  *
79
81
  * @param TagSAMLProviderCommandInput - {@link TagSAMLProviderCommandInput}
@@ -102,6 +104,8 @@ export interface TagSAMLProviderCommandOutput extends __MetadataBearer {
102
104
  * <p>The request processing has failed because of an unknown error, exception or
103
105
  * failure.</p>
104
106
  *
107
+ * @throws {@link IAMServiceException}
108
+ * <p>Base exception class for all service exceptions from IAM service.</p>
105
109
  *
106
110
  */
107
111
  export declare class TagSAMLProviderCommand extends $Command<TagSAMLProviderCommandInput, TagSAMLProviderCommandOutput, IAMClientResolvedConfig> {
@@ -84,6 +84,8 @@ export interface TagServerCertificateCommandOutput extends __MetadataBearer {
84
84
  * };
85
85
  * const command = new TagServerCertificateCommand(input);
86
86
  * const response = await client.send(command);
87
+ * // {};
88
+ *
87
89
  * ```
88
90
  *
89
91
  * @param TagServerCertificateCommandInput - {@link TagServerCertificateCommandInput}
@@ -112,6 +114,8 @@ export interface TagServerCertificateCommandOutput extends __MetadataBearer {
112
114
  * <p>The request processing has failed because of an unknown error, exception or
113
115
  * failure.</p>
114
116
  *
117
+ * @throws {@link IAMServiceException}
118
+ * <p>Base exception class for all service exceptions from IAM service.</p>
115
119
  *
116
120
  */
117
121
  export declare class TagServerCertificateCommand extends $Command<TagServerCertificateCommandInput, TagServerCertificateCommandOutput, IAMClientResolvedConfig> {
@@ -80,6 +80,8 @@ export interface TagUserCommandOutput extends __MetadataBearer {
80
80
  * };
81
81
  * const command = new TagUserCommand(input);
82
82
  * const response = await client.send(command);
83
+ * // {};
84
+ *
83
85
  * ```
84
86
  *
85
87
  * @param TagUserCommandInput - {@link TagUserCommandInput}
@@ -108,6 +110,8 @@ export interface TagUserCommandOutput extends __MetadataBearer {
108
110
  * <p>The request processing has failed because of an unknown error, exception or
109
111
  * failure.</p>
110
112
  *
113
+ * @throws {@link IAMServiceException}
114
+ * <p>Base exception class for all service exceptions from IAM service.</p>
111
115
  *
112
116
  * @example To add a tag key and value to an IAM user
113
117
  * ```javascript