@cdk8s/awscdk-resolver 0.0.404 → 0.0.406

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 (202) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/README.md +10 -2
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +3126 -9437
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.shared.js +7 -0
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormation.js +2 -0
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormationClient.js +2 -0
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ActivateOrganizationsAccessCommand.js +3 -9
  9. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ActivateTypeCommand.js +3 -9
  10. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/BatchDescribeTypeConfigurationsCommand.js +3 -9
  11. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CancelUpdateStackCommand.js +3 -9
  12. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ContinueUpdateRollbackCommand.js +3 -9
  13. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateChangeSetCommand.js +3 -9
  14. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateGeneratedTemplateCommand.js +3 -9
  15. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateStackCommand.js +3 -9
  16. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateStackInstancesCommand.js +3 -9
  17. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateStackRefactorCommand.js +3 -9
  18. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateStackSetCommand.js +3 -9
  19. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeactivateOrganizationsAccessCommand.js +3 -9
  20. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeactivateTypeCommand.js +3 -9
  21. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteChangeSetCommand.js +3 -9
  22. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteGeneratedTemplateCommand.js +3 -9
  23. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteStackCommand.js +3 -9
  24. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteStackInstancesCommand.js +3 -9
  25. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteStackSetCommand.js +3 -9
  26. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeregisterTypeCommand.js +3 -9
  27. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeAccountLimitsCommand.js +3 -9
  28. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeChangeSetCommand.js +3 -9
  29. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeChangeSetHooksCommand.js +3 -9
  30. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeGeneratedTemplateCommand.js +3 -9
  31. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeOrganizationsAccessCommand.js +3 -9
  32. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribePublisherCommand.js +3 -9
  33. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeResourceScanCommand.js +3 -9
  34. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackDriftDetectionStatusCommand.js +3 -9
  35. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackEventsCommand.js +3 -9
  36. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackInstanceCommand.js +3 -9
  37. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackRefactorCommand.js +3 -9
  38. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackResourceCommand.js +3 -9
  39. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackResourceDriftsCommand.js +3 -9
  40. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackResourcesCommand.js +3 -9
  41. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackSetCommand.js +3 -9
  42. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackSetOperationCommand.js +3 -9
  43. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStacksCommand.js +3 -9
  44. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeTypeCommand.js +3 -9
  45. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeTypeRegistrationCommand.js +3 -9
  46. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DetectStackDriftCommand.js +3 -9
  47. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DetectStackResourceDriftCommand.js +3 -9
  48. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DetectStackSetDriftCommand.js +3 -9
  49. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/EstimateTemplateCostCommand.js +3 -9
  50. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ExecuteChangeSetCommand.js +3 -9
  51. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ExecuteStackRefactorCommand.js +3 -9
  52. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/GetGeneratedTemplateCommand.js +3 -9
  53. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/GetHookResultCommand.js +16 -0
  54. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/GetStackPolicyCommand.js +3 -9
  55. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/GetTemplateCommand.js +3 -9
  56. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/GetTemplateSummaryCommand.js +3 -9
  57. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ImportStacksToStackSetCommand.js +3 -9
  58. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListChangeSetsCommand.js +3 -9
  59. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListExportsCommand.js +3 -9
  60. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListGeneratedTemplatesCommand.js +3 -9
  61. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListHookResultsCommand.js +3 -9
  62. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListImportsCommand.js +3 -9
  63. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListResourceScanRelatedResourcesCommand.js +3 -9
  64. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListResourceScanResourcesCommand.js +3 -9
  65. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListResourceScansCommand.js +3 -9
  66. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackInstanceResourceDriftsCommand.js +3 -9
  67. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackInstancesCommand.js +3 -9
  68. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackRefactorActionsCommand.js +3 -9
  69. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackRefactorsCommand.js +3 -9
  70. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackResourcesCommand.js +3 -9
  71. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackSetAutoDeploymentTargetsCommand.js +3 -9
  72. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackSetOperationResultsCommand.js +3 -9
  73. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackSetOperationsCommand.js +3 -9
  74. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackSetsCommand.js +3 -9
  75. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStacksCommand.js +3 -9
  76. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListTypeRegistrationsCommand.js +3 -9
  77. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListTypeVersionsCommand.js +3 -9
  78. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListTypesCommand.js +3 -9
  79. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/PublishTypeCommand.js +3 -9
  80. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/RecordHandlerProgressCommand.js +3 -9
  81. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/RegisterPublisherCommand.js +3 -9
  82. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/RegisterTypeCommand.js +3 -9
  83. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/RollbackStackCommand.js +3 -9
  84. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/SetStackPolicyCommand.js +3 -9
  85. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/SetTypeConfigurationCommand.js +3 -9
  86. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/SetTypeDefaultVersionCommand.js +3 -9
  87. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/SignalResourceCommand.js +3 -9
  88. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/StartResourceScanCommand.js +3 -9
  89. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/StopStackSetOperationCommand.js +3 -9
  90. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/TestTypeCommand.js +3 -9
  91. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateGeneratedTemplateCommand.js +3 -9
  92. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateStackCommand.js +3 -9
  93. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateStackInstancesCommand.js +3 -9
  94. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateStackSetCommand.js +3 -9
  95. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateTerminationProtectionCommand.js +3 -9
  96. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ValidateTemplateCommand.js +3 -9
  97. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/index.js +1 -0
  98. package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_0.js +29 -18
  99. package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_1.js +7 -0
  100. package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeConfig.shared.js +7 -0
  101. package/node_modules/@aws-sdk/client-cloudformation/dist-es/schemas/schemas_0.js +3052 -0
  102. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +15 -8
  103. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +20 -10
  104. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ActivateTypeCommand.d.ts +1 -2
  105. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeChangeSetHooksCommand.d.ts +2 -2
  106. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackEventsCommand.d.ts +2 -2
  107. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/GetHookResultCommand.d.ts +104 -0
  108. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListHookResultsCommand.d.ts +2 -2
  109. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetOperationResultsCommand.d.ts +1 -1
  110. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetOperationsCommand.d.ts +1 -1
  111. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/SetTypeConfigurationCommand.d.ts +1 -2
  112. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/index.d.ts +1 -0
  113. package/node_modules/@aws-sdk/client-cloudformation/dist-types/index.d.ts +7 -7
  114. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +319 -434
  115. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_1.d.ts +328 -27
  116. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +1 -0
  117. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +1 -0
  118. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +1 -0
  119. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.shared.d.ts +1 -0
  120. package/node_modules/@aws-sdk/client-cloudformation/dist-types/schemas/schemas_0.d.ts +456 -0
  121. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormation.d.ts +18 -1
  122. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormationClient.d.ts +10 -0
  123. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackEventsCommand.d.ts +1 -1
  124. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/GetHookResultCommand.d.ts +47 -0
  125. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackSetOperationResultsCommand.d.ts +1 -1
  126. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackSetOperationsCommand.d.ts +1 -1
  127. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/index.d.ts +1 -0
  128. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_0.d.ts +65 -58
  129. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_1.d.ts +54 -0
  130. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  131. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  132. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  133. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  134. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/schemas/schemas_0.d.ts +461 -0
  135. package/node_modules/@aws-sdk/client-cloudformation/package.json +34 -35
  136. package/node_modules/@aws-sdk/client-sso/package.json +32 -32
  137. package/node_modules/@aws-sdk/core/dist-cjs/index.js +11 -1
  138. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +11 -1
  139. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +11 -1
  140. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +11 -1
  141. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +6 -0
  142. package/node_modules/@aws-sdk/core/package.json +11 -11
  143. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  144. package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
  145. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
  146. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  147. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  148. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  149. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
  150. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  151. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  152. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  153. package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
  154. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +2 -0
  155. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +207 -548
  156. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +7 -0
  157. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +2 -0
  158. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js +3 -10
  159. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js +3 -10
  160. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/models_0.js +0 -17
  161. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +7 -0
  162. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +214 -0
  163. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +10 -1
  164. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts +0 -16
  165. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +1 -0
  166. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -0
  167. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +1 -0
  168. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +1 -0
  169. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/schemas/schemas_0.d.ts +26 -0
  170. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +4 -0
  171. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts +0 -10
  172. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +4 -0
  173. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +4 -0
  174. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +4 -0
  175. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +4 -0
  176. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +32 -0
  177. package/node_modules/@aws-sdk/nested-clients/package.json +32 -32
  178. package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
  179. package/node_modules/@aws-sdk/token-providers/package.json +7 -7
  180. package/node_modules/@aws-sdk/types/package.json +2 -2
  181. package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
  182. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  183. package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
  184. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  185. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +43 -2
  186. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +7 -2
  187. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +44 -3
  188. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +1 -1
  189. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js +7 -2
  190. package/node_modules/@smithy/core/package.json +1 -1
  191. package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
  192. package/node_modules/@smithy/middleware-retry/package.json +2 -2
  193. package/node_modules/@smithy/smithy-client/package.json +3 -3
  194. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  195. package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  196. package/package.json +2 -2
  197. package/node_modules/@aws-sdk/client-cloudformation/dist-es/protocols/Aws_query.js +0 -8938
  198. package/node_modules/@aws-sdk/client-cloudformation/dist-types/protocols/Aws_query.d.ts +0 -794
  199. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/protocols/Aws_query.d.ts +0 -1061
  200. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/protocols/Aws_query.js +0 -528
  201. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/protocols/Aws_query.d.ts +0 -20
  202. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/protocols/Aws_query.d.ts +0 -29
