@aws-sdk/client-iam 3.775.0 → 3.777.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 (169) hide show
  1. package/dist-cjs/endpoint/ruleset.js +3 -3
  2. package/dist-es/endpoint/ruleset.js +3 -3
  3. package/dist-types/commands/AddClientIDToOpenIDConnectProviderCommand.d.ts +8 -5
  4. package/dist-types/commands/AddRoleToInstanceProfileCommand.d.ts +8 -5
  5. package/dist-types/commands/AddUserToGroupCommand.d.ts +8 -5
  6. package/dist-types/commands/AttachGroupPolicyCommand.d.ts +8 -5
  7. package/dist-types/commands/AttachRolePolicyCommand.d.ts +8 -5
  8. package/dist-types/commands/AttachUserPolicyCommand.d.ts +8 -5
  9. package/dist-types/commands/ChangePasswordCommand.d.ts +8 -5
  10. package/dist-types/commands/CreateAccessKeyCommand.d.ts +10 -10
  11. package/dist-types/commands/CreateAccountAliasCommand.d.ts +7 -4
  12. package/dist-types/commands/CreateGroupCommand.d.ts +10 -10
  13. package/dist-types/commands/CreateInstanceProfileCommand.d.ts +11 -11
  14. package/dist-types/commands/CreateLoginProfileCommand.d.ts +10 -10
  15. package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +7 -7
  16. package/dist-types/commands/CreatePolicyCommand.d.ts +1 -0
  17. package/dist-types/commands/CreatePolicyVersionCommand.d.ts +1 -0
  18. package/dist-types/commands/CreateRoleCommand.d.ts +13 -13
  19. package/dist-types/commands/CreateSAMLProviderCommand.d.ts +1 -0
  20. package/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +1 -0
  21. package/dist-types/commands/CreateServiceSpecificCredentialCommand.d.ts +1 -0
  22. package/dist-types/commands/CreateUserCommand.d.ts +10 -10
  23. package/dist-types/commands/CreateVirtualMFADeviceCommand.d.ts +1 -0
  24. package/dist-types/commands/DeactivateMFADeviceCommand.d.ts +1 -0
  25. package/dist-types/commands/DeleteAccessKeyCommand.d.ts +8 -5
  26. package/dist-types/commands/DeleteAccountAliasCommand.d.ts +7 -4
  27. package/dist-types/commands/DeleteAccountPasswordPolicyCommand.d.ts +7 -4
  28. package/dist-types/commands/DeleteGroupCommand.d.ts +1 -0
  29. package/dist-types/commands/DeleteGroupPolicyCommand.d.ts +8 -5
  30. package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +7 -4
  31. package/dist-types/commands/DeleteLoginProfileCommand.d.ts +7 -4
  32. package/dist-types/commands/DeleteOpenIDConnectProviderCommand.d.ts +1 -0
  33. package/dist-types/commands/DeletePolicyCommand.d.ts +1 -0
  34. package/dist-types/commands/DeletePolicyVersionCommand.d.ts +1 -0
  35. package/dist-types/commands/DeleteRoleCommand.d.ts +7 -4
  36. package/dist-types/commands/DeleteRolePermissionsBoundaryCommand.d.ts +1 -0
  37. package/dist-types/commands/DeleteRolePolicyCommand.d.ts +8 -5
  38. package/dist-types/commands/DeleteSAMLProviderCommand.d.ts +1 -0
  39. package/dist-types/commands/DeleteSSHPublicKeyCommand.d.ts +1 -0
  40. package/dist-types/commands/DeleteServerCertificateCommand.d.ts +1 -0
  41. package/dist-types/commands/DeleteServiceLinkedRoleCommand.d.ts +1 -0
  42. package/dist-types/commands/DeleteServiceSpecificCredentialCommand.d.ts +1 -0
  43. package/dist-types/commands/DeleteSigningCertificateCommand.d.ts +8 -5
  44. package/dist-types/commands/DeleteUserCommand.d.ts +7 -4
  45. package/dist-types/commands/DeleteUserPermissionsBoundaryCommand.d.ts +1 -0
  46. package/dist-types/commands/DeleteUserPolicyCommand.d.ts +8 -5
  47. package/dist-types/commands/DeleteVirtualMFADeviceCommand.d.ts +7 -4
  48. package/dist-types/commands/DetachGroupPolicyCommand.d.ts +1 -0
  49. package/dist-types/commands/DetachRolePolicyCommand.d.ts +1 -0
  50. package/dist-types/commands/DetachUserPolicyCommand.d.ts +1 -0
  51. package/dist-types/commands/DisableOrganizationsRootCredentialsManagementCommand.d.ts +6 -6
  52. package/dist-types/commands/DisableOrganizationsRootSessionsCommand.d.ts +6 -6
  53. package/dist-types/commands/EnableMFADeviceCommand.d.ts +1 -0
  54. package/dist-types/commands/EnableOrganizationsRootCredentialsManagementCommand.d.ts +6 -6
  55. package/dist-types/commands/EnableOrganizationsRootSessionsCommand.d.ts +6 -6
  56. package/dist-types/commands/GenerateCredentialReportCommand.d.ts +1 -0
  57. package/dist-types/commands/GenerateOrganizationsAccessReportCommand.d.ts +5 -5
  58. package/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +5 -5
  59. package/dist-types/commands/GetAccessKeyLastUsedCommand.d.ts +1 -0
  60. package/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +1 -0
  61. package/dist-types/commands/GetAccountPasswordPolicyCommand.d.ts +15 -15
  62. package/dist-types/commands/GetAccountSummaryCommand.d.ts +31 -31
  63. package/dist-types/commands/GetContextKeysForCustomPolicyCommand.d.ts +1 -0
  64. package/dist-types/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +1 -0
  65. package/dist-types/commands/GetCredentialReportCommand.d.ts +1 -0
  66. package/dist-types/commands/GetGroupCommand.d.ts +1 -0
  67. package/dist-types/commands/GetGroupPolicyCommand.d.ts +1 -0
  68. package/dist-types/commands/GetInstanceProfileCommand.d.ts +17 -17
  69. package/dist-types/commands/GetLoginProfileCommand.d.ts +7 -7
  70. package/dist-types/commands/GetMFADeviceCommand.d.ts +1 -0
  71. package/dist-types/commands/GetOpenIDConnectProviderCommand.d.ts +1 -0
  72. package/dist-types/commands/GetOrganizationsAccessReportCommand.d.ts +26 -26
  73. package/dist-types/commands/GetPolicyCommand.d.ts +1 -0
  74. package/dist-types/commands/GetPolicyVersionCommand.d.ts +1 -0
  75. package/dist-types/commands/GetRoleCommand.d.ts +15 -15
  76. package/dist-types/commands/GetRolePolicyCommand.d.ts +1 -0
  77. package/dist-types/commands/GetSAMLProviderCommand.d.ts +1 -0
  78. package/dist-types/commands/GetSSHPublicKeyCommand.d.ts +1 -0
  79. package/dist-types/commands/GetServerCertificateCommand.d.ts +1 -0
  80. package/dist-types/commands/GetServiceLastAccessedDetailsCommand.d.ts +17 -17
  81. package/dist-types/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +23 -23
  82. package/dist-types/commands/GetServiceLinkedRoleDeletionStatusCommand.d.ts +1 -0
  83. package/dist-types/commands/GetUserCommand.d.ts +10 -10
  84. package/dist-types/commands/GetUserPolicyCommand.d.ts +1 -0
  85. package/dist-types/commands/ListAccessKeysCommand.d.ts +13 -13
  86. package/dist-types/commands/ListAccountAliasesCommand.d.ts +5 -5
  87. package/dist-types/commands/ListAttachedGroupPoliciesCommand.d.ts +1 -0
  88. package/dist-types/commands/ListAttachedRolePoliciesCommand.d.ts +1 -0
  89. package/dist-types/commands/ListAttachedUserPoliciesCommand.d.ts +1 -0
  90. package/dist-types/commands/ListEntitiesForPolicyCommand.d.ts +1 -0
  91. package/dist-types/commands/ListGroupPoliciesCommand.d.ts +5 -5
  92. package/dist-types/commands/ListGroupsCommand.d.ts +20 -20
  93. package/dist-types/commands/ListGroupsForUserCommand.d.ts +15 -15
  94. package/dist-types/commands/ListInstanceProfileTagsCommand.d.ts +1 -0
  95. package/dist-types/commands/ListInstanceProfilesCommand.d.ts +1 -0
  96. package/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +1 -0
  97. package/dist-types/commands/ListMFADeviceTagsCommand.d.ts +1 -0
  98. package/dist-types/commands/ListMFADevicesCommand.d.ts +1 -0
  99. package/dist-types/commands/ListOpenIDConnectProviderTagsCommand.d.ts +1 -0
  100. package/dist-types/commands/ListOpenIDConnectProvidersCommand.d.ts +1 -0
  101. package/dist-types/commands/ListOrganizationsFeaturesCommand.d.ts +6 -6
  102. package/dist-types/commands/ListPoliciesCommand.d.ts +1 -0
  103. package/dist-types/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +21 -21
  104. package/dist-types/commands/ListPolicyTagsCommand.d.ts +1 -0
  105. package/dist-types/commands/ListPolicyVersionsCommand.d.ts +1 -0
  106. package/dist-types/commands/ListRolePoliciesCommand.d.ts +1 -0
  107. package/dist-types/commands/ListRoleTagsCommand.d.ts +10 -10
  108. package/dist-types/commands/ListRolesCommand.d.ts +1 -0
  109. package/dist-types/commands/ListSAMLProviderTagsCommand.d.ts +1 -0
  110. package/dist-types/commands/ListSAMLProvidersCommand.d.ts +1 -0
  111. package/dist-types/commands/ListSSHPublicKeysCommand.d.ts +1 -0
  112. package/dist-types/commands/ListServerCertificateTagsCommand.d.ts +1 -0
  113. package/dist-types/commands/ListServerCertificatesCommand.d.ts +1 -0
  114. package/dist-types/commands/ListServiceSpecificCredentialsCommand.d.ts +1 -0
  115. package/dist-types/commands/ListSigningCertificatesCommand.d.ts +10 -10
  116. package/dist-types/commands/ListUserPoliciesCommand.d.ts +1 -0
  117. package/dist-types/commands/ListUserTagsCommand.d.ts +10 -10
  118. package/dist-types/commands/ListUsersCommand.d.ts +17 -17
  119. package/dist-types/commands/ListVirtualMFADevicesCommand.d.ts +7 -7
  120. package/dist-types/commands/PutGroupPolicyCommand.d.ts +9 -6
  121. package/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts +1 -0
  122. package/dist-types/commands/PutRolePolicyCommand.d.ts +9 -6
  123. package/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts +1 -0
  124. package/dist-types/commands/PutUserPolicyCommand.d.ts +9 -6
  125. package/dist-types/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +1 -0
  126. package/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +8 -5
  127. package/dist-types/commands/RemoveUserFromGroupCommand.d.ts +8 -5
  128. package/dist-types/commands/ResetServiceSpecificCredentialCommand.d.ts +1 -0
  129. package/dist-types/commands/ResyncMFADeviceCommand.d.ts +1 -0
  130. package/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +1 -0
  131. package/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +7 -4
  132. package/dist-types/commands/SimulateCustomPolicyCommand.d.ts +1 -0
  133. package/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +1 -0
  134. package/dist-types/commands/TagInstanceProfileCommand.d.ts +1 -0
  135. package/dist-types/commands/TagMFADeviceCommand.d.ts +1 -0
  136. package/dist-types/commands/TagOpenIDConnectProviderCommand.d.ts +1 -0
  137. package/dist-types/commands/TagPolicyCommand.d.ts +1 -0
  138. package/dist-types/commands/TagRoleCommand.d.ts +12 -9
  139. package/dist-types/commands/TagSAMLProviderCommand.d.ts +1 -0
  140. package/dist-types/commands/TagServerCertificateCommand.d.ts +1 -0
  141. package/dist-types/commands/TagUserCommand.d.ts +12 -9
  142. package/dist-types/commands/UntagInstanceProfileCommand.d.ts +1 -0
  143. package/dist-types/commands/UntagMFADeviceCommand.d.ts +1 -0
  144. package/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +1 -0
  145. package/dist-types/commands/UntagPolicyCommand.d.ts +1 -0
  146. package/dist-types/commands/UntagRoleCommand.d.ts +8 -5
  147. package/dist-types/commands/UntagSAMLProviderCommand.d.ts +1 -0
  148. package/dist-types/commands/UntagServerCertificateCommand.d.ts +1 -0
  149. package/dist-types/commands/UntagUserCommand.d.ts +8 -5
  150. package/dist-types/commands/UpdateAccessKeyCommand.d.ts +9 -6
  151. package/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +8 -5
  152. package/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +8 -5
  153. package/dist-types/commands/UpdateGroupCommand.d.ts +8 -5
  154. package/dist-types/commands/UpdateLoginProfileCommand.d.ts +8 -5
  155. package/dist-types/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +1 -0
  156. package/dist-types/commands/UpdateRoleCommand.d.ts +1 -0
  157. package/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +1 -0
  158. package/dist-types/commands/UpdateSAMLProviderCommand.d.ts +1 -0
  159. package/dist-types/commands/UpdateSSHPublicKeyCommand.d.ts +1 -0
  160. package/dist-types/commands/UpdateServerCertificateCommand.d.ts +1 -0
  161. package/dist-types/commands/UpdateServiceSpecificCredentialCommand.d.ts +1 -0
  162. package/dist-types/commands/UpdateSigningCertificateCommand.d.ts +9 -6
  163. package/dist-types/commands/UpdateUserCommand.d.ts +8 -5
  164. package/dist-types/commands/UploadSSHPublicKeyCommand.d.ts +1 -0
  165. package/dist-types/commands/UploadServerCertificateCommand.d.ts +14 -14
  166. package/dist-types/commands/UploadSigningCertificateCommand.d.ts +11 -11
  167. package/dist-types/endpoint/EndpointParameters.d.ts +2 -2
  168. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +2 -2
  169. package/package.json +2 -2
