@aws-sdk/client-iam 3.288.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 +29 -0
  2. package/dist-types/commands/AddRoleToInstanceProfileCommand.d.ts +35 -0
  3. package/dist-types/commands/AddUserToGroupCommand.d.ts +25 -0
  4. package/dist-types/commands/AttachGroupPolicyCommand.d.ts +33 -0
  5. package/dist-types/commands/AttachRolePolicyCommand.d.ts +39 -0
  6. package/dist-types/commands/AttachUserPolicyCommand.d.ts +33 -0
  7. package/dist-types/commands/ChangePasswordCommand.d.ts +39 -0
  8. package/dist-types/commands/CreateAccessKeyCommand.d.ts +35 -0
  9. package/dist-types/commands/CreateAccountAliasCommand.d.ts +24 -0
  10. package/dist-types/commands/CreateGroupCommand.d.ts +39 -0
  11. package/dist-types/commands/CreateInstanceProfileCommand.d.ts +44 -0
  12. package/dist-types/commands/CreateLoginProfileCommand.d.ts +43 -0
  13. package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +43 -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 +50 -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 +47 -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 +25 -0
  24. package/dist-types/commands/DeleteAccountAliasCommand.d.ts +24 -0
  25. package/dist-types/commands/DeleteAccountPasswordPolicyCommand.d.ts +22 -0
  26. package/dist-types/commands/DeleteGroupCommand.d.ts +17 -0
  27. package/dist-types/commands/DeleteGroupPolicyCommand.d.ts +25 -0
  28. package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +28 -0
  29. package/dist-types/commands/DeleteLoginProfileCommand.d.ts +30 -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 +38 -0
  34. package/dist-types/commands/DeleteRolePermissionsBoundaryCommand.d.ts +15 -0
  35. package/dist-types/commands/DeleteRolePolicyCommand.d.ts +31 -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 +25 -0
  42. package/dist-types/commands/DeleteUserCommand.d.ts +32 -0
  43. package/dist-types/commands/DeleteUserPermissionsBoundaryCommand.d.ts +9 -0
  44. package/dist-types/commands/DeleteUserPolicyCommand.d.ts +25 -0
  45. package/dist-types/commands/DeleteVirtualMFADeviceCommand.d.ts +28 -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 +21 -0
  52. package/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +25 -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 +34 -0
  56. package/dist-types/commands/GetAccountSummaryCommand.d.ts +46 -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 +41 -0
  63. package/dist-types/commands/GetLoginProfileCommand.d.ts +28 -0
  64. package/dist-types/commands/GetOpenIDConnectProviderCommand.d.ts +13 -0
  65. package/dist-types/commands/GetOrganizationsAccessReportCommand.d.ts +49 -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 +37 -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 +42 -0
  74. package/dist-types/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +50 -0
  75. package/dist-types/commands/GetServiceLinkedRoleDeletionStatusCommand.d.ts +13 -0
  76. package/dist-types/commands/GetUserCommand.d.ts +31 -0
  77. package/dist-types/commands/GetUserPolicyCommand.d.ts +9 -0
  78. package/dist-types/commands/ListAccessKeysCommand.d.ts +38 -0
  79. package/dist-types/commands/ListAccountAliasesCommand.d.ts +21 -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 +28 -0
  85. package/dist-types/commands/ListGroupsCommand.d.ts +41 -0
  86. package/dist-types/commands/ListGroupsForUserCommand.d.ts +40 -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 +57 -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 +35 -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 +33 -0
  108. package/dist-types/commands/ListUserPoliciesCommand.d.ts +9 -0
  109. package/dist-types/commands/ListUserTagsCommand.d.ts +35 -0
  110. package/dist-types/commands/ListUsersCommand.d.ts +36 -0
  111. package/dist-types/commands/ListVirtualMFADevicesCommand.d.ts +22 -0
  112. package/dist-types/commands/PutGroupPolicyCommand.d.ts +30 -0
  113. package/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts +23 -0
  114. package/dist-types/commands/PutRolePolicyCommand.d.ts +36 -0
  115. package/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts +17 -0
  116. package/dist-types/commands/PutUserPolicyCommand.d.ts +30 -0
  117. package/dist-types/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +13 -0
  118. package/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +31 -0
  119. package/dist-types/commands/RemoveUserFromGroupCommand.d.ts +25 -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 +16 -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 +42 -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 +42 -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 +27 -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 +27 -0
  142. package/dist-types/commands/UpdateAccessKeyCommand.d.ts +26 -0
  143. package/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +29 -0
  144. package/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +35 -0
  145. package/dist-types/commands/UpdateGroupCommand.d.ts +29 -0
  146. package/dist-types/commands/UpdateLoginProfileCommand.d.ts +35 -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 +26 -0
  155. package/dist-types/commands/UpdateUserCommand.d.ts +39 -0
  156. package/dist-types/commands/UploadSSHPublicKeyCommand.d.ts +20 -0
  157. package/dist-types/commands/UploadServerCertificateCommand.d.ts +55 -0
  158. package/dist-types/commands/UploadSigningCertificateCommand.d.ts +51 -0
  159. package/package.json +30 -30
