@aws-sdk/client-iam 3.289.0 → 3.291.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 (165) hide show
  1. package/dist-cjs/endpoint/ruleset.js +3 -3
  2. package/dist-es/endpoint/ruleset.js +3 -3
  3. package/dist-types/IAM.d.ts +36 -36
  4. package/dist-types/commands/AddClientIDToOpenIDConnectProviderCommand.d.ts +17 -0
  5. package/dist-types/commands/AddRoleToInstanceProfileCommand.d.ts +23 -0
  6. package/dist-types/commands/AddUserToGroupCommand.d.ts +13 -0
  7. package/dist-types/commands/AttachGroupPolicyCommand.d.ts +21 -0
  8. package/dist-types/commands/AttachRolePolicyCommand.d.ts +27 -0
  9. package/dist-types/commands/AttachUserPolicyCommand.d.ts +21 -0
  10. package/dist-types/commands/ChangePasswordCommand.d.ts +29 -2
  11. package/dist-types/commands/CreateAccessKeyCommand.d.ts +13 -0
  12. package/dist-types/commands/CreateAccountAliasCommand.d.ts +13 -0
  13. package/dist-types/commands/CreateGroupCommand.d.ts +17 -0
  14. package/dist-types/commands/CreateInstanceProfileCommand.d.ts +21 -0
  15. package/dist-types/commands/CreateLoginProfileCommand.d.ts +21 -0
  16. package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +24 -0
  17. package/dist-types/commands/CreatePolicyCommand.d.ts +25 -0
  18. package/dist-types/commands/CreatePolicyVersionCommand.d.ts +21 -0
  19. package/dist-types/commands/CreateRoleCommand.d.ts +25 -0
  20. package/dist-types/commands/CreateSAMLProviderCommand.d.ts +21 -0
  21. package/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +17 -0
  22. package/dist-types/commands/CreateServiceSpecificCredentialCommand.d.ts +12 -0
  23. package/dist-types/commands/CreateUserCommand.d.ts +25 -0
  24. package/dist-types/commands/CreateVirtualMFADeviceCommand.d.ts +21 -0
  25. package/dist-types/commands/DeactivateMFADeviceCommand.d.ts +19 -0
  26. package/dist-types/commands/DeleteAccessKeyCommand.d.ts +13 -0
  27. package/dist-types/commands/DeleteAccountAliasCommand.d.ts +13 -0
  28. package/dist-types/commands/DeleteAccountPasswordPolicyCommand.d.ts +13 -0
  29. package/dist-types/commands/DeleteGroupCommand.d.ts +17 -0
  30. package/dist-types/commands/DeleteGroupPolicyCommand.d.ts +13 -0
  31. package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +17 -0
  32. package/dist-types/commands/DeleteLoginProfileCommand.d.ts +19 -0
  33. package/dist-types/commands/DeleteOpenIDConnectProviderCommand.d.ts +13 -0
  34. package/dist-types/commands/DeletePolicyCommand.d.ts +21 -0
  35. package/dist-types/commands/DeletePolicyVersionCommand.d.ts +21 -0
  36. package/dist-types/commands/DeleteRoleCommand.d.ts +27 -0
  37. package/dist-types/commands/DeleteRolePermissionsBoundaryCommand.d.ts +15 -0
  38. package/dist-types/commands/DeleteRolePolicyCommand.d.ts +19 -0
  39. package/dist-types/commands/DeleteSAMLProviderCommand.d.ts +17 -0
  40. package/dist-types/commands/DeleteSSHPublicKeyCommand.d.ts +5 -0
  41. package/dist-types/commands/DeleteServerCertificateCommand.d.ts +17 -0
  42. package/dist-types/commands/DeleteServiceLinkedRoleCommand.d.ts +13 -0
  43. package/dist-types/commands/DeleteServiceSpecificCredentialCommand.d.ts +5 -0
  44. package/dist-types/commands/DeleteSigningCertificateCommand.d.ts +13 -0
  45. package/dist-types/commands/DeleteUserCommand.d.ts +21 -0
  46. package/dist-types/commands/DeleteUserPermissionsBoundaryCommand.d.ts +9 -0
  47. package/dist-types/commands/DeleteUserPolicyCommand.d.ts +13 -0
  48. package/dist-types/commands/DeleteVirtualMFADeviceCommand.d.ts +17 -0
  49. package/dist-types/commands/DetachGroupPolicyCommand.d.ts +17 -0
  50. package/dist-types/commands/DetachRolePolicyCommand.d.ts +23 -0
  51. package/dist-types/commands/DetachUserPolicyCommand.d.ts +17 -0
  52. package/dist-types/commands/EnableMFADeviceCommand.d.ts +27 -0
  53. package/dist-types/commands/GenerateCredentialReportCommand.d.ts +9 -0
  54. package/dist-types/commands/GenerateOrganizationsAccessReportCommand.d.ts +10 -6
  55. package/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +9 -0
  56. package/dist-types/commands/GetAccessKeyLastUsedCommand.d.ts +5 -0
  57. package/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +5 -0
  58. package/dist-types/commands/GetAccountPasswordPolicyCommand.d.ts +9 -0
  59. package/dist-types/commands/GetAccountSummaryCommand.d.ts +5 -0
  60. package/dist-types/commands/GetContextKeysForCustomPolicyCommand.d.ts +5 -0
  61. package/dist-types/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +9 -0
  62. package/dist-types/commands/GetCredentialReportCommand.d.ts +18 -0
  63. package/dist-types/commands/GetGroupCommand.d.ts +9 -0
  64. package/dist-types/commands/GetGroupPolicyCommand.d.ts +9 -0
  65. package/dist-types/commands/GetInstanceProfileCommand.d.ts +9 -0
  66. package/dist-types/commands/GetLoginProfileCommand.d.ts +9 -0
  67. package/dist-types/commands/GetOpenIDConnectProviderCommand.d.ts +13 -0
  68. package/dist-types/commands/GetOrganizationsAccessReportCommand.d.ts +10 -5
  69. package/dist-types/commands/GetPolicyCommand.d.ts +13 -0
  70. package/dist-types/commands/GetPolicyVersionCommand.d.ts +13 -0
  71. package/dist-types/commands/GetRoleCommand.d.ts +9 -0
  72. package/dist-types/commands/GetRolePolicyCommand.d.ts +9 -0
  73. package/dist-types/commands/GetSAMLProviderCommand.d.ts +13 -0
  74. package/dist-types/commands/GetSSHPublicKeyCommand.d.ts +9 -0
  75. package/dist-types/commands/GetServerCertificateCommand.d.ts +9 -0
  76. package/dist-types/commands/GetServiceLastAccessedDetailsCommand.d.ts +9 -0
  77. package/dist-types/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +9 -0
  78. package/dist-types/commands/GetServiceLinkedRoleDeletionStatusCommand.d.ts +13 -0
  79. package/dist-types/commands/GetUserCommand.d.ts +9 -0
  80. package/dist-types/commands/GetUserPolicyCommand.d.ts +9 -0
  81. package/dist-types/commands/ListAccessKeysCommand.d.ts +11 -3
  82. package/dist-types/commands/ListAccountAliasesCommand.d.ts +5 -0
  83. package/dist-types/commands/ListAttachedGroupPoliciesCommand.d.ts +13 -0
  84. package/dist-types/commands/ListAttachedRolePoliciesCommand.d.ts +13 -0
  85. package/dist-types/commands/ListAttachedUserPoliciesCommand.d.ts +13 -0
  86. package/dist-types/commands/ListEntitiesForPolicyCommand.d.ts +13 -0
  87. package/dist-types/commands/ListGroupPoliciesCommand.d.ts +9 -0
  88. package/dist-types/commands/ListGroupsCommand.d.ts +5 -0
  89. package/dist-types/commands/ListGroupsForUserCommand.d.ts +9 -0
  90. package/dist-types/commands/ListInstanceProfileTagsCommand.d.ts +9 -0
  91. package/dist-types/commands/ListInstanceProfilesCommand.d.ts +5 -0
  92. package/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +9 -0
  93. package/dist-types/commands/ListMFADeviceTagsCommand.d.ts +13 -0
  94. package/dist-types/commands/ListMFADevicesCommand.d.ts +9 -0
  95. package/dist-types/commands/ListOpenIDConnectProviderTagsCommand.d.ts +13 -0
  96. package/dist-types/commands/ListOpenIDConnectProvidersCommand.d.ts +5 -0
  97. package/dist-types/commands/ListPoliciesCommand.d.ts +5 -0
  98. package/dist-types/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +9 -0
  99. package/dist-types/commands/ListPolicyTagsCommand.d.ts +13 -0
  100. package/dist-types/commands/ListPolicyVersionsCommand.d.ts +13 -0
  101. package/dist-types/commands/ListRolePoliciesCommand.d.ts +9 -0
  102. package/dist-types/commands/ListRoleTagsCommand.d.ts +9 -0
  103. package/dist-types/commands/ListRolesCommand.d.ts +5 -0
  104. package/dist-types/commands/ListSAMLProviderTagsCommand.d.ts +13 -0
  105. package/dist-types/commands/ListSAMLProvidersCommand.d.ts +5 -0
  106. package/dist-types/commands/ListSSHPublicKeysCommand.d.ts +5 -0
  107. package/dist-types/commands/ListServerCertificateTagsCommand.d.ts +9 -0
  108. package/dist-types/commands/ListServerCertificatesCommand.d.ts +5 -0
  109. package/dist-types/commands/ListServiceSpecificCredentialsCommand.d.ts +8 -0
  110. package/dist-types/commands/ListSigningCertificatesCommand.d.ts +11 -2
  111. package/dist-types/commands/ListUserPoliciesCommand.d.ts +9 -0
  112. package/dist-types/commands/ListUserTagsCommand.d.ts +9 -0
  113. package/dist-types/commands/ListUsersCommand.d.ts +5 -0
  114. package/dist-types/commands/ListVirtualMFADevicesCommand.d.ts +1 -0
  115. package/dist-types/commands/PutGroupPolicyCommand.d.ts +17 -0
  116. package/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts +23 -0
  117. package/dist-types/commands/PutRolePolicyCommand.d.ts +23 -0
  118. package/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts +22 -5
  119. package/dist-types/commands/PutUserPolicyCommand.d.ts +17 -0
  120. package/dist-types/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +13 -0
  121. package/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +19 -0
  122. package/dist-types/commands/RemoveUserFromGroupCommand.d.ts +13 -0
  123. package/dist-types/commands/ResetServiceSpecificCredentialCommand.d.ts +5 -0
  124. package/dist-types/commands/ResyncMFADeviceCommand.d.ts +17 -0
  125. package/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +17 -0
  126. package/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +5 -0
  127. package/dist-types/commands/SimulateCustomPolicyCommand.d.ts +9 -0
  128. package/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +13 -0
  129. package/dist-types/commands/TagInstanceProfileCommand.d.ts +21 -0
  130. package/dist-types/commands/TagMFADeviceCommand.d.ts +21 -0
  131. package/dist-types/commands/TagOpenIDConnectProviderCommand.d.ts +22 -1
  132. package/dist-types/commands/TagPolicyCommand.d.ts +21 -0
  133. package/dist-types/commands/TagRoleCommand.d.ts +21 -0
  134. package/dist-types/commands/TagSAMLProviderCommand.d.ts +21 -0
  135. package/dist-types/commands/TagServerCertificateCommand.d.ts +21 -0
  136. package/dist-types/commands/TagUserCommand.d.ts +22 -1
  137. package/dist-types/commands/UntagInstanceProfileCommand.d.ts +17 -0
  138. package/dist-types/commands/UntagMFADeviceCommand.d.ts +17 -0
  139. package/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +17 -0
  140. package/dist-types/commands/UntagPolicyCommand.d.ts +17 -0
  141. package/dist-types/commands/UntagRoleCommand.d.ts +13 -0
  142. package/dist-types/commands/UntagSAMLProviderCommand.d.ts +17 -0
  143. package/dist-types/commands/UntagServerCertificateCommand.d.ts +17 -0
  144. package/dist-types/commands/UntagUserCommand.d.ts +13 -0
  145. package/dist-types/commands/UpdateAccessKeyCommand.d.ts +15 -3
  146. package/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +17 -0
  147. package/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +23 -0
  148. package/dist-types/commands/UpdateGroupCommand.d.ts +17 -0
  149. package/dist-types/commands/UpdateLoginProfileCommand.d.ts +23 -0
  150. package/dist-types/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +13 -0
  151. package/dist-types/commands/UpdateRoleCommand.d.ts +15 -0
  152. package/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +15 -0
  153. package/dist-types/commands/UpdateSAMLProviderCommand.d.ts +17 -0
  154. package/dist-types/commands/UpdateSSHPublicKeyCommand.d.ts +5 -0
  155. package/dist-types/commands/UpdateServerCertificateCommand.d.ts +17 -0
  156. package/dist-types/commands/UpdateServiceSpecificCredentialCommand.d.ts +5 -0
  157. package/dist-types/commands/UpdateSigningCertificateCommand.d.ts +17 -4
  158. package/dist-types/commands/UpdateUserCommand.d.ts +29 -2
  159. package/dist-types/commands/UploadSSHPublicKeyCommand.d.ts +20 -0
  160. package/dist-types/commands/UploadServerCertificateCommand.d.ts +29 -0
  161. package/dist-types/commands/UploadSigningCertificateCommand.d.ts +30 -2
  162. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  163. package/dist-types/models/models_0.d.ts +11 -10
  164. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  165. package/package.json +30 -30