@@ -3,29 +3,19 @@
3
3
  var STSClient = require('./STSClient');
4
4
  var smithyClient = require('@smithy/smithy-client');
5
5
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
6
- var middlewareSerde = require('@smithy/middleware-serde');
7
6
  var EndpointParameters = require('./endpoint/EndpointParameters');
8
- var core = require('@aws-sdk/core');
9
- var protocolHttp = require('@smithy/protocol-http');
7
+ var schema = require('@smithy/core/schema');
10
8
  var client = require('@aws-sdk/core/client');
11
9
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
12
10
 
13
- class STSServiceException extends smithyClient.ServiceException {
11
+ let STSServiceException$1 = class STSServiceException extends smithyClient.ServiceException {
14
12
  constructor(options) {
15
13
  super(options);
16
14
  Object.setPrototypeOf(this, STSServiceException.prototype);
17
15
  }
18
- }
16
+ };
19
17
 
20
- const CredentialsFilterSensitiveLog = (obj) => ({
21
- ...obj,
22
- ...(obj.SecretAccessKey && { SecretAccessKey: smithyClient.SENSITIVE_STRING }),
23
- });
24
- const AssumeRoleResponseFilterSensitiveLog = (obj) => ({
25
- ...obj,
26
- ...(obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }),
27
- });
28
- class ExpiredTokenException extends STSServiceException {
18
+ let ExpiredTokenException$1 = class ExpiredTokenException extends STSServiceException$1 {
29
19
  name = "ExpiredTokenException";
30
20
  $fault = "client";
31
21
  constructor(opts) {
@@ -36,8 +26,8 @@ class ExpiredTokenException extends STSServiceException {
36
26
  });
37
27
  Object.setPrototypeOf(this, ExpiredTokenException.prototype);
38
28
  }
39
- }
40
- class MalformedPolicyDocumentException extends STSServiceException {
29
+ };
30
+ let MalformedPolicyDocumentException$1 = class MalformedPolicyDocumentException extends STSServiceException$1 {
41
31
  name = "MalformedPolicyDocumentException";
42
32
  $fault = "client";
43
33
  constructor(opts) {
@@ -48,8 +38,8 @@ class MalformedPolicyDocumentException extends STSServiceException {
48
38
  });
49
39
  Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
50
40
  }