@@ -73,6 +73,48 @@ export interface TagRoleCommandOutput extends __MetadataBearer {
73
73
  * @see {@link TagRoleCommandOutput} for command's `response` shape.
74
74
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
75
75
  *
76
+ * @throws {@link ConcurrentModificationException} (client fault)
77
+ * <p>The request was rejected because multiple requests to change this object were submitted
78
+ * simultaneously. Wait a few minutes and submit your request again.</p>
79
+ *
80
+ * @throws {@link InvalidInputException} (client fault)
81
+ * <p>The request was rejected because an invalid or out-of-range value was supplied for an
82
+ * input parameter.</p>
83
+ *
84
+ * @throws {@link LimitExceededException} (client fault)
85
+ * <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
86
+ * account limits. The error message describes the limit exceeded.</p>
87
+ *
88
+ * @throws {@link NoSuchEntityException} (client fault)
89
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
90
+ * error message describes the resource.</p>
91
+ *
92
+ * @throws {@link ServiceFailureException} (server fault)
93
+ * <p>The request processing has failed because of an unknown error, exception or
94
+ * failure.</p>
95
+ *
96
+ *
97
+ * @example To add a tag key and value to an IAM role
98
+ * ```javascript
99
+ * // The following example shows how to add tags to an existing role.
100
+ * const input = {
101
+ * "RoleName": "taggedrole",
102
+ * "Tags": [
103
+ * {
104
+ * "Key": "Dept",
105
+ * "Value": "Accounting"
106
+ * },
107
+ * {
108
+ * "Key": "CostCenter",
109
+ * "Value": "12345"
110
+ * }
111
+ * ]
112
+ * };
113
+ * const command = new TagRoleCommand(input);
114
+ * await client.send(command);
115
+ * // example id: to-add-a-tag-key-and-value-to-an-iam-role-1506718791513
116
+ * ```
117
+ *
76
118
  */
77
119
  export declare class TagRoleCommand extends $Command<TagRoleCommandInput, TagRoleCommandOutput, IAMClientResolvedConfig> {
78
120
  readonly input: TagRoleCommandInput;
@@ -66,6 +66,27 @@ export interface TagSAMLProviderCommandOutput extends __MetadataBearer {
66
66
  * @see {@link TagSAMLProviderCommandOutput} for command's `response` shape.
67
67
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
68
68
  *
69
+ * @throws {@link ConcurrentModificationException} (client fault)
70
+ * <p>The request was rejected because multiple requests to change this object were submitted
71
+ * simultaneously. Wait a few minutes and submit your request again.</p>
72
+ *
73
+ * @throws {@link InvalidInputException} (client fault)
74
+ * <p>The request was rejected because an invalid or out-of-range value was supplied for an
75
+ * input parameter.</p>
76
+ *
77
+ * @throws {@link LimitExceededException} (client fault)
78
+ * <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
79
+ * account limits. The error message describes the limit exceeded.</p>
80
+ *
81
+ * @throws {@link NoSuchEntityException} (client fault)
82
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
83
+ * error message describes the resource.</p>
84
+ *
85
+ * @throws {@link ServiceFailureException} (server fault)
86
+ * <p>The request processing has failed because of an unknown error, exception or
87
+ * failure.</p>
88
+ *
89
+ *
69
90
  */
70
91
  export declare class TagSAMLProviderCommand extends $Command<TagSAMLProviderCommandInput, TagSAMLProviderCommandOutput, IAMClientResolvedConfig> {
71
92
  readonly input: TagSAMLProviderCommandInput;
@@ -76,6 +76,27 @@ export interface TagServerCertificateCommandOutput extends __MetadataBearer {
76
76
  * @see {@link TagServerCertificateCommandOutput} for command's `response` shape.
77
77
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
78
78
  *
79
+ * @throws {@link ConcurrentModificationException} (client fault)
80
+ * <p>The request was rejected because multiple requests to change this object were submitted
81
+ * simultaneously. Wait a few minutes and submit your request again.</p>
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 LimitExceededException} (client fault)
88
+ * <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
89
+ * account limits. The error message describes the limit exceeded.</p>
90
+ *
91
+ * @throws {@link NoSuchEntityException} (client fault)
92
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
93
+ * error message describes the resource.</p>
94
+ *
95
+ * @throws {@link ServiceFailureException} (server fault)
96
+ * <p>The request processing has failed because of an unknown error, exception or
97
+ * failure.</p>
98
+ *
99
+ *
79
100
  */
80
101
  export declare class TagServerCertificateCommand extends $Command<TagServerCertificateCommandInput, TagServerCertificateCommandOutput, IAMClientResolvedConfig> {
81
102
  readonly input: TagServerCertificateCommandInput;
@@ -72,6 +72,48 @@ export interface TagUserCommandOutput extends __MetadataBearer {
72
72
  * @see {@link TagUserCommandOutput} for command's `response` shape.
73
73
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
74
74
  *
75
+ * @throws {@link ConcurrentModificationException} (client fault)
76
+ * <p>The request was rejected because multiple requests to change this object were submitted
77
+ * simultaneously. Wait a few minutes and submit your request again.</p>
78
+ *
79
+ * @throws {@link InvalidInputException} (client fault)
80
+ * <p>The request was rejected because an invalid or out-of-range value was supplied for an
81
+ * input parameter.</p>
82
+ *
83
+ * @throws {@link LimitExceededException} (client fault)
84
+ * <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
85
+ * account limits. The error message describes the limit exceeded.</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
+ * @throws {@link ServiceFailureException} (server fault)
92
+ * <p>The request processing has failed because of an unknown error, exception or
93
+ * failure.</p>
94
+ *
95
+ *
96
+ * @example To add a tag key and value to an IAM user
97
+ * ```javascript
98
+ * // The following example shows how to add tags to an existing user.
99
+ * const input = {
100
+ * "Tags": [
101
+ * {
102
+ * "Key": "Dept",
103
+ * "Value": "Accounting"
104
+ * },
105
+ * {
106
+ * "Key": "CostCenter",
107
+ * "Value": "12345"
108
+ * }
109
+ * ],
110
+ * "UserName": "anika"
111
+ * };
112
+ * const command = new TagUserCommand(input);
113
+ * await client.send(command);
114
+ * // example id: to-add-a-tag-key-and-value-to-an-iam-user-1506719044227
115
+ * ```
116
+ *
75
117
  */
76
118
  export declare class TagUserCommand extends $Command<TagUserCommandInput, TagUserCommandOutput, IAMClientResolvedConfig> {
77
119
  readonly input: TagUserCommandInput;
@@ -30,6 +30,23 @@ export interface UntagInstanceProfileCommandOutput extends __MetadataBearer {
30
30
  * @see {@link UntagInstanceProfileCommandOutput} for command's `response` shape.
31
31
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
32
32
  *
33
+ * @throws {@link ConcurrentModificationException} (client fault)
34
+ * <p>The request was rejected because multiple requests to change this object were submitted
35
+ * simultaneously. Wait a few minutes and submit your request again.</p>
36
+ *
37
+ * @throws {@link InvalidInputException} (client fault)
38
+ * <p>The request was rejected because an invalid or out-of-range value was supplied for an
39
+ * input parameter.</p>
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
+ *
33
50
  */
34
51
  export declare class UntagInstanceProfileCommand extends $Command<UntagInstanceProfileCommandInput, UntagInstanceProfileCommandOutput, IAMClientResolvedConfig> {
35
52
  readonly input: UntagInstanceProfileCommandInput;
@@ -31,6 +31,23 @@ export interface UntagMFADeviceCommandOutput extends __MetadataBearer {
31
31
  * @see {@link UntagMFADeviceCommandOutput} for command's `response` shape.
32
32
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
33
33
  *
34
+ * @throws {@link ConcurrentModificationException} (client fault)
35
+ * <p>The request was rejected because multiple requests to change this object were submitted
36
+ * simultaneously. Wait a few minutes and submit your request again.</p>
37
+ *
38
+ * @throws {@link InvalidInputException} (client fault)
39
+ * <p>The request was rejected because an invalid or out-of-range value was supplied for an
40
+ * input parameter.</p>
41
+ *
42
+ * @throws {@link NoSuchEntityException} (client fault)
43
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
44
+ * error message describes the resource.</p>
45
+ *
46
+ * @throws {@link ServiceFailureException} (server fault)
47
+ * <p>The request processing has failed because of an unknown error, exception or
48
+ * failure.</p>
49
+ *
50
+ *
34
51
  */
35
52
  export declare class UntagMFADeviceCommand extends $Command<UntagMFADeviceCommandInput, UntagMFADeviceCommandOutput, IAMClientResolvedConfig> {
36
53
  readonly input: UntagMFADeviceCommandInput;
@@ -32,6 +32,23 @@ export interface UntagOpenIDConnectProviderCommandOutput extends __MetadataBeare
32
32
  * @see {@link UntagOpenIDConnectProviderCommandOutput} for command's `response` shape.
33
33
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
34
34
  *
35
+ * @throws {@link ConcurrentModificationException} (client fault)
36
+ * <p>The request was rejected because multiple requests to change this object were submitted
37
+ * simultaneously. Wait a few minutes and submit your request again.</p>
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
+ *
35
52
  */
36
53
  export declare class UntagOpenIDConnectProviderCommand extends $Command<UntagOpenIDConnectProviderCommandInput, UntagOpenIDConnectProviderCommandOutput, IAMClientResolvedConfig> {
37
54
  readonly input: UntagOpenIDConnectProviderCommandInput;
@@ -30,6 +30,23 @@ export interface UntagPolicyCommandOutput extends __MetadataBearer {
30
30
  * @see {@link UntagPolicyCommandOutput} for command's `response` shape.
31
31
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
32
32
  *
33
+ * @throws {@link ConcurrentModificationException} (client fault)
34
+ * <p>The request was rejected because multiple requests to change this object were submitted
35
+ * simultaneously. Wait a few minutes and submit your request again.</p>
36
+ *
37
+ * @throws {@link InvalidInputException} (client fault)
38
+ * <p>The request was rejected because an invalid or out-of-range value was supplied for an
39
+ * input parameter.</p>
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
+ *
33
50
  */
34
51
  export declare class UntagPolicyCommand extends $Command<UntagPolicyCommandInput, UntagPolicyCommandOutput, IAMClientResolvedConfig> {
35
52
  readonly input: UntagPolicyCommandInput;
@@ -30,6 +30,33 @@ export interface UntagRoleCommandOutput extends __MetadataBearer {
30
30
  * @see {@link UntagRoleCommandOutput} for command's `response` shape.
31
31
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
32
32
  *
33
+ * @throws {@link ConcurrentModificationException} (client fault)
34
+ * <p>The request was rejected because multiple requests to change this object were submitted
35
+ * simultaneously. Wait a few minutes and submit your request again.</p>
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
+ *
46
+ * @example To remove a tag from an IAM role
47
+ * ```javascript
48
+ * // The following example shows how to remove a tag with the key 'Dept' from a role named 'taggedrole'.
49
+ * const input = {
50
+ * "RoleName": "taggedrole",
51
+ * "TagKeys": [
52
+ * "Dept"
53
+ * ]
54
+ * };
55
+ * const command = new UntagRoleCommand(input);
56
+ * await client.send(command);
57
+ * // example id: to-remove-a-tag-from-an-iam-role-1506719589943
58
+ * ```
59
+ *
33
60
  */
34
61
  export declare class UntagRoleCommand extends $Command<UntagRoleCommandInput, UntagRoleCommandOutput, IAMClientResolvedConfig> {
35
62
  readonly input: UntagRoleCommandInput;
@@ -32,6 +32,23 @@ export interface UntagSAMLProviderCommandOutput extends __MetadataBearer {
32
32
  * @see {@link UntagSAMLProviderCommandOutput} for command's `response` shape.
33
33
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
34
34
  *
35
+ * @throws {@link ConcurrentModificationException} (client fault)
36
+ * <p>The request was rejected because multiple requests to change this object were submitted
37
+ * simultaneously. Wait a few minutes and submit your request again.</p>
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
+ *
35
52
  */
36
53
  export declare class UntagSAMLProviderCommand extends $Command<UntagSAMLProviderCommandInput, UntagSAMLProviderCommandOutput, IAMClientResolvedConfig> {
37
54
  readonly input: UntagSAMLProviderCommandInput;
@@ -38,6 +38,23 @@ export interface UntagServerCertificateCommandOutput extends __MetadataBearer {
38
38
  * @see {@link UntagServerCertificateCommandOutput} for command's `response` shape.
39
39
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
40
40
  *
41
+ * @throws {@link ConcurrentModificationException} (client fault)
42
+ * <p>The request was rejected because multiple requests to change this object were submitted
43
+ * simultaneously. Wait a few minutes and submit your request again.</p>
44
+ *
45
+ * @throws {@link InvalidInputException} (client fault)
46
+ * <p>The request was rejected because an invalid or out-of-range value was supplied for an
47
+ * input parameter.</p>
48
+ *
49
+ * @throws {@link NoSuchEntityException} (client fault)
50
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
51
+ * error message describes the resource.</p>
52
+ *
53
+ * @throws {@link ServiceFailureException} (server fault)
54
+ * <p>The request processing has failed because of an unknown error, exception or
55
+ * failure.</p>
56
+ *
57
+ *
41
58
  */
42
59
  export declare class UntagServerCertificateCommand extends $Command<UntagServerCertificateCommandInput, UntagServerCertificateCommandOutput, IAMClientResolvedConfig> {
43
60
  readonly input: UntagServerCertificateCommandInput;
@@ -30,6 +30,33 @@ export interface UntagUserCommandOutput extends __MetadataBearer {
30
30
  * @see {@link UntagUserCommandOutput} for command's `response` shape.
31
31
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
32
32
  *
33
+ * @throws {@link ConcurrentModificationException} (client fault)
34
+ * <p>The request was rejected because multiple requests to change this object were submitted
35
+ * simultaneously. Wait a few minutes and submit your request again.</p>
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
+ *
46
+ * @example To remove a tag from an IAM user
47
+ * ```javascript
48
+ * // The following example shows how to remove tags that are attached to a user named 'anika'.
49
+ * const input = {
50
+ * "TagKeys": [
51
+ * "Dept"
52
+ * ],
53
+ * "UserName": "anika"
54
+ * };
55
+ * const command = new UntagUserCommand(input);
56
+ * await client.send(command);
57
+ * // example id: to-remove-a-tag-from-an-iam-user-1506719725554
58
+ * ```
59
+ *
33
60
  */
34
61
  export declare class UntagUserCommand extends $Command<UntagUserCommandInput, UntagUserCommandOutput, IAMClientResolvedConfig> {
35
62
  readonly input: UntagUserCommandInput;
@@ -40,6 +40,32 @@ export interface UpdateAccessKeyCommandOutput extends __MetadataBearer {
40
40
  * @see {@link UpdateAccessKeyCommandOutput} for command's `response` shape.
41
41
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
42
42
  *
43
+ * @throws {@link LimitExceededException} (client fault)
44
+ * <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
45
+ * account limits. The error message describes the limit exceeded.</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 ServiceFailureException} (server fault)
52
+ * <p>The request processing has failed because of an unknown error, exception or
53
+ * failure.</p>
54
+ *
55
+ *
56
+ * @example To activate or deactivate an access key for an IAM user
57
+ * ```javascript
58
+ * // The following command deactivates the specified access key (access key ID and secret access key) for the IAM user named Bob.
59
+ * const input = {
60
+ * "AccessKeyId": "AKIAIOSFODNN7EXAMPLE",
61
+ * "Status": "Inactive",
62
+ * "UserName": "Bob"
63
+ * };
64
+ * const command = new UpdateAccessKeyCommand(input);
65
+ * await client.send(command);
66
+ * // example id: 02b556fd-e673-49b7-ab6b-f2f9035967d0
67
+ * ```
68
+ *
43
69
  */
44
70
  export declare class UpdateAccessKeyCommand extends $Command<UpdateAccessKeyCommandInput, UpdateAccessKeyCommandOutput, IAMClientResolvedConfig> {
45
71
  readonly input: UpdateAccessKeyCommandInput;
@@ -39,6 +39,35 @@ export interface UpdateAccountPasswordPolicyCommandOutput extends __MetadataBear
39
39
  * @see {@link UpdateAccountPasswordPolicyCommandOutput} for command's `response` shape.
40
40
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
41
41
  *
42
+ * @throws {@link LimitExceededException} (client fault)
43
+ * <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
44
+ * account limits. The error message describes the limit exceeded.</p>
45
+ *
46
+ * @throws {@link MalformedPolicyDocumentException} (client fault)
47
+ * <p>The request was rejected because the policy document was malformed. The error message
48
+ * describes the specific error.</p>
49
+ *
50
+ * @throws {@link NoSuchEntityException} (client fault)
51
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
52
+ * error message describes the resource.</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
+ *
59
+ * @example To set or change the current account password policy
60
+ * ```javascript
61
+ * // The following command sets the password policy to require a minimum length of eight characters and to require one or more numbers in the password:
62
+ * const input = {
63
+ * "MinimumPasswordLength": 8,
64
+ * "RequireNumbers": true
65
+ * };
66
+ * const command = new UpdateAccountPasswordPolicyCommand(input);
67
+ * await client.send(command);
68
+ * // example id: c263a1af-37dc-4423-8dba-9790284ef5e0
69
+ * ```
70
+ *
42
71
  */
43
72
  export declare class UpdateAccountPasswordPolicyCommand extends $Command<UpdateAccountPasswordPolicyCommandInput, UpdateAccountPasswordPolicyCommandOutput, IAMClientResolvedConfig> {
44
73
  readonly input: UpdateAccountPasswordPolicyCommandInput;
@@ -32,6 +32,41 @@ export interface UpdateAssumeRolePolicyCommandOutput extends __MetadataBearer {
32
32
  * @see {@link UpdateAssumeRolePolicyCommandOutput} for command's `response` shape.
33
33
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
34
34
  *
35
+ * @throws {@link LimitExceededException} (client fault)
36
+ * <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
37
+ * account limits. The error message describes the limit exceeded.</p>
38
+ *
39
+ * @throws {@link MalformedPolicyDocumentException} (client fault)
40
+ * <p>The request was rejected because the policy document was malformed. The error message
41
+ * describes the specific error.</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
+ * @throws {@link UnmodifiableEntityException} (client fault)
52
+ * <p>The request was rejected because only the service that depends on the service-linked role
53
+ * can modify or delete the role on your behalf. The error message includes the name of the
54
+ * service that depends on this service-linked role. You must request the change through that
55
+ * service.</p>
56
+ *
57
+ *
58
+ * @example To update the trust policy for an IAM role
59
+ * ```javascript
60
+ * // The following command updates the role trust policy for the role named Test-Role:
61
+ * const input = {
62
+ * "PolicyDocument": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Principal\":{\"Service\":[\"ec2.amazonaws.com\"]},\"Action\":[\"sts:AssumeRole\"]}]}",
63
+ * "RoleName": "S3AccessForEC2Instances"
64
+ * };
65
+ * const command = new UpdateAssumeRolePolicyCommand(input);
66
+ * await client.send(command);
67
+ * // example id: c9150063-d953-4e99-9576-9685872006c6
68
+ * ```
69
+ *
35
70
  */
36
71
  export declare class UpdateAssumeRolePolicyCommand extends $Command<UpdateAssumeRolePolicyCommandInput, UpdateAssumeRolePolicyCommandOutput, IAMClientResolvedConfig> {
37
72
  readonly input: UpdateAssumeRolePolicyCommandInput;
@@ -43,6 +43,35 @@ export interface UpdateGroupCommandOutput extends __MetadataBearer {
43
43
  * @see {@link UpdateGroupCommandOutput} for command's `response` shape.
44
44
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
45
45
  *
46
+ * @throws {@link EntityAlreadyExistsException} (client fault)
47
+ * <p>The request was rejected because it attempted to create a resource that already
48
+ * exists.</p>
49
+ *
50
+ * @throws {@link LimitExceededException} (client fault)
51
+ * <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
52
+ * account limits. The error message describes the limit exceeded.</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
+ *
63
+ * @example To rename an IAM group
64
+ * ```javascript
65
+ * // The following command changes the name of the IAM group Test to Test-1.
66
+ * const input = {
67
+ * "GroupName": "Test",
68
+ * "NewGroupName": "Test-1"
69
+ * };
70
+ * const command = new UpdateGroupCommand(input);
71
+ * await client.send(command);
72
+ * // example id: f0cf1662-91ae-4278-a80e-7db54256ccba
73
+ * ```
74
+ *
46
75
  */
47
76
  export declare class UpdateGroupCommand extends $Command<UpdateGroupCommandInput, UpdateGroupCommandOutput, IAMClientResolvedConfig> {
48
77
  readonly input: UpdateGroupCommandInput;
@@ -35,6 +35,41 @@ export interface UpdateLoginProfileCommandOutput extends __MetadataBearer {
35
35
  * @see {@link UpdateLoginProfileCommandOutput} for command's `response` shape.
36
36
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
37
37
  *
38
+ * @throws {@link EntityTemporarilyUnmodifiableException} (client fault)
39
+ * <p>The request was rejected because it referenced an entity that is temporarily unmodifiable,
40
+ * such as a user name that was deleted and then recreated. The error indicates that the request
41
+ * is likely to succeed if you try again after waiting several minutes. The error message
42
+ * describes the entity.</p>
43
+ *
44
+ * @throws {@link LimitExceededException} (client fault)
45
+ * <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
46
+ * account limits. The error message describes the limit exceeded.</p>
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 PasswordPolicyViolationException} (client fault)
53
+ * <p>The request was rejected because the provided password did not meet the requirements
54
+ * imposed by the account password policy.</p>
55
+ *
56
+ * @throws {@link ServiceFailureException} (server fault)
57
+ * <p>The request processing has failed because of an unknown error, exception or
58
+ * failure.</p>
59
+ *
60
+ *
61
+ * @example To change the password for an IAM user
62
+ * ```javascript
63
+ * // The following command creates or changes the password for the IAM user named Bob.
64
+ * const input = {
65
+ * "Password": "SomeKindOfPassword123!@#",
66
+ * "UserName": "Bob"
67
+ * };
68
+ * const command = new UpdateLoginProfileCommand(input);
69
+ * await client.send(command);
70
+ * // example id: 036d9498-ecdb-4ed6-a8d8-366c383d1487
71
+ * ```
72
+ *
38
73
  */
39
74
  export declare class UpdateLoginProfileCommand extends $Command<UpdateLoginProfileCommandInput, UpdateLoginProfileCommandOutput, IAMClientResolvedConfig> {
40
75
  readonly input: UpdateLoginProfileCommandInput;
@@ -51,6 +51,19 @@ export interface UpdateOpenIDConnectProviderThumbprintCommandOutput extends __Me
51
51
  * @see {@link UpdateOpenIDConnectProviderThumbprintCommandOutput} for command's `response` shape.
52
52
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
53
53
  *
54
+ * @throws {@link InvalidInputException} (client fault)
55
+ * <p>The request was rejected because an invalid or out-of-range value was supplied for an
56
+ * input parameter.</p>
57
+ *
58
+ * @throws {@link NoSuchEntityException} (client fault)
59
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
60
+ * error message describes the resource.</p>
61
+ *
62
+ * @throws {@link ServiceFailureException} (server fault)
63
+ * <p>The request processing has failed because of an unknown error, exception or
64
+ * failure.</p>
65
+ *
66
+ *
54
67
  */
55
68
  export declare class UpdateOpenIDConnectProviderThumbprintCommand extends $Command<UpdateOpenIDConnectProviderThumbprintCommandInput, UpdateOpenIDConnectProviderThumbprintCommandOutput, IAMClientResolvedConfig> {
56
69
  readonly input: UpdateOpenIDConnectProviderThumbprintCommandInput;
@@ -29,6 +29,21 @@ export interface UpdateRoleCommandOutput extends UpdateRoleResponse, __MetadataB
29
29
  * @see {@link UpdateRoleCommandOutput} for command's `response` shape.
30
30
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
31
31
  *
32
+ * @throws {@link NoSuchEntityException} (client fault)
33
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
34
+ * error message describes the resource.</p>
35
+ *
36
+ * @throws {@link ServiceFailureException} (server fault)
37
+ * <p>The request processing has failed because of an unknown error, exception or
38
+ * failure.</p>
39
+ *
40
+ * @throws {@link UnmodifiableEntityException} (client fault)
41
+ * <p>The request was rejected because only the service that depends on the service-linked role
42
+ * can modify or delete the role on your behalf. The error message includes the name of the
43
+ * service that depends on this service-linked role. You must request the change through that
44
+ * service.</p>
45
+ *
46
+ *
32
47
  */
33
48
  export declare class UpdateRoleCommand extends $Command<UpdateRoleCommandInput, UpdateRoleCommandOutput, IAMClientResolvedConfig> {
34
49
  readonly input: UpdateRoleCommandInput;
@@ -31,6 +31,21 @@ export interface UpdateRoleDescriptionCommandOutput extends UpdateRoleDescriptio
31
31
  * @see {@link UpdateRoleDescriptionCommandOutput} 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
+ * @throws {@link UnmodifiableEntityException} (client fault)
43
+ * <p>The request was rejected because only the service that depends on the service-linked role
44
+ * can modify or delete the role on your behalf. The error message includes the name of the
45
+ * service that depends on this service-linked role. You must request the change through that
46
+ * service.</p>
47
+ *
48
+ *
34
49
  */
35
50
  export declare class UpdateRoleDescriptionCommand extends $Command<UpdateRoleDescriptionCommandInput, UpdateRoleDescriptionCommandOutput, IAMClientResolvedConfig> {
36
51
  readonly input: UpdateRoleDescriptionCommandInput;