@aws-sdk/client-iam 3.186.0 → 3.188.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 (208) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-cjs/models/models_0.js +66 -6
  3. package/dist-cjs/protocols/Aws_query.js +8 -4
  4. package/dist-es/IAM.js +634 -641
  5. package/dist-es/IAMClient.js +22 -28
  6. package/dist-es/commands/AddClientIDToOpenIDConnectProviderCommand.js +22 -29
  7. package/dist-es/commands/AddRoleToInstanceProfileCommand.js +22 -29
  8. package/dist-es/commands/AddUserToGroupCommand.js +22 -29
  9. package/dist-es/commands/AttachGroupPolicyCommand.js +22 -29
  10. package/dist-es/commands/AttachRolePolicyCommand.js +22 -29
  11. package/dist-es/commands/AttachUserPolicyCommand.js +22 -29
  12. package/dist-es/commands/ChangePasswordCommand.js +22 -29
  13. package/dist-es/commands/CreateAccessKeyCommand.js +21 -28
  14. package/dist-es/commands/CreateAccountAliasCommand.js +22 -29
  15. package/dist-es/commands/CreateGroupCommand.js +21 -28
  16. package/dist-es/commands/CreateInstanceProfileCommand.js +21 -28
  17. package/dist-es/commands/CreateLoginProfileCommand.js +21 -28
  18. package/dist-es/commands/CreateOpenIDConnectProviderCommand.js +21 -28
  19. package/dist-es/commands/CreatePolicyCommand.js +21 -28
  20. package/dist-es/commands/CreatePolicyVersionCommand.js +21 -28
  21. package/dist-es/commands/CreateRoleCommand.js +21 -28
  22. package/dist-es/commands/CreateSAMLProviderCommand.js +21 -28
  23. package/dist-es/commands/CreateServiceLinkedRoleCommand.js +21 -28
  24. package/dist-es/commands/CreateServiceSpecificCredentialCommand.js +21 -28
  25. package/dist-es/commands/CreateUserCommand.js +21 -28
  26. package/dist-es/commands/CreateVirtualMFADeviceCommand.js +21 -28
  27. package/dist-es/commands/DeactivateMFADeviceCommand.js +22 -29
  28. package/dist-es/commands/DeleteAccessKeyCommand.js +22 -29
  29. package/dist-es/commands/DeleteAccountAliasCommand.js +22 -29
  30. package/dist-es/commands/DeleteAccountPasswordPolicyCommand.js +23 -30
  31. package/dist-es/commands/DeleteGroupCommand.js +22 -29
  32. package/dist-es/commands/DeleteGroupPolicyCommand.js +22 -29
  33. package/dist-es/commands/DeleteInstanceProfileCommand.js +22 -29
  34. package/dist-es/commands/DeleteLoginProfileCommand.js +22 -29
  35. package/dist-es/commands/DeleteOpenIDConnectProviderCommand.js +22 -29
  36. package/dist-es/commands/DeletePolicyCommand.js +22 -29
  37. package/dist-es/commands/DeletePolicyVersionCommand.js +22 -29
  38. package/dist-es/commands/DeleteRoleCommand.js +22 -29
  39. package/dist-es/commands/DeleteRolePermissionsBoundaryCommand.js +22 -29
  40. package/dist-es/commands/DeleteRolePolicyCommand.js +22 -29
  41. package/dist-es/commands/DeleteSAMLProviderCommand.js +22 -29
  42. package/dist-es/commands/DeleteSSHPublicKeyCommand.js +22 -29
  43. package/dist-es/commands/DeleteServerCertificateCommand.js +22 -29
  44. package/dist-es/commands/DeleteServiceLinkedRoleCommand.js +21 -28
  45. package/dist-es/commands/DeleteServiceSpecificCredentialCommand.js +22 -29
  46. package/dist-es/commands/DeleteSigningCertificateCommand.js +22 -29
  47. package/dist-es/commands/DeleteUserCommand.js +22 -29
  48. package/dist-es/commands/DeleteUserPermissionsBoundaryCommand.js +22 -29
  49. package/dist-es/commands/DeleteUserPolicyCommand.js +22 -29
  50. package/dist-es/commands/DeleteVirtualMFADeviceCommand.js +22 -29
  51. package/dist-es/commands/DetachGroupPolicyCommand.js +22 -29
  52. package/dist-es/commands/DetachRolePolicyCommand.js +22 -29
  53. package/dist-es/commands/DetachUserPolicyCommand.js +22 -29
  54. package/dist-es/commands/EnableMFADeviceCommand.js +22 -29
  55. package/dist-es/commands/GenerateCredentialReportCommand.js +22 -29
  56. package/dist-es/commands/GenerateOrganizationsAccessReportCommand.js +21 -28
  57. package/dist-es/commands/GenerateServiceLastAccessedDetailsCommand.js +21 -28
  58. package/dist-es/commands/GetAccessKeyLastUsedCommand.js +21 -28
  59. package/dist-es/commands/GetAccountAuthorizationDetailsCommand.js +21 -28
  60. package/dist-es/commands/GetAccountPasswordPolicyCommand.js +22 -29
  61. package/dist-es/commands/GetAccountSummaryCommand.js +22 -29
  62. package/dist-es/commands/GetContextKeysForCustomPolicyCommand.js +21 -28
  63. package/dist-es/commands/GetContextKeysForPrincipalPolicyCommand.js +21 -28
  64. package/dist-es/commands/GetCredentialReportCommand.js +22 -29
  65. package/dist-es/commands/GetGroupCommand.js +21 -28
  66. package/dist-es/commands/GetGroupPolicyCommand.js +21 -28
  67. package/dist-es/commands/GetInstanceProfileCommand.js +21 -28
  68. package/dist-es/commands/GetLoginProfileCommand.js +21 -28
  69. package/dist-es/commands/GetOpenIDConnectProviderCommand.js +21 -28
  70. package/dist-es/commands/GetOrganizationsAccessReportCommand.js +21 -28
  71. package/dist-es/commands/GetPolicyCommand.js +21 -28
  72. package/dist-es/commands/GetPolicyVersionCommand.js +21 -28
  73. package/dist-es/commands/GetRoleCommand.js +21 -28
  74. package/dist-es/commands/GetRolePolicyCommand.js +21 -28
  75. package/dist-es/commands/GetSAMLProviderCommand.js +21 -28
  76. package/dist-es/commands/GetSSHPublicKeyCommand.js +21 -28
  77. package/dist-es/commands/GetServerCertificateCommand.js +21 -28
  78. package/dist-es/commands/GetServiceLastAccessedDetailsCommand.js +21 -28
  79. package/dist-es/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.js +21 -28
  80. package/dist-es/commands/GetServiceLinkedRoleDeletionStatusCommand.js +21 -28
  81. package/dist-es/commands/GetUserCommand.js +21 -28
  82. package/dist-es/commands/GetUserPolicyCommand.js +21 -28
  83. package/dist-es/commands/ListAccessKeysCommand.js +21 -28
  84. package/dist-es/commands/ListAccountAliasesCommand.js +21 -28
  85. package/dist-es/commands/ListAttachedGroupPoliciesCommand.js +21 -28
  86. package/dist-es/commands/ListAttachedRolePoliciesCommand.js +21 -28
  87. package/dist-es/commands/ListAttachedUserPoliciesCommand.js +21 -28
  88. package/dist-es/commands/ListEntitiesForPolicyCommand.js +21 -28
  89. package/dist-es/commands/ListGroupPoliciesCommand.js +21 -28
  90. package/dist-es/commands/ListGroupsCommand.js +21 -28
  91. package/dist-es/commands/ListGroupsForUserCommand.js +21 -28
  92. package/dist-es/commands/ListInstanceProfileTagsCommand.js +21 -28
  93. package/dist-es/commands/ListInstanceProfilesCommand.js +21 -28
  94. package/dist-es/commands/ListInstanceProfilesForRoleCommand.js +21 -28
  95. package/dist-es/commands/ListMFADeviceTagsCommand.js +21 -28
  96. package/dist-es/commands/ListMFADevicesCommand.js +21 -28
  97. package/dist-es/commands/ListOpenIDConnectProviderTagsCommand.js +21 -28
  98. package/dist-es/commands/ListOpenIDConnectProvidersCommand.js +21 -28
  99. package/dist-es/commands/ListPoliciesCommand.js +21 -28
  100. package/dist-es/commands/ListPoliciesGrantingServiceAccessCommand.js +21 -28
  101. package/dist-es/commands/ListPolicyTagsCommand.js +21 -28
  102. package/dist-es/commands/ListPolicyVersionsCommand.js +21 -28
  103. package/dist-es/commands/ListRolePoliciesCommand.js +21 -28
  104. package/dist-es/commands/ListRoleTagsCommand.js +21 -28
  105. package/dist-es/commands/ListRolesCommand.js +21 -28
  106. package/dist-es/commands/ListSAMLProviderTagsCommand.js +21 -28
  107. package/dist-es/commands/ListSAMLProvidersCommand.js +21 -28
  108. package/dist-es/commands/ListSSHPublicKeysCommand.js +21 -28
  109. package/dist-es/commands/ListServerCertificateTagsCommand.js +21 -28
  110. package/dist-es/commands/ListServerCertificatesCommand.js +21 -28
  111. package/dist-es/commands/ListServiceSpecificCredentialsCommand.js +21 -28
  112. package/dist-es/commands/ListSigningCertificatesCommand.js +21 -28
  113. package/dist-es/commands/ListUserPoliciesCommand.js +21 -28
  114. package/dist-es/commands/ListUserTagsCommand.js +21 -28
  115. package/dist-es/commands/ListUsersCommand.js +21 -28
  116. package/dist-es/commands/ListVirtualMFADevicesCommand.js +21 -28
  117. package/dist-es/commands/PutGroupPolicyCommand.js +22 -29
  118. package/dist-es/commands/PutRolePermissionsBoundaryCommand.js +22 -29
  119. package/dist-es/commands/PutRolePolicyCommand.js +22 -29
  120. package/dist-es/commands/PutUserPermissionsBoundaryCommand.js +22 -29
  121. package/dist-es/commands/PutUserPolicyCommand.js +22 -29
  122. package/dist-es/commands/RemoveClientIDFromOpenIDConnectProviderCommand.js +22 -29
  123. package/dist-es/commands/RemoveRoleFromInstanceProfileCommand.js +22 -29
  124. package/dist-es/commands/RemoveUserFromGroupCommand.js +22 -29
  125. package/dist-es/commands/ResetServiceSpecificCredentialCommand.js +21 -28
  126. package/dist-es/commands/ResyncMFADeviceCommand.js +22 -29
  127. package/dist-es/commands/SetDefaultPolicyVersionCommand.js +22 -29
  128. package/dist-es/commands/SetSecurityTokenServicePreferencesCommand.js +22 -29
  129. package/dist-es/commands/SimulateCustomPolicyCommand.js +21 -28
  130. package/dist-es/commands/SimulatePrincipalPolicyCommand.js +21 -28
  131. package/dist-es/commands/TagInstanceProfileCommand.js +22 -29
  132. package/dist-es/commands/TagMFADeviceCommand.js +22 -29
  133. package/dist-es/commands/TagOpenIDConnectProviderCommand.js +22 -29
  134. package/dist-es/commands/TagPolicyCommand.js +22 -29
  135. package/dist-es/commands/TagRoleCommand.js +22 -29
  136. package/dist-es/commands/TagSAMLProviderCommand.js +22 -29
  137. package/dist-es/commands/TagServerCertificateCommand.js +22 -29
  138. package/dist-es/commands/TagUserCommand.js +22 -29
  139. package/dist-es/commands/UntagInstanceProfileCommand.js +22 -29
  140. package/dist-es/commands/UntagMFADeviceCommand.js +22 -29
  141. package/dist-es/commands/UntagOpenIDConnectProviderCommand.js +22 -29
  142. package/dist-es/commands/UntagPolicyCommand.js +22 -29
  143. package/dist-es/commands/UntagRoleCommand.js +22 -29
  144. package/dist-es/commands/UntagSAMLProviderCommand.js +22 -29
  145. package/dist-es/commands/UntagServerCertificateCommand.js +22 -29
  146. package/dist-es/commands/UntagUserCommand.js +22 -29
  147. package/dist-es/commands/UpdateAccessKeyCommand.js +22 -29
  148. package/dist-es/commands/UpdateAccountPasswordPolicyCommand.js +22 -29
  149. package/dist-es/commands/UpdateAssumeRolePolicyCommand.js +22 -29
  150. package/dist-es/commands/UpdateGroupCommand.js +22 -29
  151. package/dist-es/commands/UpdateLoginProfileCommand.js +22 -29
  152. package/dist-es/commands/UpdateOpenIDConnectProviderThumbprintCommand.js +22 -29
  153. package/dist-es/commands/UpdateRoleCommand.js +21 -28
  154. package/dist-es/commands/UpdateRoleDescriptionCommand.js +21 -28
  155. package/dist-es/commands/UpdateSAMLProviderCommand.js +21 -28
  156. package/dist-es/commands/UpdateSSHPublicKeyCommand.js +22 -29
  157. package/dist-es/commands/UpdateServerCertificateCommand.js +22 -29
  158. package/dist-es/commands/UpdateServiceSpecificCredentialCommand.js +22 -29
  159. package/dist-es/commands/UpdateSigningCertificateCommand.js +22 -29
  160. package/dist-es/commands/UpdateUserCommand.js +22 -29
  161. package/dist-es/commands/UploadSSHPublicKeyCommand.js +21 -28
  162. package/dist-es/commands/UploadServerCertificateCommand.js +21 -28
  163. package/dist-es/commands/UploadSigningCertificateCommand.js +21 -28
  164. package/dist-es/endpoints.js +8 -8
  165. package/dist-es/models/IAMServiceException.js +5 -10
  166. package/dist-es/models/models_0.js +1086 -497
  167. package/dist-es/models/models_1.js +152 -95
  168. package/dist-es/pagination/GetAccountAuthorizationDetailsPaginator.js +25 -68
  169. package/dist-es/pagination/GetGroupPaginator.js +25 -68
  170. package/dist-es/pagination/ListAccessKeysPaginator.js +25 -68
  171. package/dist-es/pagination/ListAccountAliasesPaginator.js +25 -68
  172. package/dist-es/pagination/ListAttachedGroupPoliciesPaginator.js +25 -68
  173. package/dist-es/pagination/ListAttachedRolePoliciesPaginator.js +25 -68
  174. package/dist-es/pagination/ListAttachedUserPoliciesPaginator.js +25 -68
  175. package/dist-es/pagination/ListEntitiesForPolicyPaginator.js +25 -68
  176. package/dist-es/pagination/ListGroupPoliciesPaginator.js +25 -68
  177. package/dist-es/pagination/ListGroupsForUserPaginator.js +25 -68
  178. package/dist-es/pagination/ListGroupsPaginator.js +25 -68
  179. package/dist-es/pagination/ListInstanceProfilesForRolePaginator.js +25 -68
  180. package/dist-es/pagination/ListInstanceProfilesPaginator.js +25 -68
  181. package/dist-es/pagination/ListMFADevicesPaginator.js +25 -68
  182. package/dist-es/pagination/ListPoliciesPaginator.js +25 -68
  183. package/dist-es/pagination/ListPolicyVersionsPaginator.js +25 -68
  184. package/dist-es/pagination/ListRolePoliciesPaginator.js +25 -68
  185. package/dist-es/pagination/ListRolesPaginator.js +25 -68
  186. package/dist-es/pagination/ListSSHPublicKeysPaginator.js +25 -68
  187. package/dist-es/pagination/ListServerCertificatesPaginator.js +25 -68
  188. package/dist-es/pagination/ListSigningCertificatesPaginator.js +25 -68
  189. package/dist-es/pagination/ListUserPoliciesPaginator.js +25 -68
  190. package/dist-es/pagination/ListUserTagsPaginator.js +25 -68
  191. package/dist-es/pagination/ListUsersPaginator.js +25 -68
  192. package/dist-es/pagination/ListVirtualMFADevicesPaginator.js +25 -68
  193. package/dist-es/pagination/SimulateCustomPolicyPaginator.js +25 -68
  194. package/dist-es/pagination/SimulatePrincipalPolicyPaginator.js +25 -68
  195. package/dist-es/protocols/Aws_query.js +9075 -12381
  196. package/dist-es/runtimeConfig.browser.js +26 -12
  197. package/dist-es/runtimeConfig.js +30 -12
  198. package/dist-es/runtimeConfig.native.js +8 -5
  199. package/dist-es/runtimeConfig.shared.js +8 -11
  200. package/dist-es/waiters/waitForInstanceProfileExists.js +23 -42
  201. package/dist-es/waiters/waitForPolicyExists.js +23 -42
  202. package/dist-es/waiters/waitForRoleExists.js +23 -42
  203. package/dist-es/waiters/waitForUserExists.js +23 -42
  204. package/dist-types/IAM.d.ts +4 -4
  205. package/dist-types/commands/DeleteLoginProfileCommand.d.ts +4 -4
  206. package/dist-types/models/models_0.d.ts +65 -19
  207. package/dist-types/ts3.4/models/models_0.d.ts +53 -35
  208. package/package.json +35 -36
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListUsersRequestFilterSensitiveLog, ListUsersResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryListUsersCommand, serializeAws_queryListUsersCommand } from "../protocols/Aws_query";
6
- var ListUsersCommand = (function (_super) {
7
- __extends(ListUsersCommand, _super);
8
- function ListUsersCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListUsersCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListUsersCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IAMClient";
18
- var commandName = "ListUsersCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IAMClient";
15
+ const commandName = "ListUsersCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListUsersRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListUsersResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListUsersCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryListUsersCommand(input, context);
33
- };
34
- ListUsersCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryListUsersCommand(output, context);
36
- };
37
- return ListUsersCommand;
38
- }($Command));
39
- export { ListUsersCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListVirtualMFADevicesRequestFilterSensitiveLog, ListVirtualMFADevicesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryListVirtualMFADevicesCommand, serializeAws_queryListVirtualMFADevicesCommand, } from "../protocols/Aws_query";
6
- var ListVirtualMFADevicesCommand = (function (_super) {
7
- __extends(ListVirtualMFADevicesCommand, _super);
8
- function ListVirtualMFADevicesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListVirtualMFADevicesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListVirtualMFADevicesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IAMClient";
18
- var commandName = "ListVirtualMFADevicesCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IAMClient";
15
+ const commandName = "ListVirtualMFADevicesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListVirtualMFADevicesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListVirtualMFADevicesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListVirtualMFADevicesCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryListVirtualMFADevicesCommand(input, context);
33
- };
34
- ListVirtualMFADevicesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryListVirtualMFADevicesCommand(output, context);
36
- };
37
- return ListVirtualMFADevicesCommand;
38
- }($Command));
39
- export { ListVirtualMFADevicesCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { PutGroupPolicyRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_queryPutGroupPolicyCommand, serializeAws_queryPutGroupPolicyCommand, } from "../protocols/Aws_query";
6
- var PutGroupPolicyCommand = (function (_super) {
7
- __extends(PutGroupPolicyCommand, _super);
8
- function PutGroupPolicyCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class PutGroupPolicyCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- PutGroupPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IAMClient";
18
- var commandName = "PutGroupPolicyCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IAMClient";
15
+ const commandName = "PutGroupPolicyCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: PutGroupPolicyRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- PutGroupPolicyCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryPutGroupPolicyCommand(input, context);
33
- };
34
- PutGroupPolicyCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryPutGroupPolicyCommand(output, context);
36
- };
37
- return PutGroupPolicyCommand;
38
- }($Command));
39
- export { PutGroupPolicyCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { PutRolePermissionsBoundaryRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryPutRolePermissionsBoundaryCommand, serializeAws_queryPutRolePermissionsBoundaryCommand, } from "../protocols/Aws_query";
6
- var PutRolePermissionsBoundaryCommand = (function (_super) {
7
- __extends(PutRolePermissionsBoundaryCommand, _super);
8
- function PutRolePermissionsBoundaryCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class PutRolePermissionsBoundaryCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- PutRolePermissionsBoundaryCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IAMClient";
18
- var commandName = "PutRolePermissionsBoundaryCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IAMClient";
15
+ const commandName = "PutRolePermissionsBoundaryCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: PutRolePermissionsBoundaryRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- PutRolePermissionsBoundaryCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryPutRolePermissionsBoundaryCommand(input, context);
33
- };
34
- PutRolePermissionsBoundaryCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryPutRolePermissionsBoundaryCommand(output, context);
36
- };
37
- return PutRolePermissionsBoundaryCommand;
38
- }($Command));
39
- export { PutRolePermissionsBoundaryCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { PutRolePolicyRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_queryPutRolePolicyCommand, serializeAws_queryPutRolePolicyCommand, } from "../protocols/Aws_query";
6
- var PutRolePolicyCommand = (function (_super) {
7
- __extends(PutRolePolicyCommand, _super);
8
- function PutRolePolicyCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class PutRolePolicyCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- PutRolePolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IAMClient";
18
- var commandName = "PutRolePolicyCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IAMClient";
15
+ const commandName = "PutRolePolicyCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: PutRolePolicyRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- PutRolePolicyCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryPutRolePolicyCommand(input, context);
33
- };
34
- PutRolePolicyCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryPutRolePolicyCommand(output, context);
36
- };
37
- return PutRolePolicyCommand;
38
- }($Command));
39
- export { PutRolePolicyCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { PutUserPermissionsBoundaryRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryPutUserPermissionsBoundaryCommand, serializeAws_queryPutUserPermissionsBoundaryCommand, } from "../protocols/Aws_query";
6
- var PutUserPermissionsBoundaryCommand = (function (_super) {
7
- __extends(PutUserPermissionsBoundaryCommand, _super);
8
- function PutUserPermissionsBoundaryCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class PutUserPermissionsBoundaryCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- PutUserPermissionsBoundaryCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IAMClient";
18
- var commandName = "PutUserPermissionsBoundaryCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IAMClient";
15
+ const commandName = "PutUserPermissionsBoundaryCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: PutUserPermissionsBoundaryRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- PutUserPermissionsBoundaryCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryPutUserPermissionsBoundaryCommand(input, context);
33
- };
34
- PutUserPermissionsBoundaryCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryPutUserPermissionsBoundaryCommand(output, context);
36
- };
37
- return PutUserPermissionsBoundaryCommand;
38
- }($Command));
39
- export { PutUserPermissionsBoundaryCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { PutUserPolicyRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_queryPutUserPolicyCommand, serializeAws_queryPutUserPolicyCommand, } from "../protocols/Aws_query";
6
- var PutUserPolicyCommand = (function (_super) {
7
- __extends(PutUserPolicyCommand, _super);
8
- function PutUserPolicyCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class PutUserPolicyCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- PutUserPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IAMClient";
18
- var commandName = "PutUserPolicyCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IAMClient";
15
+ const commandName = "PutUserPolicyCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: PutUserPolicyRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- PutUserPolicyCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryPutUserPolicyCommand(input, context);
33
- };
34
- PutUserPolicyCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryPutUserPolicyCommand(output, context);
36
- };
37
- return PutUserPolicyCommand;
38
- }($Command));
39
- export { PutUserPolicyCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { RemoveClientIDFromOpenIDConnectProviderRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryRemoveClientIDFromOpenIDConnectProviderCommand, serializeAws_queryRemoveClientIDFromOpenIDConnectProviderCommand, } from "../protocols/Aws_query";
6
- var RemoveClientIDFromOpenIDConnectProviderCommand = (function (_super) {
7
- __extends(RemoveClientIDFromOpenIDConnectProviderCommand, _super);
8
- function RemoveClientIDFromOpenIDConnectProviderCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class RemoveClientIDFromOpenIDConnectProviderCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- RemoveClientIDFromOpenIDConnectProviderCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IAMClient";
18
- var commandName = "RemoveClientIDFromOpenIDConnectProviderCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IAMClient";
15
+ const commandName = "RemoveClientIDFromOpenIDConnectProviderCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: RemoveClientIDFromOpenIDConnectProviderRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- RemoveClientIDFromOpenIDConnectProviderCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryRemoveClientIDFromOpenIDConnectProviderCommand(input, context);
33
- };
34
- RemoveClientIDFromOpenIDConnectProviderCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryRemoveClientIDFromOpenIDConnectProviderCommand(output, context);
36
- };
37
- return RemoveClientIDFromOpenIDConnectProviderCommand;
38
- }($Command));
39
- export { RemoveClientIDFromOpenIDConnectProviderCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { RemoveRoleFromInstanceProfileRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryRemoveRoleFromInstanceProfileCommand, serializeAws_queryRemoveRoleFromInstanceProfileCommand, } from "../protocols/Aws_query";
6
- var RemoveRoleFromInstanceProfileCommand = (function (_super) {
7
- __extends(RemoveRoleFromInstanceProfileCommand, _super);
8
- function RemoveRoleFromInstanceProfileCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class RemoveRoleFromInstanceProfileCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- RemoveRoleFromInstanceProfileCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IAMClient";
18
- var commandName = "RemoveRoleFromInstanceProfileCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IAMClient";
15
+ const commandName = "RemoveRoleFromInstanceProfileCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: RemoveRoleFromInstanceProfileRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- RemoveRoleFromInstanceProfileCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryRemoveRoleFromInstanceProfileCommand(input, context);
33
- };
34
- RemoveRoleFromInstanceProfileCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryRemoveRoleFromInstanceProfileCommand(output, context);
36
- };
37
- return RemoveRoleFromInstanceProfileCommand;
38
- }($Command));
39
- export { RemoveRoleFromInstanceProfileCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { RemoveUserFromGroupRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_queryRemoveUserFromGroupCommand, serializeAws_queryRemoveUserFromGroupCommand, } from "../protocols/Aws_query";
6
- var RemoveUserFromGroupCommand = (function (_super) {
7
- __extends(RemoveUserFromGroupCommand, _super);
8
- function RemoveUserFromGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class RemoveUserFromGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- RemoveUserFromGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IAMClient";
18
- var commandName = "RemoveUserFromGroupCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IAMClient";
15
+ const commandName = "RemoveUserFromGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: RemoveUserFromGroupRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- RemoveUserFromGroupCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryRemoveUserFromGroupCommand(input, context);
33
- };
34
- RemoveUserFromGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryRemoveUserFromGroupCommand(output, context);
36
- };
37
- return RemoveUserFromGroupCommand;
38
- }($Command));
39
- export { RemoveUserFromGroupCommand };
31
+ }
32
+ }