@@ -38,6 +38,19 @@ export interface GetPolicyCommandOutput extends GetPolicyResponse, __MetadataBea
38
38
  * @see {@link GetPolicyCommandOutput} for command's `response` shape.
39
39
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
40
40
  *
41
+ * @throws {@link InvalidInputException} (client fault)
42
+ * <p>The request was rejected because an invalid or out-of-range value was supplied for an
43
+ * input parameter.</p>
44
+ *
45
+ * @throws {@link NoSuchEntityException} (client fault)
46
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
47
+ * error message describes the resource.</p>
48
+ *
49
+ * @throws {@link ServiceFailureException} (server fault)
50
+ * <p>The request processing has failed because of an unknown error, exception or
51
+ * failure.</p>
52
+ *
53
+ *
41
54
  */
42
55
  export declare class GetPolicyCommand extends $Command<GetPolicyCommandInput, GetPolicyCommandOutput, IAMClientResolvedConfig> {
43
56
  readonly input: GetPolicyCommandInput;
@@ -44,6 +44,19 @@ export interface GetPolicyVersionCommandOutput extends GetPolicyVersionResponse,
44
44
  * @see {@link GetPolicyVersionCommandOutput} for command's `response` shape.
45
45
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
46
46
  *
47
+ * @throws {@link InvalidInputException} (client fault)
48
+ * <p>The request was rejected because an invalid or out-of-range value was supplied for an
49
+ * input parameter.</p>
50
+ *
51
+ * @throws {@link NoSuchEntityException} (client fault)
52
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
53
+ * error message describes the resource.</p>
54
+ *
55
+ * @throws {@link ServiceFailureException} (server fault)
56
+ * <p>The request processing has failed because of an unknown error, exception or
57
+ * failure.</p>
58
+ *
59
+ *
47
60
  */
48
61
  export declare class GetPolicyVersionCommand extends $Command<GetPolicyVersionCommandInput, GetPolicyVersionCommandOutput, IAMClientResolvedConfig> {
49
62
  readonly input: GetPolicyVersionCommandInput;
@@ -38,6 +38,15 @@ export interface GetRoleCommandOutput extends GetRoleResponse, __MetadataBearer
38
38
  * @see {@link GetRoleCommandOutput} for command's `response` shape.
39
39
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
40
40
  *
41
+ * @throws {@link NoSuchEntityException} (client fault)
42
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
43
+ * error message describes the resource.</p>
44
+ *
45
+ * @throws {@link ServiceFailureException} (server fault)
46
+ * <p>The request processing has failed because of an unknown error, exception or
47
+ * failure.</p>
48
+ *
49
+ *
41
50
  * @example To get information about an IAM role
42
51
  * ```javascript
43
52
  * // The following command gets information about the role named Test-Role.
@@ -45,6 +45,15 @@ export interface GetRolePolicyCommandOutput extends GetRolePolicyResponse, __Met
45
45
  * @see {@link GetRolePolicyCommandOutput} for command's `response` shape.
46
46
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
47
47
  *
48
+ * @throws {@link NoSuchEntityException} (client fault)
49
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
50
+ * error message describes the resource.</p>
51
+ *
52
+ * @throws {@link ServiceFailureException} (server fault)
53
+ * <p>The request processing has failed because of an unknown error, exception or
54
+ * failure.</p>
55
+ *
56
+ *
48
57
  */
49
58
  export declare class GetRolePolicyCommand extends $Command<GetRolePolicyCommandInput, GetRolePolicyCommandOutput, IAMClientResolvedConfig> {
50
59
  readonly input: GetRolePolicyCommandInput;
@@ -33,6 +33,19 @@ export interface GetSAMLProviderCommandOutput extends GetSAMLProviderResponse, _
33
33
  * @see {@link GetSAMLProviderCommandOutput} for command's `response` shape.
34
34
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
35
35
  *
36
+ * @throws {@link InvalidInputException} (client fault)
37
+ * <p>The request was rejected because an invalid or out-of-range value was supplied for an
38
+ * input parameter.</p>
39
+ *
40
+ * @throws {@link NoSuchEntityException} (client fault)
41
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
42
+ * error message describes the resource.</p>
43
+ *
44
+ * @throws {@link ServiceFailureException} (server fault)
45
+ * <p>The request processing has failed because of an unknown error, exception or
46
+ * failure.</p>
47
+ *
48
+ *
36
49
  */
37
50
  export declare class GetSAMLProviderCommand extends $Command<GetSAMLProviderCommandInput, GetSAMLProviderCommandOutput, IAMClientResolvedConfig> {
38
51
  readonly input: GetSAMLProviderCommandInput;
@@ -33,6 +33,15 @@ export interface GetSSHPublicKeyCommandOutput extends GetSSHPublicKeyResponse, _
33
33
  * @see {@link GetSSHPublicKeyCommandOutput} for command's `response` shape.
34
34
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
35
35
  *
36
+ * @throws {@link NoSuchEntityException} (client fault)
37
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
38
+ * error message describes the resource.</p>
39
+ *
40
+ * @throws {@link UnrecognizedPublicKeyEncodingException} (client fault)
41
+ * <p>The request was rejected because the public key encoding format is unsupported or
42
+ * unrecognized.</p>
43
+ *
44
+ *
36
45
  */
37
46
  export declare class GetSSHPublicKeyCommand extends $Command<GetSSHPublicKeyCommandInput, GetSSHPublicKeyCommandOutput, IAMClientResolvedConfig> {
38
47
  readonly input: GetSSHPublicKeyCommandInput;
@@ -33,6 +33,15 @@ export interface GetServerCertificateCommandOutput extends GetServerCertificateR
33
33
  * @see {@link GetServerCertificateCommandOutput} for command's `response` shape.
34
34
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
35
35
  *
36
+ * @throws {@link NoSuchEntityException} (client fault)
37
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
38
+ * error message describes the resource.</p>
39
+ *
40
+ * @throws {@link ServiceFailureException} (server fault)
41
+ * <p>The request processing has failed because of an unknown error, exception or
42
+ * failure.</p>
43
+ *
44
+ *
36
45
  */
37
46
  export declare class GetServerCertificateCommand extends $Command<GetServerCertificateCommandInput, GetServerCertificateCommandOutput, IAMClientResolvedConfig> {
38
47
  readonly input: GetServerCertificateCommandInput;
@@ -80,6 +80,15 @@ export interface GetServiceLastAccessedDetailsCommandOutput extends GetServiceLa
80
80
  * @see {@link GetServiceLastAccessedDetailsCommandOutput} for command's `response` shape.
81
81
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
82
82
  *
83
+ * @throws {@link InvalidInputException} (client fault)
84
+ * <p>The request was rejected because an invalid or out-of-range value was supplied for an
85
+ * input parameter.</p>
86
+ *
87
+ * @throws {@link NoSuchEntityException} (client fault)
88
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
89
+ * error message describes the resource.</p>
90
+ *
91
+ *
83
92
  * @example To get details from a previously-generated report
84
93
  * ```javascript
85
94
  * // The following operation gets details about the report with the job ID: examplef-1305-c245-eba4-71fe298bcda7
@@ -54,6 +54,15 @@ export interface GetServiceLastAccessedDetailsWithEntitiesCommandOutput extends
54
54
  * @see {@link GetServiceLastAccessedDetailsWithEntitiesCommandOutput} for command's `response` shape.
55
55
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
56
56
  *
57
+ * @throws {@link InvalidInputException} (client fault)
58
+ * <p>The request was rejected because an invalid or out-of-range value was supplied for an
59
+ * input parameter.</p>
60
+ *
61
+ * @throws {@link NoSuchEntityException} (client fault)
62
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
63
+ * error message describes the resource.</p>
64
+ *
65
+ *
57
66
  * @example To get sntity details from a previously-generated report
58
67
  * ```javascript
59
68
  * // The following operation returns details about the entities that attempted to access the IAM service.
@@ -33,6 +33,19 @@ export interface GetServiceLinkedRoleDeletionStatusCommandOutput extends GetServ
33
33
  * @see {@link GetServiceLinkedRoleDeletionStatusCommandOutput} for command's `response` shape.
34
34
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
35
35
  *
36
+ * @throws {@link InvalidInputException} (client fault)
37
+ * <p>The request was rejected because an invalid or out-of-range value was supplied for an
38
+ * input parameter.</p>
39
+ *
40
+ * @throws {@link NoSuchEntityException} (client fault)
41
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
42
+ * error message describes the resource.</p>
43
+ *
44
+ * @throws {@link ServiceFailureException} (server fault)
45
+ * <p>The request processing has failed because of an unknown error, exception or
46
+ * failure.</p>
47
+ *
48
+ *
36
49
  */
37
50
  export declare class GetServiceLinkedRoleDeletionStatusCommand extends $Command<GetServiceLinkedRoleDeletionStatusCommandInput, GetServiceLinkedRoleDeletionStatusCommandOutput, IAMClientResolvedConfig> {
38
51
  readonly input: GetServiceLinkedRoleDeletionStatusCommandInput;
@@ -32,6 +32,15 @@ export interface GetUserCommandOutput extends GetUserResponse, __MetadataBearer
32
32
  * @see {@link GetUserCommandOutput} for command's `response` shape.
33
33
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
34
34
  *
35
+ * @throws {@link NoSuchEntityException} (client fault)
36
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
37
+ * error message describes the resource.</p>
38
+ *
39
+ * @throws {@link ServiceFailureException} (server fault)
40
+ * <p>The request processing has failed because of an unknown error, exception or
41
+ * failure.</p>
42
+ *
43
+ *
35
44
  * @example To get information about an IAM user
36
45
  * ```javascript
37
46
  * // The following command gets information about the IAM user named Bob.
@@ -43,6 +43,15 @@ export interface GetUserPolicyCommandOutput extends GetUserPolicyResponse, __Met
43
43
  * @see {@link GetUserPolicyCommandOutput} for command's `response` shape.
44
44
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
45
45
  *
46
+ * @throws {@link NoSuchEntityException} (client fault)
47
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
48
+ * error message describes the resource.</p>
49
+ *
50
+ * @throws {@link ServiceFailureException} (server fault)
51
+ * <p>The request processing has failed because of an unknown error, exception or
52
+ * failure.</p>
53
+ *
54
+ *
46
55
  */
47
56
  export declare class GetUserPolicyCommand extends $Command<GetUserPolicyCommandInput, GetUserPolicyCommandOutput, IAMClientResolvedConfig> {
48
57
  readonly input: GetUserPolicyCommandInput;
@@ -22,9 +22,8 @@ export interface ListAccessKeysCommandOutput extends ListAccessKeysResponse, __M
22
22
  * based on the Amazon Web Services access key ID used to sign the request. If a temporary access key is
23
23
  * used, then <code>UserName</code> is required. If a long-term key is assigned to the
24
24
  * user, then <code>UserName</code> is not required. This operation works for access keys
25
- * under the Amazon Web Services account. Consequently, you can use this operation to manage
26
- * Amazon Web Services account root user credentials even if the Amazon Web Services account has no associated
27
- * users.</p>
25
+ * under the Amazon Web Services account. Consequently, you can use this operation to manage Amazon Web Services account root user
26
+ * credentials even if the Amazon Web Services account has no associated users.</p>
28
27
  * <note>
29
28
  * <p>To ensure the security of your Amazon Web Services account, the secret access key is accessible
30
29
  * only during key and user creation.</p>
@@ -43,6 +42,15 @@ export interface ListAccessKeysCommandOutput extends ListAccessKeysResponse, __M
43
42
  * @see {@link ListAccessKeysCommandOutput} for command's `response` shape.
44
43
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
45
44
  *
45
+ * @throws {@link NoSuchEntityException} (client fault)
46
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
47
+ * error message describes the resource.</p>
48
+ *
49
+ * @throws {@link ServiceFailureException} (server fault)
50
+ * <p>The request processing has failed because of an unknown error, exception or
51
+ * failure.</p>
52
+ *
53
+ *
46
54
  * @example To list the access key IDs for an IAM user
47
55
  * ```javascript
48
56
  * // The following command lists the access keys IDs for the IAM user named Alice.
@@ -31,6 +31,11 @@ export interface ListAccountAliasesCommandOutput extends ListAccountAliasesRespo
31
31
  * @see {@link ListAccountAliasesCommandOutput} for command's `response` shape.
32
32
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
33
33
  *
34
+ * @throws {@link ServiceFailureException} (server fault)
35
+ * <p>The request processing has failed because of an unknown error, exception or
36
+ * failure.</p>
37
+ *
38
+ *
34
39
  * @example To list account aliases
35
40
  * ```javascript
36
41
  * // The following command lists the aliases for the current account.
@@ -38,6 +38,19 @@ export interface ListAttachedGroupPoliciesCommandOutput extends ListAttachedGrou
38
38
  * @see {@link ListAttachedGroupPoliciesCommandOutput} for command's `response` shape.
39
39
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
40
40
  *
41
+ * @throws {@link InvalidInputException} (client fault)
42
+ * <p>The request was rejected because an invalid or out-of-range value was supplied for an
43
+ * input parameter.</p>
44
+ *
45
+ * @throws {@link NoSuchEntityException} (client fault)
46
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
47
+ * error message describes the resource.</p>
48
+ *
49
+ * @throws {@link ServiceFailureException} (server fault)
50
+ * <p>The request processing has failed because of an unknown error, exception or
51
+ * failure.</p>
52
+ *
53
+ *
41
54
  */
42
55
  export declare class ListAttachedGroupPoliciesCommand extends $Command<ListAttachedGroupPoliciesCommandInput, ListAttachedGroupPoliciesCommandOutput, IAMClientResolvedConfig> {
43
56
  readonly input: ListAttachedGroupPoliciesCommandInput;
@@ -38,6 +38,19 @@ export interface ListAttachedRolePoliciesCommandOutput extends ListAttachedRoleP
38
38
  * @see {@link ListAttachedRolePoliciesCommandOutput} for command's `response` shape.
39
39
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
40
40
  *
41
+ * @throws {@link InvalidInputException} (client fault)
42
+ * <p>The request was rejected because an invalid or out-of-range value was supplied for an
43
+ * input parameter.</p>
44
+ *
45
+ * @throws {@link NoSuchEntityException} (client fault)
46
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
47
+ * error message describes the resource.</p>
48
+ *
49
+ * @throws {@link ServiceFailureException} (server fault)
50
+ * <p>The request processing has failed because of an unknown error, exception or
51
+ * failure.</p>
52
+ *
53
+ *
41
54
  */
42
55
  export declare class ListAttachedRolePoliciesCommand extends $Command<ListAttachedRolePoliciesCommandInput, ListAttachedRolePoliciesCommandOutput, IAMClientResolvedConfig> {
43
56
  readonly input: ListAttachedRolePoliciesCommandInput;
@@ -38,6 +38,19 @@ export interface ListAttachedUserPoliciesCommandOutput extends ListAttachedUserP
38
38
  * @see {@link ListAttachedUserPoliciesCommandOutput} for command's `response` shape.
39
39
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
40
40
  *
41
+ * @throws {@link InvalidInputException} (client fault)
42
+ * <p>The request was rejected because an invalid or out-of-range value was supplied for an
43
+ * input parameter.</p>
44
+ *
45
+ * @throws {@link NoSuchEntityException} (client fault)
46
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
47
+ * error message describes the resource.</p>
48
+ *
49
+ * @throws {@link ServiceFailureException} (server fault)
50
+ * <p>The request processing has failed because of an unknown error, exception or
51
+ * failure.</p>
52
+ *
53
+ *
41
54
  */
42
55
  export declare class ListAttachedUserPoliciesCommand extends $Command<ListAttachedUserPoliciesCommandInput, ListAttachedUserPoliciesCommandOutput, IAMClientResolvedConfig> {
43
56
  readonly input: ListAttachedUserPoliciesCommandInput;
@@ -36,6 +36,19 @@ export interface ListEntitiesForPolicyCommandOutput extends ListEntitiesForPolic
36
36
  * @see {@link ListEntitiesForPolicyCommandOutput} for command's `response` shape.
37
37
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
38
38
  *
39
+ * @throws {@link InvalidInputException} (client fault)
40
+ * <p>The request was rejected because an invalid or out-of-range value was supplied for an
41
+ * input parameter.</p>
42
+ *
43
+ * @throws {@link NoSuchEntityException} (client fault)
44
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
45
+ * error message describes the resource.</p>
46
+ *
47
+ * @throws {@link ServiceFailureException} (server fault)
48
+ * <p>The request processing has failed because of an unknown error, exception or
49
+ * failure.</p>
50
+ *
51
+ *
39
52
  */
40
53
  export declare class ListEntitiesForPolicyCommand extends $Command<ListEntitiesForPolicyCommandInput, ListEntitiesForPolicyCommandOutput, IAMClientResolvedConfig> {
41
54
  readonly input: ListEntitiesForPolicyCommandInput;
@@ -37,6 +37,15 @@ export interface ListGroupPoliciesCommandOutput extends ListGroupPoliciesRespons
37
37
  * @see {@link ListGroupPoliciesCommandOutput} for command's `response` shape.
38
38
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
39
39
  *
40
+ * @throws {@link NoSuchEntityException} (client fault)
41
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
42
+ * error message describes the resource.</p>
43
+ *
44
+ * @throws {@link ServiceFailureException} (server fault)
45
+ * <p>The request processing has failed because of an unknown error, exception or
46
+ * failure.</p>
47
+ *
48
+ *
40
49
  * @example To list the in-line policies for an IAM group
41
50
  * ```javascript
42
51
  * // The following command lists the names of in-line policies that are embedded in the IAM group named Admins.
@@ -31,6 +31,11 @@ export interface ListGroupsCommandOutput extends ListGroupsResponse, __MetadataB
31
31
  * @see {@link ListGroupsCommandOutput} for command's `response` shape.
32
32
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
33
33
  *
34
+ * @throws {@link ServiceFailureException} (server fault)
35
+ * <p>The request processing has failed because of an unknown error, exception or
36
+ * failure.</p>
37
+ *
38
+ *
34
39
  * @example To list the IAM groups for the current account
35
40
  * ```javascript
36
41
  * // The following command lists the IAM groups in the current account:
@@ -31,6 +31,15 @@ export interface ListGroupsForUserCommandOutput extends ListGroupsForUserRespons
31
31
  * @see {@link ListGroupsForUserCommandOutput} for command's `response` shape.
32
32
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
33
33
  *
34
+ * @throws {@link NoSuchEntityException} (client fault)
35
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
36
+ * error message describes the resource.</p>
37
+ *
38
+ * @throws {@link ServiceFailureException} (server fault)
39
+ * <p>The request processing has failed because of an unknown error, exception or
40
+ * failure.</p>
41
+ *
42
+ *
34
43
  * @example To list the groups that an IAM user belongs to
35
44
  * ```javascript
36
45
  * // The following command displays the groups that the IAM user named Bob belongs to.
@@ -31,6 +31,15 @@ export interface ListInstanceProfileTagsCommandOutput extends ListInstanceProfil
31
31
  * @see {@link ListInstanceProfileTagsCommandOutput} for command's `response` shape.
32
32
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
33
33
  *
34
+ * @throws {@link NoSuchEntityException} (client fault)
35
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
36
+ * error message describes the resource.</p>
37
+ *
38
+ * @throws {@link ServiceFailureException} (server fault)
39
+ * <p>The request processing has failed because of an unknown error, exception or
40
+ * failure.</p>
41
+ *
42
+ *
34
43
  */
35
44
  export declare class ListInstanceProfileTagsCommand extends $Command<ListInstanceProfileTagsCommandInput, ListInstanceProfileTagsCommandOutput, IAMClientResolvedConfig> {
36
45
  readonly input: ListInstanceProfileTagsCommandInput;
@@ -38,6 +38,11 @@ export interface ListInstanceProfilesCommandOutput extends ListInstanceProfilesR
38
38
  * @see {@link ListInstanceProfilesCommandOutput} for command's `response` shape.
39
39
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
40
40
  *
41
+ * @throws {@link ServiceFailureException} (server fault)
42
+ * <p>The request processing has failed because of an unknown error, exception or
43
+ * failure.</p>
44
+ *
45
+ *
41
46
  */
42
47
  export declare class ListInstanceProfilesCommand extends $Command<ListInstanceProfilesCommandInput, ListInstanceProfilesCommandOutput, IAMClientResolvedConfig> {
43
48
  readonly input: ListInstanceProfilesCommandInput;
@@ -34,6 +34,15 @@ export interface ListInstanceProfilesForRoleCommandOutput extends ListInstancePr
34
34
  * @see {@link ListInstanceProfilesForRoleCommandOutput} for command's `response` shape.
35
35
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
36
36
  *
37
+ * @throws {@link NoSuchEntityException} (client fault)
38
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
39
+ * error message describes the resource.</p>
40
+ *
41
+ * @throws {@link ServiceFailureException} (server fault)
42
+ * <p>The request processing has failed because of an unknown error, exception or
43
+ * failure.</p>
44
+ *
45
+ *
37
46
  */
38
47
  export declare class ListInstanceProfilesForRoleCommand extends $Command<ListInstanceProfilesForRoleCommandInput, ListInstanceProfilesForRoleCommandOutput, IAMClientResolvedConfig> {
39
48
  readonly input: ListInstanceProfilesForRoleCommandInput;
@@ -31,6 +31,19 @@ export interface ListMFADeviceTagsCommandOutput extends ListMFADeviceTagsRespons
31
31
  * @see {@link ListMFADeviceTagsCommandOutput} for command's `response` shape.
32
32
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
33
33
  *
34
+ * @throws {@link InvalidInputException} (client fault)
35
+ * <p>The request was rejected because an invalid or out-of-range value was supplied for an
36
+ * input parameter.</p>
37
+ *
38
+ * @throws {@link NoSuchEntityException} (client fault)
39
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
40
+ * error message describes the resource.</p>
41
+ *
42
+ * @throws {@link ServiceFailureException} (server fault)
43
+ * <p>The request processing has failed because of an unknown error, exception or
44
+ * failure.</p>
45
+ *
46
+ *
34
47
  */
35
48
  export declare class ListMFADeviceTagsCommand extends $Command<ListMFADeviceTagsCommandInput, ListMFADeviceTagsCommandOutput, IAMClientResolvedConfig> {
36
49
  readonly input: ListMFADeviceTagsCommandInput;
@@ -34,6 +34,15 @@ export interface ListMFADevicesCommandOutput extends ListMFADevicesResponse, __M
34
34
  * @see {@link ListMFADevicesCommandOutput} for command's `response` shape.
35
35
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
36
36
  *
37
+ * @throws {@link NoSuchEntityException} (client fault)
38
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
39
+ * error message describes the resource.</p>
40
+ *
41
+ * @throws {@link ServiceFailureException} (server fault)
42
+ * <p>The request processing has failed because of an unknown error, exception or
43
+ * failure.</p>
44
+ *
45
+ *
37
46
  */
38
47
  export declare class ListMFADevicesCommand extends $Command<ListMFADevicesCommandInput, ListMFADevicesCommandOutput, IAMClientResolvedConfig> {
39
48
  readonly input: ListMFADevicesCommandInput;
@@ -33,6 +33,19 @@ export interface ListOpenIDConnectProviderTagsCommandOutput extends ListOpenIDCo
33
33
  * @see {@link ListOpenIDConnectProviderTagsCommandOutput} for command's `response` shape.
34
34
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
35
35
  *
36
+ * @throws {@link InvalidInputException} (client fault)
37
+ * <p>The request was rejected because an invalid or out-of-range value was supplied for an
38
+ * input parameter.</p>
39
+ *
40
+ * @throws {@link NoSuchEntityException} (client fault)
41
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
42
+ * error message describes the resource.</p>
43
+ *
44
+ * @throws {@link ServiceFailureException} (server fault)
45
+ * <p>The request processing has failed because of an unknown error, exception or
46
+ * failure.</p>
47
+ *
48
+ *
36
49
  */
37
50
  export declare class ListOpenIDConnectProviderTagsCommand extends $Command<ListOpenIDConnectProviderTagsCommandInput, ListOpenIDConnectProviderTagsCommandOutput, IAMClientResolvedConfig> {
38
51
  readonly input: ListOpenIDConnectProviderTagsCommandInput;
@@ -34,6 +34,11 @@ export interface ListOpenIDConnectProvidersCommandOutput extends ListOpenIDConne
34
34
  * @see {@link ListOpenIDConnectProvidersCommandOutput} for command's `response` shape.
35
35
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
36
36
  *
37
+ * @throws {@link ServiceFailureException} (server fault)
38
+ * <p>The request processing has failed because of an unknown error, exception or
39
+ * failure.</p>
40
+ *
41
+ *
37
42
  */
38
43
  export declare class ListOpenIDConnectProvidersCommand extends $Command<ListOpenIDConnectProvidersCommandInput, ListOpenIDConnectProvidersCommandOutput, IAMClientResolvedConfig> {
39
44
  readonly input: ListOpenIDConnectProvidersCommandInput;
@@ -44,6 +44,11 @@ export interface ListPoliciesCommandOutput extends ListPoliciesResponse, __Metad
44
44
  * @see {@link ListPoliciesCommandOutput} for command's `response` shape.
45
45
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
46
46
  *
47
+ * @throws {@link ServiceFailureException} (server fault)
48
+ * <p>The request processing has failed because of an unknown error, exception or
49
+ * failure.</p>
50
+ *
51
+ *
47
52
  */
48
53
  export declare class ListPoliciesCommand extends $Command<ListPoliciesCommandInput, ListPoliciesCommandOutput, IAMClientResolvedConfig> {
49
54
  readonly input: ListPoliciesCommandInput;
@@ -68,6 +68,15 @@ export interface ListPoliciesGrantingServiceAccessCommandOutput extends ListPoli
68
68
  * @see {@link ListPoliciesGrantingServiceAccessCommandOutput} for command's `response` shape.
69
69
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
70
70
  *
71
+ * @throws {@link InvalidInputException} (client fault)
72
+ * <p>The request was rejected because an invalid or out-of-range value was supplied for an
73
+ * input parameter.</p>
74
+ *
75
+ * @throws {@link NoSuchEntityException} (client fault)
76
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
77
+ * error message describes the resource.</p>
78
+ *
79
+ *
71
80
  * @example To list policies that allow access to a service
72
81
  * ```javascript
73
82
  * // The following operation lists policies that allow ExampleUser01 to access IAM or EC2.
@@ -31,6 +31,19 @@ export interface ListPolicyTagsCommandOutput extends ListPolicyTagsResponse, __M
31
31
  * @see {@link ListPolicyTagsCommandOutput} for command's `response` shape.
32
32
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
33
33
  *
34
+ * @throws {@link InvalidInputException} (client fault)
35
+ * <p>The request was rejected because an invalid or out-of-range value was supplied for an
36
+ * input parameter.</p>
37
+ *
38
+ * @throws {@link NoSuchEntityException} (client fault)
39
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
40
+ * error message describes the resource.</p>
41
+ *
42
+ * @throws {@link ServiceFailureException} (server fault)
43
+ * <p>The request processing has failed because of an unknown error, exception or
44
+ * failure.</p>
45
+ *
46
+ *
34
47
  */
35
48
  export declare class ListPolicyTagsCommand extends $Command<ListPolicyTagsCommandInput, ListPolicyTagsCommandOutput, IAMClientResolvedConfig> {
36
49
  readonly input: ListPolicyTagsCommandInput;
@@ -32,6 +32,19 @@ export interface ListPolicyVersionsCommandOutput extends ListPolicyVersionsRespo
32
32
  * @see {@link ListPolicyVersionsCommandOutput} for command's `response` shape.
33
33
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
34
34
  *
35
+ * @throws {@link InvalidInputException} (client fault)
36
+ * <p>The request was rejected because an invalid or out-of-range value was supplied for an
37
+ * input parameter.</p>
38
+ *
39
+ * @throws {@link NoSuchEntityException} (client fault)
40
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
41
+ * error message describes the resource.</p>
42
+ *
43
+ * @throws {@link ServiceFailureException} (server fault)
44
+ * <p>The request processing has failed because of an unknown error, exception or
45
+ * failure.</p>
46
+ *
47
+ *
35
48
  */
36
49
  export declare class ListPolicyVersionsCommand extends $Command<ListPolicyVersionsCommandInput, ListPolicyVersionsCommandOutput, IAMClientResolvedConfig> {
37
50
  readonly input: ListPolicyVersionsCommandInput;
@@ -37,6 +37,15 @@ export interface ListRolePoliciesCommandOutput extends ListRolePoliciesResponse,
37
37
  * @see {@link ListRolePoliciesCommandOutput} for command's `response` shape.
38
38
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
39
39
  *
40
+ * @throws {@link NoSuchEntityException} (client fault)
41
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
42
+ * error message describes the resource.</p>
43
+ *
44
+ * @throws {@link ServiceFailureException} (server fault)
45
+ * <p>The request processing has failed because of an unknown error, exception or
46
+ * failure.</p>
47
+ *
48
+ *
40
49
  */
41
50
  export declare class ListRolePoliciesCommand extends $Command<ListRolePoliciesCommandInput, ListRolePoliciesCommandOutput, IAMClientResolvedConfig> {
42
51
  readonly input: ListRolePoliciesCommandInput;
@@ -31,6 +31,15 @@ export interface ListRoleTagsCommandOutput extends ListRoleTagsResponse, __Metad
31
31
  * @see {@link ListRoleTagsCommandOutput} for command's `response` shape.
32
32
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
33
33
  *
34
+ * @throws {@link NoSuchEntityException} (client fault)
35
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
36
+ * error message describes the resource.</p>
37
+ *
38
+ * @throws {@link ServiceFailureException} (server fault)
39
+ * <p>The request processing has failed because of an unknown error, exception or
40
+ * failure.</p>
41
+ *
42
+ *
34
43
  * @example To list the tags attached to an IAM role
35
44
  * ```javascript
36
45
  * // The following example shows how to list the tags attached to a role.
@@ -37,6 +37,11 @@ export interface ListRolesCommandOutput extends ListRolesResponse, __MetadataBea
37
37
  * @see {@link ListRolesCommandOutput} for command's `response` shape.
38
38
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
39
39
  *
40
+ * @throws {@link ServiceFailureException} (server fault)
41
+ * <p>The request processing has failed because of an unknown error, exception or
42
+ * failure.</p>
43
+ *
44
+ *
40
45
  */
41
46
  export declare class ListRolesCommand extends $Command<ListRolesCommandInput, ListRolesCommandOutput, IAMClientResolvedConfig> {
42
47
  readonly input: ListRolesCommandInput;