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