51
- }
52
- class PackedPolicyTooLargeException extends STSServiceException {
41
+ };
42
+ let PackedPolicyTooLargeException$1 = class PackedPolicyTooLargeException extends STSServiceException$1 {
53
43
  name = "PackedPolicyTooLargeException";
54
44
  $fault = "client";
55
45
  constructor(opts) {
@@ -60,8 +50,8 @@ class PackedPolicyTooLargeException extends STSServiceException {
60
50
  });
61
51
  Object.setPrototypeOf(this, PackedPolicyTooLargeException.prototype);
62
52
  }
63
- }
64
- class RegionDisabledException extends STSServiceException {
53
+ };
54
+ let RegionDisabledException$1 = class RegionDisabledException extends STSServiceException$1 {
65
55
  name = "RegionDisabledException";
66
56
  $fault = "client";
67
57
  constructor(opts) {
@@ -72,8 +62,8 @@ class RegionDisabledException extends STSServiceException {
72
62
  });
73
63
  Object.setPrototypeOf(this, RegionDisabledException.prototype);
74
64
  }
75
- }
76
- class IDPRejectedClaimException extends STSServiceException {
65
+ };
66
+ let IDPRejectedClaimException$1 = class IDPRejectedClaimException extends STSServiceException$1 {
77
67
  name = "IDPRejectedClaimException";
78
68
  $fault = "client";
79
69
  constructor(opts) {
@@ -84,8 +74,8 @@ class IDPRejectedClaimException extends STSServiceException {
84
74
  });
85
75
  Object.setPrototypeOf(this, IDPRejectedClaimException.prototype);
86
76
  }
87
- }
88
- class InvalidIdentityTokenException extends STSServiceException {
77
+ };
78
+ let InvalidIdentityTokenException$1 = class InvalidIdentityTokenException extends STSServiceException$1 {
89
79
  name = "InvalidIdentityTokenException";
90
80
  $fault = "client";
91
81
  constructor(opts) {
@@ -96,16 +86,8 @@ class InvalidIdentityTokenException extends STSServiceException {
96
86
  });
97
87
  Object.setPrototypeOf(this, InvalidIdentityTokenException.prototype);
98
88
  }
99
- }
100
- const AssumeRoleWithWebIdentityRequestFilterSensitiveLog = (obj) => ({
101
- ...obj,
102
- ...(obj.WebIdentityToken && { WebIdentityToken: smithyClient.SENSITIVE_STRING }),
103
- });
104
- const AssumeRoleWithWebIdentityResponseFilterSensitiveLog = (obj) => ({
105
- ...obj,
106
- ...(obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }),
107
- });
108
- class IDPCommunicationErrorException extends STSServiceException {
89
+ };
90
+ let IDPCommunicationErrorException$1 = class IDPCommunicationErrorException extends STSServiceException$1 {
109
91
  name = "IDPCommunicationErrorException";
110
92
  $fault = "client";
111
93
  constructor(opts) {
@@ -116,502 +98,43 @@ class IDPCommunicationErrorException extends STSServiceException {
116
98
  });
117
99
  Object.setPrototypeOf(this, IDPCommunicationErrorException.prototype);
118
100
  }
119
- }
120
-
121
- const se_AssumeRoleCommand = async (input, context) => {
122
- const headers = SHARED_HEADERS;
123
- let body;
124
- body = buildFormUrlencodedString({
125
- ...se_AssumeRoleRequest(input),
126
- [_A]: _AR,
127
- [_V]: _,
128
- });
129
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
130
- };
131
- const se_AssumeRoleWithWebIdentityCommand = async (input, context) => {
132
- const headers = SHARED_HEADERS;
133
- let body;
134
- body = buildFormUrlencodedString({
135
- ...se_AssumeRoleWithWebIdentityRequest(input),
136
- [_A]: _ARWWI,
137
- [_V]: _,
138
- });
139
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
140
- };
141
- const de_AssumeRoleCommand = async (output, context) => {
142
- if (output.statusCode >= 300) {
143
- return de_CommandError(output, context);
144
- }
145
- const data = await core.parseXmlBody(output.body, context);
146
- let contents = {};
147
- contents = de_AssumeRoleResponse(data.AssumeRoleResult);
148
- const response = {
149
- $metadata: deserializeMetadata(output),
150
- ...contents,
151
- };
152
- return response;
153
- };
154
- const de_AssumeRoleWithWebIdentityCommand = async (output, context) => {
155
- if (output.statusCode >= 300) {
156
- return de_CommandError(output, context);
157
- }
158
- const data = await core.parseXmlBody(output.body, context);
159
- let contents = {};
160
- contents = de_AssumeRoleWithWebIdentityResponse(data.AssumeRoleWithWebIdentityResult);
161
- const response = {
162
- $metadata: deserializeMetadata(output),
163
- ...contents,
164
- };
165
- return response;
166
- };
167
- const de_CommandError = async (output, context) => {
168
- const parsedOutput = {
169
- ...output,
170
- body: await core.parseXmlErrorBody(output.body, context),
171
- };
172
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
173
- switch (errorCode) {
174
- case "ExpiredTokenException":
175
- case "com.amazonaws.sts#ExpiredTokenException":
176
- throw await de_ExpiredTokenExceptionRes(parsedOutput);
177
- case "MalformedPolicyDocument":
178
- case "com.amazonaws.sts#MalformedPolicyDocumentException":
179
- throw await de_MalformedPolicyDocumentExceptionRes(parsedOutput);
180
- case "PackedPolicyTooLarge":
181
- case "com.amazonaws.sts#PackedPolicyTooLargeException":
182
- throw await de_PackedPolicyTooLargeExceptionRes(parsedOutput);
183
- case "RegionDisabledException":
184
- case "com.amazonaws.sts#RegionDisabledException":
185
- throw await de_RegionDisabledExceptionRes(parsedOutput);
186
- case "IDPCommunicationError":
187
- case "com.amazonaws.sts#IDPCommunicationErrorException":
188
- throw await de_IDPCommunicationErrorExceptionRes(parsedOutput);
189
- case "IDPRejectedClaim":
190
- case "com.amazonaws.sts#IDPRejectedClaimException":
191
- throw await de_IDPRejectedClaimExceptionRes(parsedOutput);
192
- case "InvalidIdentityToken":
193
- case "com.amazonaws.sts#InvalidIdentityTokenException":
194
- throw await de_InvalidIdentityTokenExceptionRes(parsedOutput);
195
- default:
196
- const parsedBody = parsedOutput.body;
197
- return throwDefaultError({
198
- output,
199
- parsedBody: parsedBody.Error,
200
- errorCode,
201
- });
202
- }
203
- };
204
- const de_ExpiredTokenExceptionRes = async (parsedOutput, context) => {
205
- const body = parsedOutput.body;
206
- const deserialized = de_ExpiredTokenException(body.Error);
207
- const exception = new ExpiredTokenException({
208
- $metadata: deserializeMetadata(parsedOutput),
209
- ...deserialized,
210
- });
211
- return smithyClient.decorateServiceException(exception, body);
212
- };
213
- const de_IDPCommunicationErrorExceptionRes = async (parsedOutput, context) => {
214
- const body = parsedOutput.body;
215
- const deserialized = de_IDPCommunicationErrorException(body.Error);
216
- const exception = new IDPCommunicationErrorException({
217
- $metadata: deserializeMetadata(parsedOutput),
218
- ...deserialized,
219
- });
220
- return smithyClient.decorateServiceException(exception, body);
221
101
  };