@@ -122,28 +122,31 @@ declare const TagRoleCommand_base: {
122
122
  * @throws {@link IAMServiceException}
123
123
  * <p>Base exception class for all service exceptions from IAM service.</p>
124
124
  *
125
- * @public
125
+ *
126
126
  * @example To add a tag key and value to an IAM role
127
127
  * ```javascript
128
128
  * // The following example shows how to add tags to an existing role.
129
129
  * const input = {
130
- * "RoleName": "taggedrole",
131
- * "Tags": [
130
+ * RoleName: "taggedrole",
131
+ * Tags: [
132
132
  * {
133
- * "Key": "Dept",
134
- * "Value": "Accounting"
133
+ * Key: "Dept",
134
+ * Value: "Accounting"
135
135
  * },
136
136
  * {
137
- * "Key": "CostCenter",
138
- * "Value": "12345"
137
+ * Key: "CostCenter",
138
+ * Value: "12345"
139
139
  * }
140
140
  * ]
141
141
  * };
142
142
  * const command = new TagRoleCommand(input);
143
- * await client.send(command);
144
- * // example id: to-add-a-tag-key-and-value-to-an-iam-role-1506718791513
143
+ * const response = await client.send(command);
144
+ * /* response is
145
+ * { /* metadata only *\/ }
146
+ * *\/
145
147
  * ```
146
148
  *
149
+ * @public
147
150
  */
148
151
  export declare class TagRoleCommand extends TagRoleCommand_base {
149
152
  /** @internal type navigation helper, not in runtime. */
@@ -115,6 +115,7 @@ declare const TagSAMLProviderCommand_base: {
115
115
  * @throws {@link IAMServiceException}
116
116
  * <p>Base exception class for all service exceptions from IAM service.</p>
117
117
  *
118
+ *
118
119
  * @public
119
120
  */
120
121
  export declare class TagSAMLProviderCommand extends TagSAMLProviderCommand_base {
@@ -125,6 +125,7 @@ declare const TagServerCertificateCommand_base: {
125
125
  * @throws {@link IAMServiceException}
126
126
  * <p>Base exception class for all service exceptions from IAM service.</p>
127
127
  *
128
+ *
128
129
  * @public
129
130
  */
130
131
  export declare class TagServerCertificateCommand extends TagServerCertificateCommand_base {
@@ -121,28 +121,31 @@ declare const TagUserCommand_base: {
121
121
  * @throws {@link IAMServiceException}
122
122
  * <p>Base exception class for all service exceptions from IAM service.</p>
123
123
  *
124
- * @public
124
+ *
125
125
  * @example To add a tag key and value to an IAM user
126
126
  * ```javascript
127
127
  * // The following example shows how to add tags to an existing user.
128
128
  * const input = {
129
- * "Tags": [
129
+ * Tags: [
130
130
  * {
131
- * "Key": "Dept",
132
- * "Value": "Accounting"
131
+ * Key: "Dept",
132
+ * Value: "Accounting"
133
133
  * },
134
134
  * {
135
- * "Key": "CostCenter",
136
- * "Value": "12345"
135
+ * Key: "CostCenter",
136
+ * Value: "12345"
137
137
  * }
138
138
  * ],
139
- * "UserName": "anika"
139
+ * UserName: "anika"
140
140
  * };
141
141
  * const command = new TagUserCommand(input);
142
- * await client.send(command);
143
- * // example id: to-add-a-tag-key-and-value-to-an-iam-user-1506719044227
142
+ * const response = await client.send(command);
143
+ * /* response is
144
+ * { /* metadata only *\/ }
145
+ * *\/
144
146
  * ```
145
147
  *
148
+ * @public
146
149
  */
147
150
  export declare class TagUserCommand extends TagUserCommand_base {
148
151
  /** @internal type navigation helper, not in runtime. */
@@ -72,6 +72,7 @@ declare const UntagInstanceProfileCommand_base: {
72
72
  * @throws {@link IAMServiceException}
73
73
  * <p>Base exception class for all service exceptions from IAM service.</p>
74
74
  *
75
+ *
75
76
  * @public
76
77
  */
77
78
  export declare class UntagInstanceProfileCommand extends UntagInstanceProfileCommand_base {
@@ -73,6 +73,7 @@ declare const UntagMFADeviceCommand_base: {
73
73
  * @throws {@link IAMServiceException}
74
74
  * <p>Base exception class for all service exceptions from IAM service.</p>
75
75
  *
76
+ *
76
77
  * @public
77
78
  */
78
79
  export declare class UntagMFADeviceCommand extends UntagMFADeviceCommand_base {
@@ -74,6 +74,7 @@ declare const UntagOpenIDConnectProviderCommand_base: {
74
74
  * @throws {@link IAMServiceException}
75
75
  * <p>Base exception class for all service exceptions from IAM service.</p>
76
76
  *
77
+ *
77
78
  * @public
78
79
  */
79
80
  export declare class UntagOpenIDConnectProviderCommand extends UntagOpenIDConnectProviderCommand_base {
@@ -72,6 +72,7 @@ declare const UntagPolicyCommand_base: {
72
72
  * @throws {@link IAMServiceException}
73
73
  * <p>Base exception class for all service exceptions from IAM service.</p>
74
74
  *
75
+ *
75
76
  * @public
76
77
  */
77
78
  export declare class UntagPolicyCommand extends UntagPolicyCommand_base {
@@ -68,21 +68,24 @@ declare const UntagRoleCommand_base: {
68
68
  * @throws {@link IAMServiceException}
69
69
  * <p>Base exception class for all service exceptions from IAM service.</p>
70
70
  *
71
- * @public
71
+ *
72
72
  * @example To remove a tag from an IAM role
73
73
  * ```javascript
74
74
  * // The following example shows how to remove a tag with the key 'Dept' from a role named 'taggedrole'.
75
75
  * const input = {
76
- * "RoleName": "taggedrole",
77
- * "TagKeys": [
76
+ * RoleName: "taggedrole",
77
+ * TagKeys: [
78
78
  * "Dept"
79
79
  * ]
80
80
  * };
81
81
  * const command = new UntagRoleCommand(input);
82
- * await client.send(command);
83
- * // example id: to-remove-a-tag-from-an-iam-role-1506719589943
82
+ * const response = await client.send(command);
83
+ * /* response is
84
+ * { /* metadata only *\/ }
85
+ * *\/
84
86
  * ```
85
87
  *
88
+ * @public
86
89
  */
87
90
  export declare class UntagRoleCommand extends UntagRoleCommand_base {
88
91
  /** @internal type navigation helper, not in runtime. */
@@ -74,6 +74,7 @@ declare const UntagSAMLProviderCommand_base: {
74
74
  * @throws {@link IAMServiceException}
75
75
  * <p>Base exception class for all service exceptions from IAM service.</p>
76
76
  *
77
+ *
77
78
  * @public
78
79
  */
79
80
  export declare class UntagSAMLProviderCommand extends UntagSAMLProviderCommand_base {
@@ -80,6 +80,7 @@ declare const UntagServerCertificateCommand_base: {
80
80
  * @throws {@link IAMServiceException}
81
81
  * <p>Base exception class for all service exceptions from IAM service.</p>
82
82
  *
83
+ *
83
84
  * @public
84
85
  */
85
86
  export declare class UntagServerCertificateCommand extends UntagServerCertificateCommand_base {
@@ -68,21 +68,24 @@ declare const UntagUserCommand_base: {
68
68
  * @throws {@link IAMServiceException}
69
69
  * <p>Base exception class for all service exceptions from IAM service.</p>
70
70
  *
71
- * @public
71
+ *
72
72
  * @example To remove a tag from an IAM user
73
73
  * ```javascript
74
74
  * // The following example shows how to remove tags that are attached to a user named 'anika'.
75
75
  * const input = {
76
- * "TagKeys": [
76
+ * TagKeys: [
77
77
  * "Dept"
78
78
  * ],
79
- * "UserName": "anika"
79
+ * UserName: "anika"
80
80
  * };
81
81
  * const command = new UntagUserCommand(input);
82
- * await client.send(command);
83
- * // example id: to-remove-a-tag-from-an-iam-user-1506719725554
82
+ * const response = await client.send(command);
83
+ * /* response is
84
+ * { /* metadata only *\/ }
85
+ * *\/
84
86
  * ```
85
87
  *
88
+ * @public
86
89
  */
87
90
  export declare class UntagUserCommand extends UntagUserCommand_base {
88
91
  /** @internal type navigation helper, not in runtime. */
@@ -76,20 +76,23 @@ declare const UpdateAccessKeyCommand_base: {
76
76
  * @throws {@link IAMServiceException}
77
77
  * <p>Base exception class for all service exceptions from IAM service.</p>
78
78
  *
79
- * @public
79
+ *
80
80
  * @example To activate or deactivate an access key for an IAM user
81
81
  * ```javascript
82
82
  * // The following command deactivates the specified access key (access key ID and secret access key) for the IAM user named Bob.
83
83
  * const input = {
84
- * "AccessKeyId": "AKIAIOSFODNN7EXAMPLE",
85
- * "Status": "Inactive",
86
- * "UserName": "Bob"
84
+ * AccessKeyId: "AKIAIOSFODNN7EXAMPLE",
85
+ * Status: "Inactive",
86
+ * UserName: "Bob"
87
87
  * };
88
88
  * const command = new UpdateAccessKeyCommand(input);
89
- * await client.send(command);
90
- * // example id: 02b556fd-e673-49b7-ab6b-f2f9035967d0
89
+ * const response = await client.send(command);
90
+ * /* response is
91
+ * { /* metadata only *\/ }
92
+ * *\/
91
93
  * ```
92
94
  *
95
+ * @public
93
96
  */
94
97
  export declare class UpdateAccessKeyCommand extends UpdateAccessKeyCommand_base {
95
98
  /** @internal type navigation helper, not in runtime. */
@@ -86,19 +86,22 @@ declare const UpdateAccountPasswordPolicyCommand_base: {
86
86
  * @throws {@link IAMServiceException}
87
87
  * <p>Base exception class for all service exceptions from IAM service.</p>
88
88
  *
89
- * @public
89
+ *
90
90
  * @example To set or change the current account password policy
91
91
  * ```javascript
92
92
  * // 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:
93
93
  * const input = {
94
- * "MinimumPasswordLength": 8,
95
- * "RequireNumbers": true
94
+ * MinimumPasswordLength: 8,
95
+ * RequireNumbers: true
96
96
  * };
97
97
  * const command = new UpdateAccountPasswordPolicyCommand(input);
98
- * await client.send(command);
99
- * // example id: c263a1af-37dc-4423-8dba-9790284ef5e0
98
+ * const response = await client.send(command);
99
+ * /* response is
100
+ * { /* metadata only *\/ }
101
+ * *\/
100
102
  * ```
101
103
  *
104
+ * @public
102
105
  */
103
106
  export declare class UpdateAccountPasswordPolicyCommand extends UpdateAccountPasswordPolicyCommand_base {
104
107
  /** @internal type navigation helper, not in runtime. */
@@ -78,19 +78,22 @@ declare const UpdateAssumeRolePolicyCommand_base: {
78
78
  * @throws {@link IAMServiceException}
79
79
  * <p>Base exception class for all service exceptions from IAM service.</p>
80
80
  *
81
- * @public
81
+ *
82
82
  * @example To update the trust policy for an IAM role
83
83
  * ```javascript
84
84
  * // The following command updates the role trust policy for the role named Test-Role:
85
85
  * const input = {
86
- * "PolicyDocument": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Principal\":{\"Service\":[\"ec2.amazonaws.com\"]},\"Action\":[\"sts:AssumeRole\"]}]}",
87
- * "RoleName": "S3AccessForEC2Instances"
86
+ * PolicyDocument: `{"Version":"2012-10-17","Statement":[{"Effect":"Allow","Principal":{"Service":["ec2.amazonaws.com"]},"Action":["sts:AssumeRole"]}]}`,
87
+ * RoleName: "S3AccessForEC2Instances"
88
88
  * };
89
89
  * const command = new UpdateAssumeRolePolicyCommand(input);
90
- * await client.send(command);
91
- * // example id: c9150063-d953-4e99-9576-9685872006c6
90
+ * const response = await client.send(command);
91
+ * /* response is
92
+ * { /* metadata only *\/ }
93
+ * *\/
92
94
  * ```
93
95
  *
96
+ * @public
94
97
  */
95
98
  export declare class UpdateAssumeRolePolicyCommand extends UpdateAssumeRolePolicyCommand_base {
96
99
  /** @internal type navigation helper, not in runtime. */
@@ -84,19 +84,22 @@ declare const UpdateGroupCommand_base: {
84
84
  * @throws {@link IAMServiceException}
85
85
  * <p>Base exception class for all service exceptions from IAM service.</p>
86
86
  *
87
- * @public
87
+ *
88
88
  * @example To rename an IAM group
89
89
  * ```javascript
90
90
  * // The following command changes the name of the IAM group Test to Test-1.
91
91
  * const input = {
92
- * "GroupName": "Test",
93
- * "NewGroupName": "Test-1"
92
+ * GroupName: "Test",
93
+ * NewGroupName: "Test-1"
94
94
  * };
95
95
  * const command = new UpdateGroupCommand(input);
96
- * await client.send(command);
97
- * // example id: f0cf1662-91ae-4278-a80e-7db54256ccba
96
+ * const response = await client.send(command);
97
+ * /* response is
98
+ * { /* metadata only *\/ }
99
+ * *\/
98
100
  * ```
99
101
  *
102
+ * @public
100
103
  */
101
104
  export declare class UpdateGroupCommand extends UpdateGroupCommand_base {
102
105
  /** @internal type navigation helper, not in runtime. */
@@ -82,19 +82,22 @@ declare const UpdateLoginProfileCommand_base: {
82
82
  * @throws {@link IAMServiceException}
83
83
  * <p>Base exception class for all service exceptions from IAM service.</p>
84
84
  *
85
- * @public
85
+ *
86
86
  * @example To change the password for an IAM user
87
87
  * ```javascript
88
88
  * // The following command creates or changes the password for the IAM user named Bob.
89
89
  * const input = {
90
- * "Password": "SomeKindOfPassword123!@#",
91
- * "UserName": "Bob"
90
+ * Password: "SomeKindOfPassword123!@#",
91
+ * UserName: "Bob"
92
92
  * };
93
93
  * const command = new UpdateLoginProfileCommand(input);
94
- * await client.send(command);
95
- * // example id: 036d9498-ecdb-4ed6-a8d8-366c383d1487
94
+ * const response = await client.send(command);
95
+ * /* response is
96
+ * { /* metadata only *\/ }
97
+ * *\/
96
98
  * ```
97
99
  *
100
+ * @public
98
101
  */
99
102
  export declare class UpdateLoginProfileCommand extends UpdateLoginProfileCommand_base {
100
103
  /** @internal type navigation helper, not in runtime. */
@@ -88,6 +88,7 @@ declare const UpdateOpenIDConnectProviderThumbprintCommand_base: {
88
88
  * @throws {@link IAMServiceException}
89
89
  * <p>Base exception class for all service exceptions from IAM service.</p>
90
90
  *
91
+ *
91
92
  * @public
92
93
  */
93
94
  export declare class UpdateOpenIDConnectProviderThumbprintCommand extends UpdateOpenIDConnectProviderThumbprintCommand_base {
@@ -68,6 +68,7 @@ declare const UpdateRoleCommand_base: {
68
68
  * @throws {@link IAMServiceException}
69
69
  * <p>Base exception class for all service exceptions from IAM service.</p>
70
70
  *
71
+ *
71
72
  * @public
72
73
  */
73
74
  export declare class UpdateRoleCommand extends UpdateRoleCommand_base {
@@ -94,6 +94,7 @@ declare const UpdateRoleDescriptionCommand_base: {
94
94
  * @throws {@link IAMServiceException}
95
95
  * <p>Base exception class for all service exceptions from IAM service.</p>
96
96
  *
97
+ *
97
98
  * @public
98
99
  */
99
100
  export declare class UpdateRoleDescriptionCommand extends UpdateRoleDescriptionCommand_base {
@@ -76,6 +76,7 @@ declare const UpdateSAMLProviderCommand_base: {
76
76
  * @throws {@link IAMServiceException}
77
77
  * <p>Base exception class for all service exceptions from IAM service.</p>
78
78
  *
79
+ *
79
80
  * @public
80
81
  */
81
82
  export declare class UpdateSAMLProviderCommand extends UpdateSAMLProviderCommand_base {
@@ -64,6 +64,7 @@ declare const UpdateSSHPublicKeyCommand_base: {
64
64
  * @throws {@link IAMServiceException}
65
65
  * <p>Base exception class for all service exceptions from IAM service.</p>
66
66
  *
67
+ *
67
68
  * @public
68
69
  */
69
70
  export declare class UpdateSSHPublicKeyCommand extends UpdateSSHPublicKeyCommand_base {
@@ -89,6 +89,7 @@ declare const UpdateServerCertificateCommand_base: {
89
89
  * @throws {@link IAMServiceException}
90
90
  * <p>Base exception class for all service exceptions from IAM service.</p>
91
91
  *
92
+ *
92
93
  * @public
93
94
  */
94
95
  export declare class UpdateServerCertificateCommand extends UpdateServerCertificateCommand_base {
@@ -61,6 +61,7 @@ declare const UpdateServiceSpecificCredentialCommand_base: {
61
61
  * @throws {@link IAMServiceException}
62
62
  * <p>Base exception class for all service exceptions from IAM service.</p>
63
63
  *
64
+ *
64
65
  * @public
65
66
  */
66
67
  export declare class UpdateServiceSpecificCredentialCommand extends UpdateServiceSpecificCredentialCommand_base {
@@ -73,20 +73,23 @@ declare const UpdateSigningCertificateCommand_base: {
73
73
  * @throws {@link IAMServiceException}
74
74
  * <p>Base exception class for all service exceptions from IAM service.</p>
75
75
  *
76
- * @public
76
+ *
77
77
  * @example To change the active status of a signing certificate for an IAM user
78
78
  * ```javascript
79
79
  * // The following command changes the status of a signing certificate for a user named Bob to Inactive.
80
80
  * const input = {
81
- * "CertificateId": "TA7SMP42TDN5Z26OBPJE7EXAMPLE",
82
- * "Status": "Inactive",
83
- * "UserName": "Bob"
81
+ * CertificateId: "TA7SMP42TDN5Z26OBPJE7EXAMPLE",
82
+ * Status: "Inactive",
83
+ * UserName: "Bob"
84
84
  * };
85
85
  * const command = new UpdateSigningCertificateCommand(input);
86
- * await client.send(command);
87
- * // example id: 829aee7b-efc5-4b3b-84a5-7f899b38018d
86
+ * const response = await client.send(command);
87
+ * /* response is
88
+ * { /* metadata only *\/ }
89
+ * *\/
88
90
  * ```
89
91
  *
92
+ * @public
90
93
  */
91
94
  export declare class UpdateSigningCertificateCommand extends UpdateSigningCertificateCommand_base {
92
95
  /** @internal type navigation helper, not in runtime. */
@@ -92,19 +92,22 @@ declare const UpdateUserCommand_base: {
92
92
  * @throws {@link IAMServiceException}
93
93
  * <p>Base exception class for all service exceptions from IAM service.</p>
94
94
  *
95
- * @public
95
+ *
96
96
  * @example To change an IAM user's name
97
97
  * ```javascript
98
98
  * // The following command changes the name of the IAM user Bob to Robert. It does not change the user's path.
99
99
  * const input = {
100
- * "NewUserName": "Robert",
101
- * "UserName": "Bob"
100
+ * NewUserName: "Robert",
101
+ * UserName: "Bob"
102
102
  * };
103
103
  * const command = new UpdateUserCommand(input);
104
- * await client.send(command);
105
- * // example id: 275d53ed-347a-44e6-b7d0-a96276154352
104
+ * const response = await client.send(command);
105
+ * /* response is
106
+ * { /* metadata only *\/ }
107
+ * *\/
106
108
  * ```
107
109
  *
110
+ * @public
108
111
  */
109
112
  export declare class UpdateUserCommand extends UpdateUserCommand_base {
110
113
  /** @internal type navigation helper, not in runtime. */
@@ -85,6 +85,7 @@ declare const UploadSSHPublicKeyCommand_base: {
85
85
  * @throws {@link IAMServiceException}
86
86
  * <p>Base exception class for all service exceptions from IAM service.</p>
87
87
  *
88
+ *
88
89
  * @public
89
90
  */
90
91
  export declare class UploadSSHPublicKeyCommand extends UploadSSHPublicKeyCommand_base {
@@ -128,33 +128,33 @@ declare const UploadServerCertificateCommand_base: {
128
128
  * @throws {@link IAMServiceException}
129
129
  * <p>Base exception class for all service exceptions from IAM service.</p>
130
130
  *
131
- * @public
131
+ *
132
132
  * @example To upload a server certificate to your AWS account
133
133
  * ```javascript
134
134
  * // The following upload-server-certificate command uploads a server certificate to your AWS account:
135
135
  * const input = {
136
- * "CertificateBody": "-----BEGIN CERTIFICATE-----<a very long certificate text string>-----END CERTIFICATE-----",
137
- * "Path": "/company/servercerts/",
138
- * "PrivateKey": "-----BEGIN DSA PRIVATE KEY-----<a very long private key string>-----END DSA PRIVATE KEY-----",
139
- * "ServerCertificateName": "ProdServerCert"
136
+ * CertificateBody: "-----BEGIN CERTIFICATE-----<a very long certificate text string>-----END CERTIFICATE-----",
137
+ * Path: "/company/servercerts/",
138
+ * PrivateKey: "-----BEGIN DSA PRIVATE KEY-----<a very long private key string>-----END DSA PRIVATE KEY-----",
139
+ * ServerCertificateName: "ProdServerCert"
140
140
  * };
141
141
  * const command = new UploadServerCertificateCommand(input);
142
142
  * const response = await client.send(command);
143
- * /* response ==
143
+ * /* response is
144
144
  * {
145
- * "ServerCertificateMetadata": {
146
- * "Arn": "arn:aws:iam::123456789012:server-certificate/company/servercerts/ProdServerCert",
147
- * "Expiration": "2012-05-08T01:02:03.004Z",
148
- * "Path": "/company/servercerts/",
149
- * "ServerCertificateId": "ASCA1111111111EXAMPLE",
150
- * "ServerCertificateName": "ProdServerCert",
151
- * "UploadDate": "2010-05-08T01:02:03.004Z"
145
+ * ServerCertificateMetadata: {
146
+ * Arn: "arn:aws:iam::123456789012:server-certificate/company/servercerts/ProdServerCert",
147
+ * Expiration: "2012-05-08T01:02:03.004Z",
148
+ * Path: "/company/servercerts/",
149
+ * ServerCertificateId: "ASCA1111111111EXAMPLE",
150
+ * ServerCertificateName: "ProdServerCert",
151
+ * UploadDate: "2010-05-08T01:02:03.004Z"
152
152
  * }
153
153
  * }
154
154
  * *\/
155
- * // example id: 06eab6d1-ebf2-4bd9-839d-f7508b9a38b6
156
155
  * ```
157
156
  *
157
+ * @public
158
158
  */
159
159
  export declare class UploadServerCertificateCommand extends UploadServerCertificateCommand_base {
160
160
  /** @internal type navigation helper, not in runtime. */
@@ -111,30 +111,30 @@ declare const UploadSigningCertificateCommand_base: {
111
111
  * @throws {@link IAMServiceException}
112
112
  * <p>Base exception class for all service exceptions from IAM service.</p>
113
113
  *
114
- * @public
114
+ *
115
115
  * @example To upload a signing certificate for an IAM user
116
116
  * ```javascript
117
117
  * // The following command uploads a signing certificate for the IAM user named Bob.
118
118
  * const input = {
119
- * "CertificateBody": "-----BEGIN CERTIFICATE-----<certificate-body>-----END CERTIFICATE-----",
120
- * "UserName": "Bob"
119
+ * CertificateBody: "-----BEGIN CERTIFICATE-----<certificate-body>-----END CERTIFICATE-----",
120
+ * UserName: "Bob"
121
121
  * };
122
122
  * const command = new UploadSigningCertificateCommand(input);
123
123
  * const response = await client.send(command);
124
- * /* response ==
124
+ * /* response is
125
125
  * {
126
- * "Certificate": {
127
- * "CertificateBody": "-----BEGIN CERTIFICATE-----<certificate-body>-----END CERTIFICATE-----",
128
- * "CertificateId": "ID123456789012345EXAMPLE",
129
- * "Status": "Active",
130
- * "UploadDate": "2015-06-06T21:40:08.121Z",
131
- * "UserName": "Bob"
126
+ * Certificate: {
127
+ * CertificateBody: "-----BEGIN CERTIFICATE-----<certificate-body>-----END CERTIFICATE-----",
128
+ * CertificateId: "ID123456789012345EXAMPLE",
129
+ * Status: "Active",
130
+ * UploadDate: "2015-06-06T21:40:08.121Z",
131
+ * UserName: "Bob"
132
132
  * }
133
133
  * }
134
134
  * *\/
135
- * // example id: e67489b6-7b73-4e30-9ed3-9a9e0231e458
136
135
  * ```
137
136
  *
137
+ * @public
138
138
  */
139
139
  export declare class UploadSigningCertificateCommand extends UploadSigningCertificateCommand_base {
140
140
  /** @internal type navigation helper, not in runtime. */
@@ -3,10 +3,10 @@ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provi
3
3
  * @public
4
4
  */
5
5
  export interface ClientInputEndpointParameters {
6
- region?: string | Provider<string>;
7
6
  useDualstackEndpoint?: boolean | Provider<boolean>;
8
7
  useFipsEndpoint?: boolean | Provider<boolean>;
9
8
  endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
9
+ region?: string | Provider<string>;
10
10
  }
11
11
  export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
12
12
  defaultSigningName: string;
@@ -33,8 +33,8 @@ export declare const commonParams: {
33
33
  };
34
34
  };
35
35
  export interface EndpointParameters extends __EndpointParameters {
36
- Region?: string;
37
36
  UseDualStack?: boolean;
38
37
  UseFIPS?: boolean;
39
38
  Endpoint?: string;
39
+ Region?: string;
40
40
  }
@@ -5,7 +5,6 @@ import {
5
5
  Provider,
6
6
  } from "@smithy/types";
7
7
  export interface ClientInputEndpointParameters {
8
- region?: string | Provider<string>;
9
8
  useDualstackEndpoint?: boolean | Provider<boolean>;
10
9
  useFipsEndpoint?: boolean | Provider<boolean>;
11
10
  endpoint?:
@@ -15,6 +14,7 @@ export interface ClientInputEndpointParameters {
15
14
  | Provider<Endpoint>
16
15
  | EndpointV2
17
16
  | Provider<EndpointV2>;
17
+ region?: string | Provider<string>;
18
18
  }
19
19
  export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
20
20
  defaultSigningName: string;
@@ -44,8 +44,8 @@ export declare const commonParams: {
44
44
  };
45
45
  };
46
46
  export interface EndpointParameters extends __EndpointParameters {
47
- Region?: string;
48
47
  UseDualStack?: boolean;
49
48
  UseFIPS?: boolean;
50
49
  Endpoint?: string;
50
+ Region?: string;
51
51
  }