@aws-sdk/client-iam 3.774.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 (175) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
  2. package/dist-cjs/endpoint/ruleset.js +3 -3
  3. package/dist-cjs/index.js +17 -18
  4. package/dist-es/IAMClient.js +2 -1
  5. package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
  6. package/dist-es/endpoint/EndpointParameters.js +2 -3
  7. package/dist-es/endpoint/ruleset.js +3 -3
  8. package/dist-es/runtimeExtensions.js +2 -14
  9. package/dist-types/commands/AddClientIDToOpenIDConnectProviderCommand.d.ts +8 -5
  10. package/dist-types/commands/AddRoleToInstanceProfileCommand.d.ts +8 -5
  11. package/dist-types/commands/AddUserToGroupCommand.d.ts +8 -5
  12. package/dist-types/commands/AttachGroupPolicyCommand.d.ts +8 -5
  13. package/dist-types/commands/AttachRolePolicyCommand.d.ts +8 -5
  14. package/dist-types/commands/AttachUserPolicyCommand.d.ts +8 -5
  15. package/dist-types/commands/ChangePasswordCommand.d.ts +8 -5
  16. package/dist-types/commands/CreateAccessKeyCommand.d.ts +10 -10
  17. package/dist-types/commands/CreateAccountAliasCommand.d.ts +7 -4
  18. package/dist-types/commands/CreateGroupCommand.d.ts +10 -10
  19. package/dist-types/commands/CreateInstanceProfileCommand.d.ts +11 -11
  20. package/dist-types/commands/CreateLoginProfileCommand.d.ts +10 -10
  21. package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +7 -7
  22. package/dist-types/commands/CreatePolicyCommand.d.ts +1 -0
  23. package/dist-types/commands/CreatePolicyVersionCommand.d.ts +1 -0
  24. package/dist-types/commands/CreateRoleCommand.d.ts +13 -13
  25. package/dist-types/commands/CreateSAMLProviderCommand.d.ts +1 -0
  26. package/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +1 -0
  27. package/dist-types/commands/CreateServiceSpecificCredentialCommand.d.ts +1 -0
  28. package/dist-types/commands/CreateUserCommand.d.ts +10 -10
  29. package/dist-types/commands/CreateVirtualMFADeviceCommand.d.ts +1 -0
  30. package/dist-types/commands/DeactivateMFADeviceCommand.d.ts +1 -0
  31. package/dist-types/commands/DeleteAccessKeyCommand.d.ts +8 -5
  32. package/dist-types/commands/DeleteAccountAliasCommand.d.ts +7 -4
  33. package/dist-types/commands/DeleteAccountPasswordPolicyCommand.d.ts +7 -4
  34. package/dist-types/commands/DeleteGroupCommand.d.ts +1 -0
  35. package/dist-types/commands/DeleteGroupPolicyCommand.d.ts +8 -5
  36. package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +7 -4
  37. package/dist-types/commands/DeleteLoginProfileCommand.d.ts +7 -4
  38. package/dist-types/commands/DeleteOpenIDConnectProviderCommand.d.ts +1 -0
  39. package/dist-types/commands/DeletePolicyCommand.d.ts +1 -0
  40. package/dist-types/commands/DeletePolicyVersionCommand.d.ts +1 -0
  41. package/dist-types/commands/DeleteRoleCommand.d.ts +7 -4
  42. package/dist-types/commands/DeleteRolePermissionsBoundaryCommand.d.ts +1 -0
  43. package/dist-types/commands/DeleteRolePolicyCommand.d.ts +8 -5
  44. package/dist-types/commands/DeleteSAMLProviderCommand.d.ts +1 -0
  45. package/dist-types/commands/DeleteSSHPublicKeyCommand.d.ts +1 -0
  46. package/dist-types/commands/DeleteServerCertificateCommand.d.ts +1 -0
  47. package/dist-types/commands/DeleteServiceLinkedRoleCommand.d.ts +1 -0
  48. package/dist-types/commands/DeleteServiceSpecificCredentialCommand.d.ts +1 -0
  49. package/dist-types/commands/DeleteSigningCertificateCommand.d.ts +8 -5
  50. package/dist-types/commands/DeleteUserCommand.d.ts +7 -4
  51. package/dist-types/commands/DeleteUserPermissionsBoundaryCommand.d.ts +1 -0
  52. package/dist-types/commands/DeleteUserPolicyCommand.d.ts +8 -5
  53. package/dist-types/commands/DeleteVirtualMFADeviceCommand.d.ts +7 -4
  54. package/dist-types/commands/DetachGroupPolicyCommand.d.ts +1 -0
  55. package/dist-types/commands/DetachRolePolicyCommand.d.ts +1 -0
  56. package/dist-types/commands/DetachUserPolicyCommand.d.ts +1 -0
  57. package/dist-types/commands/DisableOrganizationsRootCredentialsManagementCommand.d.ts +6 -6
  58. package/dist-types/commands/DisableOrganizationsRootSessionsCommand.d.ts +6 -6
  59. package/dist-types/commands/EnableMFADeviceCommand.d.ts +1 -0
  60. package/dist-types/commands/EnableOrganizationsRootCredentialsManagementCommand.d.ts +6 -6
  61. package/dist-types/commands/EnableOrganizationsRootSessionsCommand.d.ts +6 -6
  62. package/dist-types/commands/GenerateCredentialReportCommand.d.ts +1 -0
  63. package/dist-types/commands/GenerateOrganizationsAccessReportCommand.d.ts +5 -5
  64. package/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +5 -5
  65. package/dist-types/commands/GetAccessKeyLastUsedCommand.d.ts +1 -0
  66. package/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +1 -0
  67. package/dist-types/commands/GetAccountPasswordPolicyCommand.d.ts +15 -15
  68. package/dist-types/commands/GetAccountSummaryCommand.d.ts +31 -31
  69. package/dist-types/commands/GetContextKeysForCustomPolicyCommand.d.ts +1 -0
  70. package/dist-types/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +1 -0
  71. package/dist-types/commands/GetCredentialReportCommand.d.ts +1 -0
  72. package/dist-types/commands/GetGroupCommand.d.ts +1 -0
  73. package/dist-types/commands/GetGroupPolicyCommand.d.ts +1 -0
  74. package/dist-types/commands/GetInstanceProfileCommand.d.ts +17 -17
  75. package/dist-types/commands/GetLoginProfileCommand.d.ts +7 -7
  76. package/dist-types/commands/GetMFADeviceCommand.d.ts +1 -0
  77. package/dist-types/commands/GetOpenIDConnectProviderCommand.d.ts +1 -0
  78. package/dist-types/commands/GetOrganizationsAccessReportCommand.d.ts +26 -26
  79. package/dist-types/commands/GetPolicyCommand.d.ts +1 -0
  80. package/dist-types/commands/GetPolicyVersionCommand.d.ts +1 -0
  81. package/dist-types/commands/GetRoleCommand.d.ts +15 -15
  82. package/dist-types/commands/GetRolePolicyCommand.d.ts +1 -0
  83. package/dist-types/commands/GetSAMLProviderCommand.d.ts +1 -0
  84. package/dist-types/commands/GetSSHPublicKeyCommand.d.ts +1 -0
  85. package/dist-types/commands/GetServerCertificateCommand.d.ts +1 -0
  86. package/dist-types/commands/GetServiceLastAccessedDetailsCommand.d.ts +17 -17
  87. package/dist-types/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +23 -23
  88. package/dist-types/commands/GetServiceLinkedRoleDeletionStatusCommand.d.ts +1 -0
  89. package/dist-types/commands/GetUserCommand.d.ts +10 -10
  90. package/dist-types/commands/GetUserPolicyCommand.d.ts +1 -0
  91. package/dist-types/commands/ListAccessKeysCommand.d.ts +13 -13
  92. package/dist-types/commands/ListAccountAliasesCommand.d.ts +5 -5
  93. package/dist-types/commands/ListAttachedGroupPoliciesCommand.d.ts +1 -0
  94. package/dist-types/commands/ListAttachedRolePoliciesCommand.d.ts +1 -0
  95. package/dist-types/commands/ListAttachedUserPoliciesCommand.d.ts +1 -0
  96. package/dist-types/commands/ListEntitiesForPolicyCommand.d.ts +1 -0
  97. package/dist-types/commands/ListGroupPoliciesCommand.d.ts +5 -5
  98. package/dist-types/commands/ListGroupsCommand.d.ts +20 -20
  99. package/dist-types/commands/ListGroupsForUserCommand.d.ts +15 -15
  100. package/dist-types/commands/ListInstanceProfileTagsCommand.d.ts +1 -0
  101. package/dist-types/commands/ListInstanceProfilesCommand.d.ts +1 -0
  102. package/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +1 -0
  103. package/dist-types/commands/ListMFADeviceTagsCommand.d.ts +1 -0
  104. package/dist-types/commands/ListMFADevicesCommand.d.ts +1 -0
  105. package/dist-types/commands/ListOpenIDConnectProviderTagsCommand.d.ts +1 -0
  106. package/dist-types/commands/ListOpenIDConnectProvidersCommand.d.ts +1 -0
  107. package/dist-types/commands/ListOrganizationsFeaturesCommand.d.ts +6 -6
  108. package/dist-types/commands/ListPoliciesCommand.d.ts +1 -0
  109. package/dist-types/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +21 -21
  110. package/dist-types/commands/ListPolicyTagsCommand.d.ts +1 -0
  111. package/dist-types/commands/ListPolicyVersionsCommand.d.ts +1 -0
  112. package/dist-types/commands/ListRolePoliciesCommand.d.ts +1 -0
  113. package/dist-types/commands/ListRoleTagsCommand.d.ts +10 -10
  114. package/dist-types/commands/ListRolesCommand.d.ts +1 -0
  115. package/dist-types/commands/ListSAMLProviderTagsCommand.d.ts +1 -0
  116. package/dist-types/commands/ListSAMLProvidersCommand.d.ts +1 -0
  117. package/dist-types/commands/ListSSHPublicKeysCommand.d.ts +1 -0
  118. package/dist-types/commands/ListServerCertificateTagsCommand.d.ts +1 -0
  119. package/dist-types/commands/ListServerCertificatesCommand.d.ts +1 -0
  120. package/dist-types/commands/ListServiceSpecificCredentialsCommand.d.ts +1 -0
  121. package/dist-types/commands/ListSigningCertificatesCommand.d.ts +10 -10
  122. package/dist-types/commands/ListUserPoliciesCommand.d.ts +1 -0
  123. package/dist-types/commands/ListUserTagsCommand.d.ts +10 -10
  124. package/dist-types/commands/ListUsersCommand.d.ts +17 -17
  125. package/dist-types/commands/ListVirtualMFADevicesCommand.d.ts +7 -7
  126. package/dist-types/commands/PutGroupPolicyCommand.d.ts +9 -6
  127. package/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts +1 -0
  128. package/dist-types/commands/PutRolePolicyCommand.d.ts +9 -6
  129. package/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts +1 -0
  130. package/dist-types/commands/PutUserPolicyCommand.d.ts +9 -6
  131. package/dist-types/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +1 -0
  132. package/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +8 -5
  133. package/dist-types/commands/RemoveUserFromGroupCommand.d.ts +8 -5
  134. package/dist-types/commands/ResetServiceSpecificCredentialCommand.d.ts +1 -0
  135. package/dist-types/commands/ResyncMFADeviceCommand.d.ts +1 -0
  136. package/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +1 -0
  137. package/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +7 -4
  138. package/dist-types/commands/SimulateCustomPolicyCommand.d.ts +1 -0
  139. package/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +1 -0
  140. package/dist-types/commands/TagInstanceProfileCommand.d.ts +1 -0
  141. package/dist-types/commands/TagMFADeviceCommand.d.ts +1 -0
  142. package/dist-types/commands/TagOpenIDConnectProviderCommand.d.ts +1 -0
  143. package/dist-types/commands/TagPolicyCommand.d.ts +1 -0
  144. package/dist-types/commands/TagRoleCommand.d.ts +12 -9
  145. package/dist-types/commands/TagSAMLProviderCommand.d.ts +1 -0
  146. package/dist-types/commands/TagServerCertificateCommand.d.ts +1 -0
  147. package/dist-types/commands/TagUserCommand.d.ts +12 -9
  148. package/dist-types/commands/UntagInstanceProfileCommand.d.ts +1 -0
  149. package/dist-types/commands/UntagMFADeviceCommand.d.ts +1 -0
  150. package/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +1 -0
  151. package/dist-types/commands/UntagPolicyCommand.d.ts +1 -0
  152. package/dist-types/commands/UntagRoleCommand.d.ts +8 -5
  153. package/dist-types/commands/UntagSAMLProviderCommand.d.ts +1 -0
  154. package/dist-types/commands/UntagServerCertificateCommand.d.ts +1 -0
  155. package/dist-types/commands/UntagUserCommand.d.ts +8 -5
  156. package/dist-types/commands/UpdateAccessKeyCommand.d.ts +9 -6
  157. package/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +8 -5
  158. package/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +8 -5
  159. package/dist-types/commands/UpdateGroupCommand.d.ts +8 -5
  160. package/dist-types/commands/UpdateLoginProfileCommand.d.ts +8 -5
  161. package/dist-types/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +1 -0
  162. package/dist-types/commands/UpdateRoleCommand.d.ts +1 -0
  163. package/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +1 -0
  164. package/dist-types/commands/UpdateSAMLProviderCommand.d.ts +1 -0
  165. package/dist-types/commands/UpdateSSHPublicKeyCommand.d.ts +1 -0
  166. package/dist-types/commands/UpdateServerCertificateCommand.d.ts +1 -0
  167. package/dist-types/commands/UpdateServiceSpecificCredentialCommand.d.ts +1 -0
  168. package/dist-types/commands/UpdateSigningCertificateCommand.d.ts +9 -6
  169. package/dist-types/commands/UpdateUserCommand.d.ts +8 -5
  170. package/dist-types/commands/UploadSSHPublicKeyCommand.d.ts +1 -0
  171. package/dist-types/commands/UploadServerCertificateCommand.d.ts +14 -14
  172. package/dist-types/commands/UploadSigningCertificateCommand.d.ts +11 -11
  173. package/dist-types/endpoint/EndpointParameters.d.ts +2 -2
  174. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +2 -2
  175. package/package.json +34 -34