222
- const de_IDPRejectedClaimExceptionRes = async (parsedOutput, context) => {
223
- const body = parsedOutput.body;
224
- const deserialized = de_IDPRejectedClaimException(body.Error);
225
- const exception = new IDPRejectedClaimException({
226
- $metadata: deserializeMetadata(parsedOutput),
227
- ...deserialized,
228
- });
229
- return smithyClient.decorateServiceException(exception, body);
230
- };
231
- const de_InvalidIdentityTokenExceptionRes = async (parsedOutput, context) => {
232
- const body = parsedOutput.body;
233
- const deserialized = de_InvalidIdentityTokenException(body.Error);
234
- const exception = new InvalidIdentityTokenException({
235
- $metadata: deserializeMetadata(parsedOutput),
236
- ...deserialized,
237
- });
238
- return smithyClient.decorateServiceException(exception, body);
239
- };
240
- const de_MalformedPolicyDocumentExceptionRes = async (parsedOutput, context) => {
241
- const body = parsedOutput.body;
242
- const deserialized = de_MalformedPolicyDocumentException(body.Error);
243
- const exception = new MalformedPolicyDocumentException({
244
- $metadata: deserializeMetadata(parsedOutput),
245
- ...deserialized,
246
- });
247
- return smithyClient.decorateServiceException(exception, body);
248
- };
249
- const de_PackedPolicyTooLargeExceptionRes = async (parsedOutput, context) => {
250
- const body = parsedOutput.body;
251
- const deserialized = de_PackedPolicyTooLargeException(body.Error);
252
- const exception = new PackedPolicyTooLargeException({
253
- $metadata: deserializeMetadata(parsedOutput),
254
- ...deserialized,
255
- });
256
- return smithyClient.decorateServiceException(exception, body);
257
- };
258
- const de_RegionDisabledExceptionRes = async (parsedOutput, context) => {
259
- const body = parsedOutput.body;
260
- const deserialized = de_RegionDisabledException(body.Error);
261
- const exception = new RegionDisabledException({
262
- $metadata: deserializeMetadata(parsedOutput),
263
- ...deserialized,
264
- });
265
- return smithyClient.decorateServiceException(exception, body);
266
- };
267
- const se_AssumeRoleRequest = (input, context) => {
268
- const entries = {};
269
- if (input[_RA] != null) {
270
- entries[_RA] = input[_RA];
271
- }
272
- if (input[_RSN] != null) {
273
- entries[_RSN] = input[_RSN];
274
- }
275
- if (input[_PA] != null) {
276
- const memberEntries = se_policyDescriptorListType(input[_PA]);
277
- if (input[_PA]?.length === 0) {
278
- entries.PolicyArns = [];
279
- }
280
- Object.entries(memberEntries).forEach(([key, value]) => {
281
- const loc = `PolicyArns.${key}`;
282
- entries[loc] = value;
283
- });
284
- }
285
- if (input[_P] != null) {
286
- entries[_P] = input[_P];
287
- }
288
- if (input[_DS] != null) {
289
- entries[_DS] = input[_DS];
290
- }
291
- if (input[_T] != null) {
292
- const memberEntries = se_tagListType(input[_T]);
293
- if (input[_T]?.length === 0) {
294
- entries.Tags = [];
295
- }
296
- Object.entries(memberEntries).forEach(([key, value]) => {
297
- const loc = `Tags.${key}`;
298
- entries[loc] = value;
299
- });
300
- }
301
- if (input[_TTK] != null) {
302
- const memberEntries = se_tagKeyListType(input[_TTK]);
303
- if (input[_TTK]?.length === 0) {
304
- entries.TransitiveTagKeys = [];
305
- }
306
- Object.entries(memberEntries).forEach(([key, value]) => {
307
- const loc = `TransitiveTagKeys.${key}`;
308
- entries[loc] = value;
309
- });
310
- }
311
- if (input[_EI] != null) {
312
- entries[_EI] = input[_EI];
313
- }
314
- if (input[_SN] != null) {
315
- entries[_SN] = input[_SN];
316
- }
317
- if (input[_TC] != null) {
318
- entries[_TC] = input[_TC];
319
- }
320
- if (input[_SI] != null) {
321
- entries[_SI] = input[_SI];
322
- }
323
- if (input[_PC] != null) {
324
- const memberEntries = se_ProvidedContextsListType(input[_PC]);
325
- if (input[_PC]?.length === 0) {
326
- entries.ProvidedContexts = [];
327
- }
328
- Object.entries(memberEntries).forEach(([key, value]) => {
329
- const loc = `ProvidedContexts.${key}`;
330
- entries[loc] = value;
331
- });
332
- }
333
- return entries;
334
- };
335
- const se_AssumeRoleWithWebIdentityRequest = (input, context) => {
336
- const entries = {};
337
- if (input[_RA] != null) {
338
- entries[_RA] = input[_RA];
339
- }
340
- if (input[_RSN] != null) {
341
- entries[_RSN] = input[_RSN];
342
- }
343
- if (input[_WIT] != null) {
344
- entries[_WIT] = input[_WIT];
345
- }
346
- if (input[_PI] != null) {
347
- entries[_PI] = input[_PI];
348
- }
349
- if (input[_PA] != null) {
350
- const memberEntries = se_policyDescriptorListType(input[_PA]);
351
- if (input[_PA]?.length === 0) {
352
- entries.PolicyArns = [];
353
- }
354
- Object.entries(memberEntries).forEach(([key, value]) => {
355
- const loc = `PolicyArns.${key}`;
356
- entries[loc] = value;
357
- });
358
- }
359
- if (input[_P] != null) {
360
- entries[_P] = input[_P];
361
- }
362
- if (input[_DS] != null) {
363
- entries[_DS] = input[_DS];
364
- }
365
- return entries;
366
- };
367
- const se_policyDescriptorListType = (input, context) => {
368
- const entries = {};
369
- let counter = 1;
370
- for (const entry of input) {
371
- if (entry === null) {
372
- continue;
373
- }
374
- const memberEntries = se_PolicyDescriptorType(entry);
375
- Object.entries(memberEntries).forEach(([key, value]) => {
376
- entries[`member.${counter}.${key}`] = value;
377
- });
378
- counter++;
379
- }
380
- return entries;
381
- };
382
- const se_PolicyDescriptorType = (input, context) => {
383
- const entries = {};
384
- if (input[_a] != null) {
385
- entries[_a] = input[_a];
386
- }
387
- return entries;
388
- };
389
- const se_ProvidedContext = (input, context) => {
390
- const entries = {};
391
- if (input[_PAr] != null) {
392
- entries[_PAr] = input[_PAr];
393
- }
394
- if (input[_CA] != null) {
395
- entries[_CA] = input[_CA];
396
- }
397
- return entries;
398
- };
399
- const se_ProvidedContextsListType = (input, context) => {
400
- const entries = {};
401
- let counter = 1;
402
- for (const entry of input) {
403
- if (entry === null) {
404
- continue;
405
- }
406
- const memberEntries = se_ProvidedContext(entry);
407
- Object.entries(memberEntries).forEach(([key, value]) => {
408
- entries[`member.${counter}.${key}`] = value;
409
- });
410
- counter++;
411
- }
412
- return entries;
413
- };
414
- const se_Tag = (input, context) => {
415
- const entries = {};
416
- if (input[_K] != null) {
417
- entries[_K] = input[_K];
418
- }
419
- if (input[_Va] != null) {
420
- entries[_Va] = input[_Va];
421
- }
422
- return entries;
423
- };
424
- const se_tagKeyListType = (input, context) => {
425
- const entries = {};
426
- let counter = 1;
427
- for (const entry of input) {
428
- if (entry === null) {
429
- continue;
430
- }
431
- entries[`member.${counter}`] = entry;
432
- counter++;
433
- }
434
- return entries;
435
- };
436
- const se_tagListType = (input, context) => {
437
- const entries = {};
438
- let counter = 1;
439
- for (const entry of input) {
440
- if (entry === null) {
441
- continue;
442
- }
443
- const memberEntries = se_Tag(entry);
444
- Object.entries(memberEntries).forEach(([key, value]) => {
445
- entries[`member.${counter}.${key}`] = value;
446
- });
447
- counter++;
448
- }
449
- return entries;
450
- };
451
- const de_AssumedRoleUser = (output, context) => {
452
- const contents = {};
453
- if (output[_ARI] != null) {
454
- contents[_ARI] = smithyClient.expectString(output[_ARI]);
455
- }
456
- if (output[_Ar] != null) {
457
- contents[_Ar] = smithyClient.expectString(output[_Ar]);
458
- }
459
- return contents;
460
- };
461
- const de_AssumeRoleResponse = (output, context) => {
462
- const contents = {};
463
- if (output[_C] != null) {
464
- contents[_C] = de_Credentials(output[_C]);
465
- }
466
- if (output[_ARU] != null) {
467
- contents[_ARU] = de_AssumedRoleUser(output[_ARU]);
468
- }
469
- if (output[_PPS] != null) {
470
- contents[_PPS] = smithyClient.strictParseInt32(output[_PPS]);
471
- }
472
- if (output[_SI] != null) {
473
- contents[_SI] = smithyClient.expectString(output[_SI]);
474
- }
475
- return contents;
476
- };
477
- const de_AssumeRoleWithWebIdentityResponse = (output, context) => {
478
- const contents = {};
479
- if (output[_C] != null) {
480
- contents[_C] = de_Credentials(output[_C]);
481
- }
482
- if (output[_SFWIT] != null) {
483
- contents[_SFWIT] = smithyClient.expectString(output[_SFWIT]);
484
- }
485
- if (output[_ARU] != null) {
486
- contents[_ARU] = de_AssumedRoleUser(output[_ARU]);
487
- }
488
- if (output[_PPS] != null) {
489
- contents[_PPS] = smithyClient.strictParseInt32(output[_PPS]);
490
- }
491
- if (output[_Pr] != null) {
492
- contents[_Pr] = smithyClient.expectString(output[_Pr]);
493
- }
494
- if (output[_Au] != null) {
495
- contents[_Au] = smithyClient.expectString(output[_Au]);
496
- }
497
- if (output[_SI] != null) {
498
- contents[_SI] = smithyClient.expectString(output[_SI]);
499
- }
500
- return contents;
501
- };
502
- const de_Credentials = (output, context) => {
503
- const contents = {};
504
- if (output[_AKI] != null) {
505
- contents[_AKI] = smithyClient.expectString(output[_AKI]);
506
- }
507
- if (output[_SAK] != null) {
508
- contents[_SAK] = smithyClient.expectString(output[_SAK]);
509
- }
510
- if (output[_ST] != null) {
511
- contents[_ST] = smithyClient.expectString(output[_ST]);
512
- }
513
- if (output[_E] != null) {
514
- contents[_E] = smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(output[_E]));
515
- }
516
- return contents;
517
- };
518
- const de_ExpiredTokenException = (output, context) => {
519
- const contents = {};
520
- if (output[_m] != null) {
521
- contents[_m] = smithyClient.expectString(output[_m]);
522
- }
523
- return contents;
524
- };
525
- const de_IDPCommunicationErrorException = (output, context) => {
526
- const contents = {};
527
- if (output[_m] != null) {
528
- contents[_m] = smithyClient.expectString(output[_m]);
529
- }
530
- return contents;
531
- };
532
- const de_IDPRejectedClaimException = (output, context) => {
533
- const contents = {};
534
- if (output[_m] != null) {
535
- contents[_m] = smithyClient.expectString(output[_m]);
536
- }
537
- return contents;
538
- };
539
- const de_InvalidIdentityTokenException = (output, context) => {
540
- const contents = {};
541
- if (output[_m] != null) {
542
- contents[_m] = smithyClient.expectString(output[_m]);
543
- }
544
- return contents;
545
- };
546
- const de_MalformedPolicyDocumentException = (output, context) => {
547
- const contents = {};
548
- if (output[_m] != null) {
549
- contents[_m] = smithyClient.expectString(output[_m]);
550
- }
551
- return contents;
552
- };
553
- const de_PackedPolicyTooLargeException = (output, context) => {
554
- const contents = {};
555
- if (output[_m] != null) {
556
- contents[_m] = smithyClient.expectString(output[_m]);
557
- }
558
- return contents;
559
- };
560
- const de_RegionDisabledException = (output, context) => {
561
- const contents = {};
562
- if (output[_m] != null) {
563
- contents[_m] = smithyClient.expectString(output[_m]);
564
- }
565
- return contents;
566
- };
567
- const deserializeMetadata = (output) => ({
568
- httpStatusCode: output.statusCode,
569
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
570
- extendedRequestId: output.headers["x-amz-id-2"],
571
- cfId: output.headers["x-amz-cf-id"],
572
- });
573
- const throwDefaultError = smithyClient.withBaseException(STSServiceException);
574
- const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
575
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
576
- const contents = {
577
- protocol,
578
- hostname,
579
- port,
580
- method: "POST",
581
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
582
- headers,
583
- };
584
- if (body !== undefined) {
585
- contents.body = body;
586
- }
587
- return new protocolHttp.HttpRequest(contents);
588
- };
589
- const SHARED_HEADERS = {
590
- "content-type": "application/x-www-form-urlencoded",
591
- };
592
- const _ = "2011-06-15";
593
- const _A = "Action";
102
+
103
+ const _A = "Arn";
594
104
  const _AKI = "AccessKeyId";
