@aws-sdk/client-iam 3.289.0 → 3.290.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 +17 -0
  2. package/dist-types/commands/AddRoleToInstanceProfileCommand.d.ts +23 -0
  3. package/dist-types/commands/AddUserToGroupCommand.d.ts +13 -0
  4. package/dist-types/commands/AttachGroupPolicyCommand.d.ts +21 -0
  5. package/dist-types/commands/AttachRolePolicyCommand.d.ts +27 -0
  6. package/dist-types/commands/AttachUserPolicyCommand.d.ts +21 -0
  7. package/dist-types/commands/ChangePasswordCommand.d.ts +27 -0
  8. package/dist-types/commands/CreateAccessKeyCommand.d.ts +13 -0
  9. package/dist-types/commands/CreateAccountAliasCommand.d.ts +13 -0
  10. package/dist-types/commands/CreateGroupCommand.d.ts +17 -0
  11. package/dist-types/commands/CreateInstanceProfileCommand.d.ts +21 -0
  12. package/dist-types/commands/CreateLoginProfileCommand.d.ts +21 -0
  13. package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +21 -0
  14. package/dist-types/commands/CreatePolicyCommand.d.ts +25 -0
  15. package/dist-types/commands/CreatePolicyVersionCommand.d.ts +21 -0
  16. package/dist-types/commands/CreateRoleCommand.d.ts +25 -0
  17. package/dist-types/commands/CreateSAMLProviderCommand.d.ts +21 -0
  18. package/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +17 -0
  19. package/dist-types/commands/CreateServiceSpecificCredentialCommand.d.ts +12 -0
  20. package/dist-types/commands/CreateUserCommand.d.ts +25 -0
  21. package/dist-types/commands/CreateVirtualMFADeviceCommand.d.ts +21 -0
  22. package/dist-types/commands/DeactivateMFADeviceCommand.d.ts +19 -0
  23. package/dist-types/commands/DeleteAccessKeyCommand.d.ts +13 -0
  24. package/dist-types/commands/DeleteAccountAliasCommand.d.ts +13 -0
  25. package/dist-types/commands/DeleteAccountPasswordPolicyCommand.d.ts +13 -0
  26. package/dist-types/commands/DeleteGroupCommand.d.ts +17 -0
  27. package/dist-types/commands/DeleteGroupPolicyCommand.d.ts +13 -0
  28. package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +17 -0
  29. package/dist-types/commands/DeleteLoginProfileCommand.d.ts +19 -0
  30. package/dist-types/commands/DeleteOpenIDConnectProviderCommand.d.ts +13 -0
  31. package/dist-types/commands/DeletePolicyCommand.d.ts +21 -0
  32. package/dist-types/commands/DeletePolicyVersionCommand.d.ts +21 -0
  33. package/dist-types/commands/DeleteRoleCommand.d.ts +27 -0
  34. package/dist-types/commands/DeleteRolePermissionsBoundaryCommand.d.ts +15 -0
  35. package/dist-types/commands/DeleteRolePolicyCommand.d.ts +19 -0
  36. package/dist-types/commands/DeleteSAMLProviderCommand.d.ts +17 -0
  37. package/dist-types/commands/DeleteSSHPublicKeyCommand.d.ts +5 -0
  38. package/dist-types/commands/DeleteServerCertificateCommand.d.ts +17 -0
  39. package/dist-types/commands/DeleteServiceLinkedRoleCommand.d.ts +13 -0
  40. package/dist-types/commands/DeleteServiceSpecificCredentialCommand.d.ts +5 -0
  41. package/dist-types/commands/DeleteSigningCertificateCommand.d.ts +13 -0
  42. package/dist-types/commands/DeleteUserCommand.d.ts +21 -0
  43. package/dist-types/commands/DeleteUserPermissionsBoundaryCommand.d.ts +9 -0
  44. package/dist-types/commands/DeleteUserPolicyCommand.d.ts +13 -0
  45. package/dist-types/commands/DeleteVirtualMFADeviceCommand.d.ts +17 -0
  46. package/dist-types/commands/DetachGroupPolicyCommand.d.ts +17 -0
  47. package/dist-types/commands/DetachRolePolicyCommand.d.ts +23 -0
  48. package/dist-types/commands/DetachUserPolicyCommand.d.ts +17 -0
  49. package/dist-types/commands/EnableMFADeviceCommand.d.ts +27 -0
  50. package/dist-types/commands/GenerateCredentialReportCommand.d.ts +9 -0
  51. package/dist-types/commands/GenerateOrganizationsAccessReportCommand.d.ts +5 -0
  52. package/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +9 -0
  53. package/dist-types/commands/GetAccessKeyLastUsedCommand.d.ts +5 -0
  54. package/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +5 -0
  55. package/dist-types/commands/GetAccountPasswordPolicyCommand.d.ts +9 -0
  56. package/dist-types/commands/GetAccountSummaryCommand.d.ts +5 -0
  57. package/dist-types/commands/GetContextKeysForCustomPolicyCommand.d.ts +5 -0
  58. package/dist-types/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +9 -0
  59. package/dist-types/commands/GetCredentialReportCommand.d.ts +18 -0
  60. package/dist-types/commands/GetGroupCommand.d.ts +9 -0
  61. package/dist-types/commands/GetGroupPolicyCommand.d.ts +9 -0
  62. package/dist-types/commands/GetInstanceProfileCommand.d.ts +9 -0
  63. package/dist-types/commands/GetLoginProfileCommand.d.ts +9 -0
  64. package/dist-types/commands/GetOpenIDConnectProviderCommand.d.ts +13 -0
  65. package/dist-types/commands/GetOrganizationsAccessReportCommand.d.ts +5 -0
  66. package/dist-types/commands/GetPolicyCommand.d.ts +13 -0
  67. package/dist-types/commands/GetPolicyVersionCommand.d.ts +13 -0
  68. package/dist-types/commands/GetRoleCommand.d.ts +9 -0
  69. package/dist-types/commands/GetRolePolicyCommand.d.ts +9 -0
  70. package/dist-types/commands/GetSAMLProviderCommand.d.ts +13 -0
  71. package/dist-types/commands/GetSSHPublicKeyCommand.d.ts +9 -0
  72. package/dist-types/commands/GetServerCertificateCommand.d.ts +9 -0
  73. package/dist-types/commands/GetServiceLastAccessedDetailsCommand.d.ts +9 -0
  74. package/dist-types/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +9 -0
  75. package/dist-types/commands/GetServiceLinkedRoleDeletionStatusCommand.d.ts +13 -0
  76. package/dist-types/commands/GetUserCommand.d.ts +9 -0
  77. package/dist-types/commands/GetUserPolicyCommand.d.ts +9 -0
  78. package/dist-types/commands/ListAccessKeysCommand.d.ts +9 -0
  79. package/dist-types/commands/ListAccountAliasesCommand.d.ts +5 -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 +13 -0
  84. package/dist-types/commands/ListGroupPoliciesCommand.d.ts +9 -0
  85. package/dist-types/commands/ListGroupsCommand.d.ts +5 -0
  86. package/dist-types/commands/ListGroupsForUserCommand.d.ts +9 -0
  87. package/dist-types/commands/ListInstanceProfileTagsCommand.d.ts +9 -0
  88. package/dist-types/commands/ListInstanceProfilesCommand.d.ts +5 -0
  89. package/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +9 -0
  90. package/dist-types/commands/ListMFADeviceTagsCommand.d.ts +13 -0
  91. package/dist-types/commands/ListMFADevicesCommand.d.ts +9 -0
  92. package/dist-types/commands/ListOpenIDConnectProviderTagsCommand.d.ts +13 -0
  93. package/dist-types/commands/ListOpenIDConnectProvidersCommand.d.ts +5 -0
  94. package/dist-types/commands/ListPoliciesCommand.d.ts +5 -0
  95. package/dist-types/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +9 -0
  96. package/dist-types/commands/ListPolicyTagsCommand.d.ts +13 -0
  97. package/dist-types/commands/ListPolicyVersionsCommand.d.ts +13 -0
  98. package/dist-types/commands/ListRolePoliciesCommand.d.ts +9 -0
  99. package/dist-types/commands/ListRoleTagsCommand.d.ts +9 -0
  100. package/dist-types/commands/ListRolesCommand.d.ts +5 -0
  101. package/dist-types/commands/ListSAMLProviderTagsCommand.d.ts +13 -0
  102. package/dist-types/commands/ListSAMLProvidersCommand.d.ts +5 -0
  103. package/dist-types/commands/ListSSHPublicKeysCommand.d.ts +5 -0
  104. package/dist-types/commands/ListServerCertificateTagsCommand.d.ts +9 -0
  105. package/dist-types/commands/ListServerCertificatesCommand.d.ts +5 -0
  106. package/dist-types/commands/ListServiceSpecificCredentialsCommand.d.ts +8 -0
  107. package/dist-types/commands/ListSigningCertificatesCommand.d.ts +9 -0
  108. package/dist-types/commands/ListUserPoliciesCommand.d.ts +9 -0
  109. package/dist-types/commands/ListUserTagsCommand.d.ts +9 -0
  110. package/dist-types/commands/ListUsersCommand.d.ts +5 -0
  111. package/dist-types/commands/ListVirtualMFADevicesCommand.d.ts +1 -0
  112. package/dist-types/commands/PutGroupPolicyCommand.d.ts +17 -0
  113. package/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts +23 -0
  114. package/dist-types/commands/PutRolePolicyCommand.d.ts +23 -0
  115. package/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts +17 -0
  116. package/dist-types/commands/PutUserPolicyCommand.d.ts +17 -0
  117. package/dist-types/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +13 -0
  118. package/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +19 -0
  119. package/dist-types/commands/RemoveUserFromGroupCommand.d.ts +13 -0
  120. package/dist-types/commands/ResetServiceSpecificCredentialCommand.d.ts +5 -0
  121. package/dist-types/commands/ResyncMFADeviceCommand.d.ts +17 -0
  122. package/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +17 -0
  123. package/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +5 -0
  124. package/dist-types/commands/SimulateCustomPolicyCommand.d.ts +9 -0
  125. package/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +13 -0
  126. package/dist-types/commands/TagInstanceProfileCommand.d.ts +21 -0
  127. package/dist-types/commands/TagMFADeviceCommand.d.ts +21 -0
  128. package/dist-types/commands/TagOpenIDConnectProviderCommand.d.ts +21 -0
  129. package/dist-types/commands/TagPolicyCommand.d.ts +21 -0
  130. package/dist-types/commands/TagRoleCommand.d.ts +21 -0
  131. package/dist-types/commands/TagSAMLProviderCommand.d.ts +21 -0
  132. package/dist-types/commands/TagServerCertificateCommand.d.ts +21 -0
  133. package/dist-types/commands/TagUserCommand.d.ts +21 -0
  134. package/dist-types/commands/UntagInstanceProfileCommand.d.ts +17 -0
  135. package/dist-types/commands/UntagMFADeviceCommand.d.ts +17 -0
  136. package/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +17 -0
  137. package/dist-types/commands/UntagPolicyCommand.d.ts +17 -0
  138. package/dist-types/commands/UntagRoleCommand.d.ts +13 -0
  139. package/dist-types/commands/UntagSAMLProviderCommand.d.ts +17 -0
  140. package/dist-types/commands/UntagServerCertificateCommand.d.ts +17 -0
  141. package/dist-types/commands/UntagUserCommand.d.ts +13 -0
  142. package/dist-types/commands/UpdateAccessKeyCommand.d.ts +13 -0
  143. package/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +17 -0
  144. package/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +23 -0
  145. package/dist-types/commands/UpdateGroupCommand.d.ts +17 -0
  146. package/dist-types/commands/UpdateLoginProfileCommand.d.ts +23 -0
  147. package/dist-types/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +13 -0
  148. package/dist-types/commands/UpdateRoleCommand.d.ts +15 -0
  149. package/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +15 -0
  150. package/dist-types/commands/UpdateSAMLProviderCommand.d.ts +17 -0
  151. package/dist-types/commands/UpdateSSHPublicKeyCommand.d.ts +5 -0
  152. package/dist-types/commands/UpdateServerCertificateCommand.d.ts +17 -0
  153. package/dist-types/commands/UpdateServiceSpecificCredentialCommand.d.ts +5 -0
  154. package/dist-types/commands/UpdateSigningCertificateCommand.d.ts +13 -0
  155. package/dist-types/commands/UpdateUserCommand.d.ts +27 -0
  156. package/dist-types/commands/UploadSSHPublicKeyCommand.d.ts +20 -0
  157. package/dist-types/commands/UploadServerCertificateCommand.d.ts +29 -0
  158. package/dist-types/commands/UploadSigningCertificateCommand.d.ts +28 -0
  159. package/package.json +30 -30