@@ -136,29 +136,29 @@ declare const CreateOpenIDConnectProviderCommand_base: {
136
136
  * @throws {@link IAMServiceException}
137
137
  * <p>Base exception class for all service exceptions from IAM service.</p>
138
138
  *
139
- * @public
139
+ *
140
140
  * @example To create an instance profile
141
141
  * ```javascript
142
142
  * // The following example defines a new OIDC provider in IAM with a client ID of my-application-id and pointing at the server with a URL of https://server.example.com.
143
143
  * const input = {
144
- * "ClientIDList": [
144
+ * ClientIDList: [
145
145
  * "my-application-id"
146
146
  * ],
147
- * "ThumbprintList": [
147
+ * ThumbprintList: [
148
148
  * "3768084dfb3d2b68b7897bf5f565da8efEXAMPLE"
149
149
  * ],
150
- * "Url": "https://server.example.com"
150
+ * Url: "https://server.example.com"
151
151
  * };
152
152
  * const command = new CreateOpenIDConnectProviderCommand(input);
153
153
  * const response = await client.send(command);
154
- * /* response ==
154
+ * /* response is
155
155
  * {
156
- * "OpenIDConnectProviderArn": "arn:aws:iam::123456789012:oidc-provider/server.example.com"
156
+ * OpenIDConnectProviderArn: "arn:aws:iam::123456789012:oidc-provider/server.example.com"
157
157
  * }
158
158
  * *\/
159
- * // example id: 4e4a6bff-cc97-4406-922e-0ab4a82cdb63
160
159
  * ```
161
160
  *
161
+ * @public
162
162
  */
163
163
  export declare class CreateOpenIDConnectProviderCommand extends CreateOpenIDConnectProviderCommand_base {
164
164
  /** @internal type navigation helper, not in runtime. */
@@ -115,6 +115,7 @@ declare const CreatePolicyCommand_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 CreatePolicyCommand extends CreatePolicyCommand_base {
@@ -88,6 +88,7 @@ declare const CreatePolicyVersionCommand_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 CreatePolicyVersionCommand extends CreatePolicyVersionCommand_base {
@@ -116,32 +116,32 @@ declare const CreateRoleCommand_base: {
116
116
  * @throws {@link IAMServiceException}
117
117
  * <p>Base exception class for all service exceptions from IAM service.</p>
118
118
  *
119
- * @public
119
+ *
120
120
  * @example To create an IAM role
121
121
  * ```javascript
122
122
  * // The following command creates a role named Test-Role and attaches a trust policy that you must convert from JSON to a string. Upon success, the response includes the same policy as a URL-encoded JSON string.
123
123
  * const input = {
124
- * "AssumeRolePolicyDocument": "<Stringified-JSON>",
125
- * "Path": "/",
126
- * "RoleName": "Test-Role"
124
+ * AssumeRolePolicyDocument: "<Stringified-JSON>",
125
+ * Path: "/",
126
+ * RoleName: "Test-Role"
127
127
  * };
128
128
  * const command = new CreateRoleCommand(input);
129
129
  * const response = await client.send(command);
130
- * /* response ==
130
+ * /* response is
131
131
  * {
132
- * "Role": {
133
- * "Arn": "arn:aws:iam::123456789012:role/Test-Role",
134
- * "AssumeRolePolicyDocument": "<URL-encoded-JSON>",
135
- * "CreateDate": "2013-06-07T20:43:32.821Z",
136
- * "Path": "/",
137
- * "RoleId": "AKIAIOSFODNN7EXAMPLE",
138
- * "RoleName": "Test-Role"
132
+ * Role: {
133
+ * Arn: "arn:aws:iam::123456789012:role/Test-Role",
134
+ * AssumeRolePolicyDocument: "<URL-encoded-JSON>",
135
+ * CreateDate: "2013-06-07T20:43:32.821Z",
136
+ * Path: "/",
137
+ * RoleId: "AKIAIOSFODNN7EXAMPLE",
138
+ * RoleName: "Test-Role"
139
139
  * }
140
140
  * }
141
141
  * *\/
142
- * // example id: eaaa4b5f-51f1-4f73-b0d3-30127040eff8
143
142
  * ```
144
143
  *
144
+ * @public
145
145
  */
146
146
  export declare class CreateRoleCommand extends CreateRoleCommand_base {
147
147
  /** @internal type navigation helper, not in runtime. */
@@ -106,6 +106,7 @@ declare const CreateSAMLProviderCommand_base: {
106
106
  * @throws {@link IAMServiceException}
107
107
  * <p>Base exception class for all service exceptions from IAM service.</p>
108
108
  *
109
+ *
109
110
  * @public
110
111
  */
111
112
  export declare class CreateSAMLProviderCommand extends CreateSAMLProviderCommand_base {
@@ -103,6 +103,7 @@ declare const CreateServiceLinkedRoleCommand_base: {
103
103
  * @throws {@link IAMServiceException}
104
104
  * <p>Base exception class for all service exceptions from IAM service.</p>
105
105
  *
106
+ *
106
107
  * @public
107
108
  */
108
109
  export declare class CreateServiceLinkedRoleCommand extends CreateServiceLinkedRoleCommand_base {
@@ -84,6 +84,7 @@ declare const CreateServiceSpecificCredentialCommand_base: {
84
84
  * @throws {@link IAMServiceException}
85
85
  * <p>Base exception class for all service exceptions from IAM service.</p>
86
86
  *
87
+ *
87
88
  * @public
88
89
  */
89
90
  export declare class CreateServiceSpecificCredentialCommand extends CreateServiceSpecificCredentialCommand_base {
@@ -105,29 +105,29 @@ declare const CreateUserCommand_base: {
105
105
  * @throws {@link IAMServiceException}
106
106
  * <p>Base exception class for all service exceptions from IAM service.</p>
107
107
  *
108
- * @public
108
+ *
109
109
  * @example To create an IAM user
110
110
  * ```javascript
111
111
  * // The following create-user command creates an IAM user named Bob in the current account.
112
112
  * const input = {
113
- * "UserName": "Bob"
113
+ * UserName: "Bob"
114
114
  * };
115
115
  * const command = new CreateUserCommand(input);
116
116
  * const response = await client.send(command);
117
- * /* response ==
117
+ * /* response is
118
118
  * {
119
- * "User": {
120
- * "Arn": "arn:aws:iam::123456789012:user/Bob",
121
- * "CreateDate": "2013-06-08T03:20:41.270Z",
122
- * "Path": "/",
123
- * "UserId": "AKIAIOSFODNN7EXAMPLE",
124
- * "UserName": "Bob"
119
+ * User: {
120
+ * Arn: "arn:aws:iam::123456789012:user/Bob",
121
+ * CreateDate: "2013-06-08T03:20:41.270Z",
122
+ * Path: "/",
123
+ * UserId: "AKIAIOSFODNN7EXAMPLE",
124
+ * UserName: "Bob"
125
125
  * }
126
126
  * }
127
127
  * *\/
128
- * // example id: eb15f90b-e5f5-4af8-a594-e4e82b181a62
129
128
  * ```
130
129
  *
130
+ * @public
131
131
  */
132
132
  export declare class CreateUserCommand extends CreateUserCommand_base {
133
133
  /** @internal type navigation helper, not in runtime. */
@@ -122,6 +122,7 @@ declare const CreateVirtualMFADeviceCommand_base: {
122
122
  * @throws {@link IAMServiceException}
123
123
  * <p>Base exception class for all service exceptions from IAM service.</p>
124
124
  *
125
+ *
125
126
  * @public
126
127
  */
127
128
  export declare class CreateVirtualMFADeviceCommand extends CreateVirtualMFADeviceCommand_base {
@@ -79,6 +79,7 @@ declare const DeactivateMFADeviceCommand_base: {
79
79
  * @throws {@link IAMServiceException}
80
80
  * <p>Base exception class for all service exceptions from IAM service.</p>
81
81
  *
82
+ *
82
83
  * @public
83
84
  */
84
85
  export declare class DeactivateMFADeviceCommand extends DeactivateMFADeviceCommand_base {
@@ -69,19 +69,22 @@ declare const DeleteAccessKeyCommand_base: {
69
69
  * @throws {@link IAMServiceException}
70
70
  * <p>Base exception class for all service exceptions from IAM service.</p>
71
71
  *
72
- * @public
72
+ *
73
73
  * @example To delete an access key for an IAM user
74
74
  * ```javascript
75
75
  * // The following command deletes one access key (access key ID and secret access key) assigned to the IAM user named Bob.
76
76
  * const input = {
77
- * "AccessKeyId": "AKIDPMS9RO4H3FEXAMPLE",
78
- * "UserName": "Bob"
77
+ * AccessKeyId: "AKIDPMS9RO4H3FEXAMPLE",
78
+ * UserName: "Bob"
79
79
  * };
80
80
  * const command = new DeleteAccessKeyCommand(input);
81
- * await client.send(command);
82
- * // example id: 61a785a7-d30a-415a-ae18-ab9236e56871
81
+ * const response = await client.send(command);
82
+ * /* response is
83
+ * { /* metadata only *\/ }
84
+ * *\/
83
85
  * ```
84
86
  *
87
+ * @public
85
88
  */
86
89
  export declare class DeleteAccessKeyCommand extends DeleteAccessKeyCommand_base {
87
90
  /** @internal type navigation helper, not in runtime. */
@@ -71,18 +71,21 @@ declare const DeleteAccountAliasCommand_base: {
71
71
  * @throws {@link IAMServiceException}
72
72
  * <p>Base exception class for all service exceptions from IAM service.</p>
73
73
  *
74
- * @public
74
+ *
75
75
  * @example To delete an account alias
76
76
  * ```javascript
77
77
  * // The following command removes the alias mycompany from the current AWS account:
78
78
  * const input = {
79
- * "AccountAlias": "mycompany"
79
+ * AccountAlias: "mycompany"
80
80
  * };
81
81
  * const command = new DeleteAccountAliasCommand(input);
82
- * await client.send(command);
83
- * // example id: 7abeca65-04a8-4500-a890-47f1092bf766
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 DeleteAccountAliasCommand extends DeleteAccountAliasCommand_base {
88
91
  /** @internal type navigation helper, not in runtime. */
@@ -61,16 +61,19 @@ declare const DeleteAccountPasswordPolicyCommand_base: {
61
61
  * @throws {@link IAMServiceException}
62
62
  * <p>Base exception class for all service exceptions from IAM service.</p>
63
63
  *
64
- * @public
64
+ *
65
65
  * @example To delete the current account password policy
66
66
  * ```javascript
67
67
  * // The following command removes the password policy from the current AWS account:
68
- * const input = {};
68
+ * const input = { /* empty *\/ };
69
69
  * const command = new DeleteAccountPasswordPolicyCommand(input);
70
- * await client.send(command);
71
- * // example id: 9ddf755e-495c-49bc-ae3b-ea6cc9b8ebcf
70
+ * const response = await client.send(command);
71
+ * /* response is
72
+ * { /* metadata only *\/ }
73
+ * *\/
72
74
  * ```
73
75
  *
76
+ * @public
74
77
  */
75
78
  export declare class DeleteAccountPasswordPolicyCommand extends DeleteAccountPasswordPolicyCommand_base {
76
79
  /** @internal type navigation helper, not in runtime. */
@@ -69,6 +69,7 @@ declare const DeleteGroupCommand_base: {
69
69
  * @throws {@link IAMServiceException}
70
70
  * <p>Base exception class for all service exceptions from IAM service.</p>
71
71
  *
72
+ *
72
73
  * @public
73
74
  */
74
75
  export declare class DeleteGroupCommand extends DeleteGroupCommand_base {
@@ -70,19 +70,22 @@ declare const DeleteGroupPolicyCommand_base: {
70
70
  * @throws {@link IAMServiceException}
71
71
  * <p>Base exception class for all service exceptions from IAM service.</p>
72
72
  *
73
- * @public
73
+ *
74
74
  * @example To delete a policy from an IAM group
75
75
  * ```javascript
76
76
  * // The following command deletes the policy named ExamplePolicy from the group named Admins:
77
77
  * const input = {
78
- * "GroupName": "Admins",
79
- * "PolicyName": "ExamplePolicy"
78
+ * GroupName: "Admins",
79
+ * PolicyName: "ExamplePolicy"
80
80
  * };
81
81
  * const command = new DeleteGroupPolicyCommand(input);
82
- * await client.send(command);
83
- * // example id: e683f2bd-98a4-4fe0-bb66-33169c692d4a
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 DeleteGroupPolicyCommand extends DeleteGroupPolicyCommand_base {
88
91
  /** @internal type navigation helper, not in runtime. */
@@ -77,18 +77,21 @@ declare const DeleteInstanceProfileCommand_base: {
77
77
  * @throws {@link IAMServiceException}
78
78
  * <p>Base exception class for all service exceptions from IAM service.</p>
79
79
  *
80
- * @public
80
+ *
81
81
  * @example To delete an instance profile
82
82
  * ```javascript
83
83
  * // The following command deletes the instance profile named ExampleInstanceProfile
84
84
  * const input = {
85
- * "InstanceProfileName": "ExampleInstanceProfile"
85
+ * InstanceProfileName: "ExampleInstanceProfile"
86
86
  * };
87
87
  * const command = new DeleteInstanceProfileCommand(input);
88
- * await client.send(command);
89
- * // example id: 12d74fb8-3433-49db-8171-a1fc764e354d
88
+ * const response = await client.send(command);
89
+ * /* response is
90
+ * { /* metadata only *\/ }
91
+ * *\/
90
92
  * ```
91
93
  *
94
+ * @public
92
95
  */
93
96
  export declare class DeleteInstanceProfileCommand extends DeleteInstanceProfileCommand_base {
94
97
  /** @internal type navigation helper, not in runtime. */
@@ -82,18 +82,21 @@ declare const DeleteLoginProfileCommand_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 delete a password for an IAM user
87
87
  * ```javascript
88
88
  * // The following command deletes the password for the IAM user named Bob.
89
89
  * const input = {
90
- * "UserName": "Bob"
90
+ * UserName: "Bob"
91
91
  * };
92
92
  * const command = new DeleteLoginProfileCommand(input);
93
- * await client.send(command);
94
- * // example id: 1fe57059-fc73-42e2-b992-517b7d573b5c
93
+ * const response = await client.send(command);
94
+ * /* response is
95
+ * { /* metadata only *\/ }
96
+ * *\/
95
97
  * ```
96
98
  *
99
+ * @public
97
100
  */
98
101
  export declare class DeleteLoginProfileCommand extends DeleteLoginProfileCommand_base {
99
102
  /** @internal type navigation helper, not in runtime. */
@@ -69,6 +69,7 @@ declare const DeleteOpenIDConnectProviderCommand_base: {
69
69
  * @throws {@link IAMServiceException}
70
70
  * <p>Base exception class for all service exceptions from IAM service.</p>
71
71
  *
72
+ *
72
73
  * @public
73
74
  */
74
75
  export declare class DeleteOpenIDConnectProviderCommand extends DeleteOpenIDConnectProviderCommand_base {
@@ -96,6 +96,7 @@ declare const DeletePolicyCommand_base: {
96
96
  * @throws {@link IAMServiceException}
97
97
  * <p>Base exception class for all service exceptions from IAM service.</p>
98
98
  *
99
+ *
99
100
  * @public
100
101
  */
101
102
  export declare class DeletePolicyCommand extends DeletePolicyCommand_base {
@@ -78,6 +78,7 @@ declare const DeletePolicyVersionCommand_base: {
78
78
  * @throws {@link IAMServiceException}
79
79
  * <p>Base exception class for all service exceptions from IAM service.</p>
80
80
  *
81
+ *
81
82
  * @public
82
83
  */
83
84
  export declare class DeletePolicyVersionCommand extends DeletePolicyVersionCommand_base {
@@ -101,18 +101,21 @@ declare const DeleteRoleCommand_base: {
101
101
  * @throws {@link IAMServiceException}
102
102
  * <p>Base exception class for all service exceptions from IAM service.</p>
103
103
  *
104
- * @public
104
+ *
105
105
  * @example To delete an IAM role
106
106
  * ```javascript
107
107
  * // The following command removes the role named Test-Role.
108
108
  * const input = {
109
- * "RoleName": "Test-Role"
109
+ * RoleName: "Test-Role"
110
110
  * };
111
111
  * const command = new DeleteRoleCommand(input);
112
- * await client.send(command);
113
- * // example id: 053cdf74-9bda-44b8-bdbb-140fd5a32603
112
+ * const response = await client.send(command);
113
+ * /* response is
114
+ * { /* metadata only *\/ }
115
+ * *\/
114
116
  * ```
115
117
  *
118
+ * @public
116
119
  */
117
120
  export declare class DeleteRoleCommand extends DeleteRoleCommand_base {
118
121
  /** @internal type navigation helper, not in runtime. */
@@ -72,6 +72,7 @@ declare const DeleteRolePermissionsBoundaryCommand_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 DeleteRolePermissionsBoundaryCommand extends DeleteRolePermissionsBoundaryCommand_base {
@@ -76,19 +76,22 @@ declare const DeleteRolePolicyCommand_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 remove a policy from an IAM role
81
81
  * ```javascript
82
82
  * // The following command removes the policy named ExamplePolicy from the role named Test-Role.
83
83
  * const input = {
84
- * "PolicyName": "ExamplePolicy",
85
- * "RoleName": "Test-Role"
84
+ * PolicyName: "ExamplePolicy",
85
+ * RoleName: "Test-Role"
86
86
  * };
87
87
  * const command = new DeleteRolePolicyCommand(input);
88
- * await client.send(command);
89
- * // example id: 9c667336-fde3-462c-b8f3-950800821e27
88
+ * const response = await client.send(command);
89
+ * /* response is
90
+ * { /* metadata only *\/ }
91
+ * *\/
90
92
  * ```
91
93
  *
94
+ * @public
92
95
  */
93
96
  export declare class DeleteRolePolicyCommand extends DeleteRolePolicyCommand_base {
94
97
  /** @internal type navigation helper, not in runtime. */
@@ -74,6 +74,7 @@ declare const DeleteSAMLProviderCommand_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 DeleteSAMLProviderCommand extends DeleteSAMLProviderCommand_base {
@@ -61,6 +61,7 @@ declare const DeleteSSHPublicKeyCommand_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 DeleteSSHPublicKeyCommand extends DeleteSSHPublicKeyCommand_base {
@@ -82,6 +82,7 @@ declare const DeleteServerCertificateCommand_base: {
82
82
  * @throws {@link IAMServiceException}
83
83
  * <p>Base exception class for all service exceptions from IAM service.</p>
84
84
  *
85
+ *
85
86
  * @public
86
87
  */
87
88
  export declare class DeleteServerCertificateCommand extends DeleteServerCertificateCommand_base {
@@ -82,6 +82,7 @@ declare const DeleteServiceLinkedRoleCommand_base: {
82
82
  * @throws {@link IAMServiceException}
83
83
  * <p>Base exception class for all service exceptions from IAM service.</p>
84
84
  *
85
+ *
85
86
  * @public
86
87
  */
87
88
  export declare class DeleteServiceLinkedRoleCommand extends DeleteServiceLinkedRoleCommand_base {
@@ -57,6 +57,7 @@ declare const DeleteServiceSpecificCredentialCommand_base: {
57
57
  * @throws {@link IAMServiceException}
58
58
  * <p>Base exception class for all service exceptions from IAM service.</p>
59
59
  *
60
+ *
60
61
  * @public
61
62
  */
62
63
  export declare class DeleteServiceSpecificCredentialCommand extends DeleteServiceSpecificCredentialCommand_base {
@@ -73,19 +73,22 @@ declare const DeleteSigningCertificateCommand_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 delete a signing certificate for an IAM user
78
78
  * ```javascript
79
79
  * // The following command deletes the specified signing certificate for the IAM user named Anika.
80
80
  * const input = {
81
- * "CertificateId": "TA7SMP42TDN5Z26OBPJE7EXAMPLE",
82
- * "UserName": "Anika"
81
+ * CertificateId: "TA7SMP42TDN5Z26OBPJE7EXAMPLE",
82
+ * UserName: "Anika"
83
83
  * };
84
84
  * const command = new DeleteSigningCertificateCommand(input);
85
- * await client.send(command);
86
- * // example id: e3357586-ba9c-4070-b35b-d1a899b71987
85
+ * const response = await client.send(command);
86
+ * /* response is
87
+ * { /* metadata only *\/ }
88
+ * *\/
87
89
  * ```
88
90
  *
91
+ * @public
89
92
  */
90
93
  export declare class DeleteSigningCertificateCommand extends DeleteSigningCertificateCommand_base {
91
94
  /** @internal type navigation helper, not in runtime. */
@@ -104,18 +104,21 @@ declare const DeleteUserCommand_base: {
104
104
  * @throws {@link IAMServiceException}
105
105
  * <p>Base exception class for all service exceptions from IAM service.</p>
106
106
  *
107
- * @public
107
+ *
108
108
  * @example To delete an IAM user
109
109
  * ```javascript
110
110
  * // The following command removes the IAM user named Bob from the current account.
111
111
  * const input = {
112
- * "UserName": "Bob"
112
+ * UserName: "Bob"
113
113
  * };
114
114
  * const command = new DeleteUserCommand(input);
115
- * await client.send(command);
116
- * // example id: a13dc3f9-59fe-42d9-abbb-fb98b204fdf0
115
+ * const response = await client.send(command);
116
+ * /* response is
117
+ * { /* metadata only *\/ }
118
+ * *\/
117
119
  * ```
118
120
  *
121
+ * @public
119
122
  */
120
123
  export declare class DeleteUserCommand extends DeleteUserCommand_base {
121
124
  /** @internal type navigation helper, not in runtime. */
@@ -65,6 +65,7 @@ declare const DeleteUserPermissionsBoundaryCommand_base: {
65
65
  * @throws {@link IAMServiceException}
66
66
  * <p>Base exception class for all service exceptions from IAM service.</p>
67
67
  *
68
+ *
68
69
  * @public
69
70
  */
70
71
  export declare class DeleteUserPermissionsBoundaryCommand extends DeleteUserPermissionsBoundaryCommand_base {
@@ -70,19 +70,22 @@ declare const DeleteUserPolicyCommand_base: {
70
70
  * @throws {@link IAMServiceException}
71
71
  * <p>Base exception class for all service exceptions from IAM service.</p>
72
72
  *
73
- * @public
73
+ *
74
74
  * @example To remove a policy from an IAM user
75
75
  * ```javascript
76
76
  * // The following delete-user-policy command removes the specified policy from the IAM user named Juan:
77
77
  * const input = {
78
- * "PolicyName": "ExamplePolicy",
79
- * "UserName": "Juan"
78
+ * PolicyName: "ExamplePolicy",
79
+ * UserName: "Juan"
80
80
  * };
81
81
  * const command = new DeleteUserPolicyCommand(input);
82
- * await client.send(command);
83
- * // example id: 34f07ddc-9bc1-4f52-bc59-cd0a3ccd06c8
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 DeleteUserPolicyCommand extends DeleteUserPolicyCommand_base {
88
91
  /** @internal type navigation helper, not in runtime. */
@@ -76,18 +76,21 @@ declare const DeleteVirtualMFADeviceCommand_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 remove a virtual MFA device
81
81
  * ```javascript
82
82
  * // The following delete-virtual-mfa-device command removes the specified MFA device from the current AWS account.
83
83
  * const input = {
84
- * "SerialNumber": "arn:aws:iam::123456789012:mfa/ExampleName"
84
+ * SerialNumber: "arn:aws:iam::123456789012:mfa/ExampleName"
85
85
  * };
86
86
  * const command = new DeleteVirtualMFADeviceCommand(input);
87
- * await client.send(command);
88
- * // example id: 2933b08b-dbe7-4b89-b8c1-fdf75feea1ee
87
+ * const response = await client.send(command);
88
+ * /* response is
89
+ * { /* metadata only *\/ }
90
+ * *\/
89
91
  * ```
90
92
  *
93
+ * @public
91
94
  */
92
95
  export declare class DeleteVirtualMFADeviceCommand extends DeleteVirtualMFADeviceCommand_base {
93
96
  /** @internal type navigation helper, not in runtime. */
@@ -73,6 +73,7 @@ declare const DetachGroupPolicyCommand_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 DetachGroupPolicyCommand extends DetachGroupPolicyCommand_base {
@@ -79,6 +79,7 @@ declare const DetachRolePolicyCommand_base: {
79
79
  * @throws {@link IAMServiceException}
80
80
  * <p>Base exception class for all service exceptions from IAM service.</p>
81
81
  *
82
+ *
82
83
  * @public
83
84
  */
84
85
  export declare class DetachRolePolicyCommand extends DetachRolePolicyCommand_base {