595
105
  const _AR = "AssumeRole";
596
106
  const _ARI = "AssumedRoleId";
107
+ const _ARR = "AssumeRoleRequest";
108
+ const _ARRs = "AssumeRoleResponse";
597
109
  const _ARU = "AssumedRoleUser";
598
110
  const _ARWWI = "AssumeRoleWithWebIdentity";
599
- const _Ar = "Arn";
111
+ const _ARWWIR = "AssumeRoleWithWebIdentityRequest";
112
+ const _ARWWIRs = "AssumeRoleWithWebIdentityResponse";
600
113
  const _Au = "Audience";
601
114
  const _C = "Credentials";
602
115
  const _CA = "ContextAssertion";
603
116
  const _DS = "DurationSeconds";
604
117
  const _E = "Expiration";
605
118
  const _EI = "ExternalId";
119
+ const _ETE = "ExpiredTokenException";
120
+ const _IDPCEE = "IDPCommunicationErrorException";
121
+ const _IDPRCE = "IDPRejectedClaimException";
122
+ const _IITE = "InvalidIdentityTokenException";
606
123
  const _K = "Key";
124
+ const _MPDE = "MalformedPolicyDocumentException";
607
125
  const _P = "Policy";
608
126
  const _PA = "PolicyArns";
609
127
  const _PAr = "ProviderArn";