@@ -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;
@@ -33,6 +33,19 @@ export interface ListSAMLProviderTagsCommandOutput extends ListSAMLProviderTagsR
33
33
  * @see {@link ListSAMLProviderTagsCommandOutput} 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 ListSAMLProviderTagsCommand extends $Command<ListSAMLProviderTagsCommandInput, ListSAMLProviderTagsCommandOutput, IAMClientResolvedConfig> {
38
51
  readonly input: ListSAMLProviderTagsCommandInput;
@@ -34,6 +34,11 @@ export interface ListSAMLProvidersCommandOutput extends ListSAMLProvidersRespons
34
34
  * @see {@link ListSAMLProvidersCommandOutput} 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 ListSAMLProvidersCommand extends $Command<ListSAMLProvidersCommandInput, ListSAMLProvidersCommandOutput, IAMClientResolvedConfig> {
39
44
  readonly input: ListSAMLProvidersCommandInput;
@@ -36,6 +36,11 @@ export interface ListSSHPublicKeysCommandOutput extends ListSSHPublicKeysRespons
36
36
  * @see {@link ListSSHPublicKeysCommandOutput} for command's `response` shape.
37
37
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
38
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
+ *
39
44
  */
40
45
  export declare class ListSSHPublicKeysCommand extends $Command<ListSSHPublicKeysCommandInput, ListSSHPublicKeysCommandOutput, IAMClientResolvedConfig> {
41
46
  readonly input: ListSSHPublicKeysCommandInput;
@@ -38,6 +38,15 @@ export interface ListServerCertificateTagsCommandOutput extends ListServerCertif
38
38
  * @see {@link ListServerCertificateTagsCommandOutput} 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
  */
42
51
  export declare class ListServerCertificateTagsCommand extends $Command<ListServerCertificateTagsCommandInput, ListServerCertificateTagsCommandOutput, IAMClientResolvedConfig> {
43
52
  readonly input: ListServerCertificateTagsCommandInput;
@@ -40,6 +40,11 @@ export interface ListServerCertificatesCommandOutput extends ListServerCertifica
40
40
  * @see {@link ListServerCertificatesCommandOutput} for command's `response` shape.
41
41
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
42
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
+ *
43
48
  */
44
49
  export declare class ListServerCertificatesCommand extends $Command<ListServerCertificatesCommandInput, ListServerCertificatesCommandOutput, IAMClientResolvedConfig> {
45
50
  readonly input: ListServerCertificatesCommandInput;
@@ -34,6 +34,14 @@ export interface ListServiceSpecificCredentialsCommandOutput extends ListService
34
34
  * @see {@link ListServiceSpecificCredentialsCommandOutput} 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 ServiceNotSupportedException} (client fault)
42
+ * <p>The specified service does not support service-specific credentials.</p>
43
+ *
44
+ *
37
45
  */
38
46
  export declare class ListServiceSpecificCredentialsCommand extends $Command<ListServiceSpecificCredentialsCommandInput, ListServiceSpecificCredentialsCommandOutput, IAMClientResolvedConfig> {
39
47
  readonly input: ListServiceSpecificCredentialsCommandInput;
@@ -38,6 +38,15 @@ export interface ListSigningCertificatesCommandOutput extends ListSigningCertifi
38
38
  * @see {@link ListSigningCertificatesCommandOutput} 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 list the signing certificates for an IAM user
42
51
  * ```javascript
43
52
  * // The following command lists the signing certificates for the IAM user named Bob.
@@ -36,6 +36,15 @@ export interface ListUserPoliciesCommandOutput extends ListUserPoliciesResponse,
36
36
  * @see {@link ListUserPoliciesCommandOutput} for command's `response` shape.
37
37
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
38
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
+ *
39
48
  */
40
49
  export declare class ListUserPoliciesCommand extends $Command<ListUserPoliciesCommandInput, ListUserPoliciesCommandOutput, IAMClientResolvedConfig> {
41
50
  readonly input: ListUserPoliciesCommandInput;
@@ -30,6 +30,15 @@ export interface ListUserTagsCommandOutput extends ListUserTagsResponse, __Metad
30
30
  * @see {@link ListUserTagsCommandOutput} for command's `response` shape.
31
31
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
32
32
  *
33
+ * @throws {@link NoSuchEntityException} (client fault)
34
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
35
+ * error message describes the resource.</p>
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
+ *
33
42
  * @example To list the tags attached to an IAM user
34
43
  * ```javascript
35
44
  * // The following example shows how to list the tags attached to a user.
@@ -37,6 +37,11 @@ export interface ListUsersCommandOutput extends ListUsersResponse, __MetadataBea
37
37
  * @see {@link ListUsersCommandOutput} 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
  * @example To list IAM users
41
46
  * ```javascript
42
47
  * // The following command lists the IAM users in the current account.
@@ -38,6 +38,7 @@ export interface ListVirtualMFADevicesCommandOutput extends ListVirtualMFADevice
38
38
  * @see {@link ListVirtualMFADevicesCommandOutput} for command's `response` shape.
39
39
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
40
40
  *
41
+ *
41
42
  * @example To list virtual MFA devices
42
43
  * ```javascript
43
44
  * // The following command lists the virtual MFA devices that have been configured for the current account.
@@ -43,6 +43,23 @@ export interface PutGroupPolicyCommandOutput extends __MetadataBearer {
43
43
  * @see {@link PutGroupPolicyCommandOutput} for command's `response` shape.
44
44
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
45
45
  *
46
+ * @throws {@link LimitExceededException} (client fault)
47
+ * <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
48
+ * account limits. The error message describes the limit exceeded.</p>
49
+ *
50
+ * @throws {@link MalformedPolicyDocumentException} (client fault)
51
+ * <p>The request was rejected because the policy document was malformed. The error message
52
+ * describes the specific error.</p>
53
+ *
54
+ * @throws {@link NoSuchEntityException} (client fault)
55
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
56
+ * error message describes the resource.</p>
57
+ *
58
+ * @throws {@link ServiceFailureException} (server fault)
59
+ * <p>The request processing has failed because of an unknown error, exception or
60
+ * failure.</p>
61
+ *
62
+ *
46
63
  * @example To add a policy to a group
47
64
  * ```javascript
48
65
  * // The following command adds a policy named AllPerms to the IAM group named Admins.
@@ -40,6 +40,29 @@ export interface PutRolePermissionsBoundaryCommandOutput extends __MetadataBeare
40
40
  * @see {@link PutRolePermissionsBoundaryCommandOutput} for command's `response` shape.
41
41
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
42
42
  *
43
+ * @throws {@link InvalidInputException} (client fault)
44
+ * <p>The request was rejected because an invalid or out-of-range value was supplied for an
45
+ * input parameter.</p>
46
+ *
47
+ * @throws {@link NoSuchEntityException} (client fault)
48
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
49
+ * error message describes the resource.</p>
50
+ *
51
+ * @throws {@link PolicyNotAttachableException} (client fault)
52
+ * <p>The request failed because Amazon Web Services service role policies can only be attached to the
53
+ * service-linked role for that service.</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
+ * @throws {@link UnmodifiableEntityException} (client fault)
60
+ * <p>The request was rejected because only the service that depends on the service-linked role
61
+ * can modify or delete the role on your behalf. The error message includes the name of the
62
+ * service that depends on this service-linked role. You must request the change through that
63
+ * service.</p>
64
+ *
65
+ *
43
66
  */
44
67
  export declare class PutRolePermissionsBoundaryCommand extends $Command<PutRolePermissionsBoundaryCommandInput, PutRolePermissionsBoundaryCommandOutput, IAMClientResolvedConfig> {
45
68
  readonly input: PutRolePermissionsBoundaryCommandInput;
@@ -48,6 +48,29 @@ export interface PutRolePolicyCommandOutput extends __MetadataBearer {
48
48
  * @see {@link PutRolePolicyCommandOutput} for command's `response` shape.
49
49
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
50
50
  *
51
+ * @throws {@link LimitExceededException} (client fault)
52
+ * <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
53
+ * account limits. The error message describes the limit exceeded.</p>
54
+ *
55
+ * @throws {@link MalformedPolicyDocumentException} (client fault)
56
+ * <p>The request was rejected because the policy document was malformed. The error message
57
+ * describes the specific error.</p>
58
+ *
59
+ * @throws {@link NoSuchEntityException} (client fault)
60
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
61
+ * error message describes the resource.</p>
62
+ *
63
+ * @throws {@link ServiceFailureException} (server fault)
64
+ * <p>The request processing has failed because of an unknown error, exception or
65
+ * failure.</p>
66
+ *
67
+ * @throws {@link UnmodifiableEntityException} (client fault)
68
+ * <p>The request was rejected because only the service that depends on the service-linked role
69
+ * can modify or delete the role on your behalf. The error message includes the name of the
70
+ * service that depends on this service-linked role. You must request the change through that
71
+ * service.</p>
72
+ *
73
+ *
51
74
  * @example To attach a permissions policy to an IAM role
52
75
  * ```javascript
53
76
  * // The following command adds a permissions policy to the role named Test-Role.
@@ -39,6 +39,23 @@ export interface PutUserPermissionsBoundaryCommandOutput extends __MetadataBeare
39
39
  * @see {@link PutUserPermissionsBoundaryCommandOutput} for command's `response` shape.
40
40
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
41
41
  *
42
+ * @throws {@link InvalidInputException} (client fault)
43
+ * <p>The request was rejected because an invalid or out-of-range value was supplied for an
44
+ * input parameter.</p>
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 PolicyNotAttachableException} (client fault)
51
+ * <p>The request failed because Amazon Web Services service role policies can only be attached to the
52
+ * service-linked role for that service.</p>
53
+ *
54
+ * @throws {@link ServiceFailureException} (server fault)
55
+ * <p>The request processing has failed because of an unknown error, exception or
56
+ * failure.</p>
57
+ *
58
+ *
42
59
  */
43
60
  export declare class PutUserPermissionsBoundaryCommand extends $Command<PutUserPermissionsBoundaryCommandInput, PutUserPermissionsBoundaryCommandOutput, IAMClientResolvedConfig> {
44
61
  readonly input: PutUserPermissionsBoundaryCommandInput;
@@ -43,6 +43,23 @@ export interface PutUserPolicyCommandOutput extends __MetadataBearer {
43
43
  * @see {@link PutUserPolicyCommandOutput} for command's `response` shape.
44
44
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
45
45
  *
46
+ * @throws {@link LimitExceededException} (client fault)
47
+ * <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
48
+ * account limits. The error message describes the limit exceeded.</p>
49
+ *
50
+ * @throws {@link MalformedPolicyDocumentException} (client fault)
51
+ * <p>The request was rejected because the policy document was malformed. The error message
52
+ * describes the specific error.</p>
53
+ *
54
+ * @throws {@link NoSuchEntityException} (client fault)
55
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
56
+ * error message describes the resource.</p>
57
+ *
58
+ * @throws {@link ServiceFailureException} (server fault)
59
+ * <p>The request processing has failed because of an unknown error, exception or
60
+ * failure.</p>
61
+ *
62
+ *
46
63
  * @example To attach a policy to an IAM user
47
64
  * ```javascript
48
65
  * // The following command attaches a policy to the IAM user named Bob.
@@ -33,6 +33,19 @@ export interface RemoveClientIDFromOpenIDConnectProviderCommandOutput extends __
33
33
  * @see {@link RemoveClientIDFromOpenIDConnectProviderCommandOutput} 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 RemoveClientIDFromOpenIDConnectProviderCommand extends $Command<RemoveClientIDFromOpenIDConnectProviderCommandInput, RemoveClientIDFromOpenIDConnectProviderCommandOutput, IAMClientResolvedConfig> {
38
51
  readonly input: RemoveClientIDFromOpenIDConnectProviderCommandInput;
@@ -38,6 +38,25 @@ export interface RemoveRoleFromInstanceProfileCommandOutput extends __MetadataBe
38
38
  * @see {@link RemoveRoleFromInstanceProfileCommandOutput} for command's `response` shape.
39
39
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
40
40
  *
41
+ * @throws {@link LimitExceededException} (client fault)
42
+ * <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
43
+ * account limits. The error message describes the limit exceeded.</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
+ * @throws {@link UnmodifiableEntityException} (client fault)
54
+ * <p>The request was rejected because only the service that depends on the service-linked role
55
+ * can modify or delete the role on your behalf. The error message includes the name of the
56
+ * service that depends on this service-linked role. You must request the change through that
57
+ * service.</p>
58
+ *
59
+ *
41
60
  * @example To remove a role from an instance profile
42
61
  * ```javascript
43
62
  * // The following command removes the role named Test-Role from the instance profile named ExampleInstanceProfile.
@@ -29,6 +29,19 @@ export interface RemoveUserFromGroupCommandOutput extends __MetadataBearer {
29
29
  * @see {@link RemoveUserFromGroupCommandOutput} for command's `response` shape.
30
30
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
31
31
  *
32
+ * @throws {@link LimitExceededException} (client fault)
33
+ * <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
34
+ * account limits. The error message describes the limit exceeded.</p>
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
+ *
32
45
  * @example To remove a user from an IAM group
33
46
  * ```javascript
34
47
  * // The following command removes the user named Bob from the IAM group named Admins.