610
128
  const _PC = "ProvidedContexts";
129
+ const _PCLT = "ProvidedContextsListType";
130
+ const _PCr = "ProvidedContext";
131
+ const _PDT = "PolicyDescriptorType";
611
132
  const _PI = "ProviderId";
612
133
  const _PPS = "PackedPolicySize";
134
+ const _PPTLE = "PackedPolicyTooLargeException";
613
135
  const _Pr = "Provider";
614
136
  const _RA = "RoleArn";
137
+ const _RDE = "RegionDisabledException";
615
138
  const _RSN = "RoleSessionName";
616
139
  const _SAK = "SecretAccessKey";
617
140
  const _SFWIT = "SubjectFromWebIdentityToken";
@@ -621,37 +144,182 @@ const _ST = "SessionToken";
621
144
  const _T = "Tags";
622
145
  const _TC = "TokenCode";
623
146
  const _TTK = "TransitiveTagKeys";
624
- const _V = "Version";
625
- const _Va = "Value";
147
+ const _Ta = "Tag";
148
+ const _V = "Value";
626
149
  const _WIT = "WebIdentityToken";
627
150
  const _a = "arn";
151
+ const _aKST = "accessKeySecretType";
152
+ const _aQE = "awsQueryError";
153
+ const _c = "client";
154
+ const _cTT = "clientTokenType";
155
+ const _e = "error";
156
+ const _hE = "httpError";
628
157
  const _m = "message";
629
- const buildFormUrlencodedString = (formEntries) => Object.entries(formEntries)
630
- .map(([key, value]) => smithyClient.extendedEncodeURIComponent(key) + "=" + smithyClient.extendedEncodeURIComponent(value))
631
- .join("&");
632
- const loadQueryErrorCode = (output, data) => {
633
- if (data.Error?.Code !== undefined) {
634
- return data.Error.Code;
635
- }
636
- if (output.statusCode == 404) {
637
- return "NotFound";
638
- }
639
- };
158
+ const _pDLT = "policyDescriptorListType";
159
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sts";
160
+ const _tLT = "tagListType";
161
+ const n0 = "com.amazonaws.sts";
162
+ var accessKeySecretType = [0, n0, _aKST, 8, 0];
163
+ var clientTokenType = [0, n0, _cTT, 8, 0];
164
+ var AssumedRoleUser = [3, n0, _ARU, 0, [_ARI, _A], [0, 0]];
165
+ var AssumeRoleRequest = [
166
+ 3,
167
+ n0,
168
+ _ARR,
169
+ 0,
170
+ [_RA, _RSN, _PA, _P, _DS, _T, _TTK, _EI, _SN, _TC, _SI, _PC],
171
+ [0, 0, () => policyDescriptorListType, 0, 1, () => tagListType, 64 | 0, 0, 0, 0, 0, () => ProvidedContextsListType],
172
+ ];
173
+ var AssumeRoleResponse = [
174
+ 3,
175
+ n0,
176
+ _ARRs,
177
+ 0,
178
+ [_C, _ARU, _PPS, _SI],
179
+ [[() => Credentials, 0], () => AssumedRoleUser, 1, 0],
180
+ ];
181
+ var AssumeRoleWithWebIdentityRequest = [
182
+ 3,
183
+ n0,
184
+ _ARWWIR,
185
+ 0,
186
+ [_RA, _RSN, _WIT, _PI, _PA, _P, _DS],
187
+ [0, 0, [() => clientTokenType, 0], 0, () => policyDescriptorListType, 0, 1],
188
+ ];
189
+ var AssumeRoleWithWebIdentityResponse = [
190
+ 3,
191
+ n0,
192
+ _ARWWIRs,
193
+ 0,
194
+ [_C, _SFWIT, _ARU, _PPS, _Pr, _Au, _SI],
195
+ [[() => Credentials, 0], 0, () => AssumedRoleUser, 1, 0, 0, 0],
196
+ ];
197
+ var Credentials = [
198
+ 3,
199
+ n0,
200
+ _C,
201
+ 0,
202
+ [_AKI, _SAK, _ST, _E],
203
+ [0, [() => accessKeySecretType, 0], 0, 4],
204
+ ];
205
+ var ExpiredTokenException = [
206
+ -3,
207
+ n0,
208
+ _ETE,
209
+ {
210
+ [_e]: _c,
211
+ [_hE]: 400,
212
+ [_aQE]: [`ExpiredTokenException`, 400],
213
+ },
214
+ [_m],
215
+ [0],
216
+ ];
217
+ schema.TypeRegistry.for(n0).registerError(ExpiredTokenException, ExpiredTokenException$1);
218
+ var IDPCommunicationErrorException = [
219
+ -3,
220
+ n0,
221
+ _IDPCEE,
222
+ {
223
+ [_e]: _c,
224
+ [_hE]: 400,
225
+ [_aQE]: [`IDPCommunicationError`, 400],
226
+ },
227
+ [_m],
228
+ [0],
229
+ ];
230
+ schema.TypeRegistry.for(n0).registerError(IDPCommunicationErrorException, IDPCommunicationErrorException$1);
231
+ var IDPRejectedClaimException = [
232
+ -3,
233
+ n0,
234
+ _IDPRCE,
235
+ {
236
+ [_e]: _c,
237
+ [_hE]: 403,
238
+ [_aQE]: [`IDPRejectedClaim`, 403],
239
+ },
240
+ [_m],
241
+ [0],
242
+ ];
243
+ schema.TypeRegistry.for(n0).registerError(IDPRejectedClaimException, IDPRejectedClaimException$1);
244
+ var InvalidIdentityTokenException = [
245
+ -3,
246
+ n0,
247
+ _IITE,
248
+ {
249
+ [_e]: _c,
250
+ [_hE]: 400,
251
+ [_aQE]: [`InvalidIdentityToken`, 400],
252
+ },
253
+ [_m],
254
+ [0],
255
+ ];
256
+ schema.TypeRegistry.for(n0).registerError(InvalidIdentityTokenException, InvalidIdentityTokenException$1);
257
+ var MalformedPolicyDocumentException = [
258
+ -3,
259
+ n0,
260
+ _MPDE,
261
+ {
262
+ [_e]: _c,
263
+ [_hE]: 400,
264
+ [_aQE]: [`MalformedPolicyDocument`, 400],
265
+ },
266
+ [_m],
267
+ [0],
268
+ ];
269
+ schema.TypeRegistry.for(n0).registerError(MalformedPolicyDocumentException, MalformedPolicyDocumentException$1);
270
+ var PackedPolicyTooLargeException = [
271
+ -3,
272
+ n0,
273
+ _PPTLE,
274
+ {
275
+ [_e]: _c,
276
+ [_hE]: 400,
277
+ [_aQE]: [`PackedPolicyTooLarge`, 400],
278
+ },
279
+ [_m],
280
+ [0],
281
+ ];
282
+ schema.TypeRegistry.for(n0).registerError(PackedPolicyTooLargeException, PackedPolicyTooLargeException$1);
283
+ var PolicyDescriptorType = [3, n0, _PDT, 0, [_a], [0]];
284
+ var ProvidedContext = [3, n0, _PCr, 0, [_PAr, _CA], [0, 0]];
285
+ var RegionDisabledException = [
286
+ -3,
287
+ n0,
288
+ _RDE,
289
+ {
290
+ [_e]: _c,
291
+ [_hE]: 403,
292
+ [_aQE]: [`RegionDisabledException`, 403],
293
+ },
294
+ [_m],
295
+ [0],
296
+ ];
297
+ schema.TypeRegistry.for(n0).registerError(RegionDisabledException, RegionDisabledException$1);
298
+ var Tag = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
299
+ var STSServiceException = [-3, _s, "STSServiceException", 0, [], []];
300
+ schema.TypeRegistry.for(_s).registerError(STSServiceException, STSServiceException$1);
301
+ var policyDescriptorListType = [1, n0, _pDLT, 0, () => PolicyDescriptorType];
302
+ var ProvidedContextsListType = [1, n0, _PCLT, 0, () => ProvidedContext];
303
+ var tagListType = [1, n0, _tLT, 0, () => Tag];
304
+ var AssumeRole = [9, n0, _AR, 0, () => AssumeRoleRequest, () => AssumeRoleResponse];
305
+ var AssumeRoleWithWebIdentity = [
306
+ 9,
307
+ n0,
308
+ _ARWWI,
309
+ 0,
310
+ () => AssumeRoleWithWebIdentityRequest,
311
+ () => AssumeRoleWithWebIdentityResponse,
312
+ ];
640
313
 
641
314
  class AssumeRoleCommand extends smithyClient.Command
642
315
  .classBuilder()
643
316
  .ep(EndpointParameters.commonParams)
644
317
  .m(function (Command, cs, config, o) {
645
- return [
646
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
647
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
648
- ];
318
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
649
319
  })
650
320
  .s("AWSSecurityTokenServiceV20110615", "AssumeRole", {})
651
321
  .n("STSClient", "AssumeRoleCommand")
652
- .f(void 0, AssumeRoleResponseFilterSensitiveLog)
653
- .ser(se_AssumeRoleCommand)
654
- .de(de_AssumeRoleCommand)
322
+ .sc(AssumeRole)
655
323
  .build() {
656
324
  }
657
325
 
@@ -659,16 +327,11 @@ class AssumeRoleWithWebIdentityCommand extends smithyClient.Command
659
327
  .classBuilder()
660
328
  .ep(EndpointParameters.commonParams)
661
329
  .m(function (Command, cs, config, o) {
662
- return [
663
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
664
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
665
- ];
330
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
666
331
  })
667
332
  .s("AWSSecurityTokenServiceV20110615", "AssumeRoleWithWebIdentity", {})
668
333
  .n("STSClient", "AssumeRoleWithWebIdentityCommand")
669
- .f(AssumeRoleWithWebIdentityRequestFilterSensitiveLog, AssumeRoleWithWebIdentityResponseFilterSensitiveLog)
670
- .ser(se_AssumeRoleWithWebIdentityCommand)
671
- .de(de_AssumeRoleWithWebIdentityCommand)
334
+ .sc(AssumeRoleWithWebIdentity)
672
335
  .build() {
673
336
  }
674
337
 
@@ -804,20 +467,16 @@ Object.defineProperty(exports, "$Command", {
804
467
  get: function () { return smithyClient.Command; }
805
468
  });
806
469
  exports.AssumeRoleCommand = AssumeRoleCommand;
807
- exports.AssumeRoleResponseFilterSensitiveLog = AssumeRoleResponseFilterSensitiveLog;
808
470
  exports.AssumeRoleWithWebIdentityCommand = AssumeRoleWithWebIdentityCommand;
809
- exports.AssumeRoleWithWebIdentityRequestFilterSensitiveLog = AssumeRoleWithWebIdentityRequestFilterSensitiveLog;
810
- exports.AssumeRoleWithWebIdentityResponseFilterSensitiveLog = AssumeRoleWithWebIdentityResponseFilterSensitiveLog;
811
- exports.CredentialsFilterSensitiveLog = CredentialsFilterSensitiveLog;
812
- exports.ExpiredTokenException = ExpiredTokenException;
813
- exports.IDPCommunicationErrorException = IDPCommunicationErrorException;
814
- exports.IDPRejectedClaimException = IDPRejectedClaimException;
815
- exports.InvalidIdentityTokenException = InvalidIdentityTokenException;
816
- exports.MalformedPolicyDocumentException = MalformedPolicyDocumentException;
817
- exports.PackedPolicyTooLargeException = PackedPolicyTooLargeException;
818
- exports.RegionDisabledException = RegionDisabledException;
471
+ exports.ExpiredTokenException = ExpiredTokenException$1;
472
+ exports.IDPCommunicationErrorException = IDPCommunicationErrorException$1;
473
+ exports.IDPRejectedClaimException = IDPRejectedClaimException$1;
474
+ exports.InvalidIdentityTokenException = InvalidIdentityTokenException$1;
475
+ exports.MalformedPolicyDocumentException = MalformedPolicyDocumentException$1;
476
+ exports.PackedPolicyTooLargeException = PackedPolicyTooLargeException$1;
477
+ exports.RegionDisabledException = RegionDisabledException$1;
819
478
  exports.STS = STS;
820
- exports.STSServiceException = STSServiceException;
479
+ exports.STSServiceException = STSServiceException$1;
821
480
  exports.decorateDefaultCredentialProvider = decorateDefaultCredentialProvider;
822
481
  exports.getDefaultRoleAssumer = getDefaultRoleAssumer;
823
482
  exports.getDefaultRoleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity;