@cdk8s/awscdk-resolver 0.0.402 → 0.0.404

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 (190) hide show
  1. package/.jsii +4 -4
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/package.json +5 -5
  4. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +277 -270
  5. package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js +2 -0
  6. package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +2 -0
  7. package/node_modules/@aws-sdk/client-sso/dist-es/commands/GetRoleCredentialsCommand.js +3 -10
  8. package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountRolesCommand.js +3 -10
  9. package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountsCommand.js +3 -10
  10. package/node_modules/@aws-sdk/client-sso/dist-es/commands/LogoutCommand.js +3 -10
  11. package/node_modules/@aws-sdk/client-sso/dist-es/models/models_0.js +0 -26
  12. package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.shared.js +2 -0
  13. package/node_modules/@aws-sdk/client-sso/dist-es/schemas/schemas_0.js +265 -0
  14. package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +10 -1
  15. package/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +0 -24
  16. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +1 -0
  17. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +1 -0
  18. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +1 -0
  19. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.shared.d.ts +1 -0
  20. package/node_modules/@aws-sdk/client-sso/dist-types/schemas/schemas_0.d.ts +26 -0
  21. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +4 -0
  22. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/models_0.d.ts +0 -18
  23. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  24. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  25. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  26. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  27. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/schemas/schemas_0.d.ts +32 -0
  28. package/node_modules/@aws-sdk/client-sso/package.json +4 -4
  29. package/node_modules/@aws-sdk/core/dist-cjs/index.js +1 -4
  30. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +1 -4
  31. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +1 -4
  32. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +126 -0
  33. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +1 -1
  34. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +1 -1
  35. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +1 -1
  36. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +1 -1
  37. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +1 -1
  38. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonCodec.d.ts +1 -1
  39. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeDeserializer.d.ts +1 -1
  40. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeSerializer.d.ts +1 -1
  41. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.d.ts +27 -0
  42. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/jsonReviver.d.ts +1 -1
  43. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +1 -1
  44. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsQueryProtocol.d.ts +1 -1
  45. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QueryShapeSerializer.d.ts +1 -1
  46. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +1 -1
  47. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeDeserializer.d.ts +1 -1
  48. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeSerializer.d.ts +1 -1
  49. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.d.ts +17 -0
  50. package/node_modules/@aws-sdk/core/package.json +1 -1
  51. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  52. package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  53. package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
  54. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  55. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  56. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  57. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  58. package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  59. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +246 -310
  60. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +2 -0
  61. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +2 -0
  62. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js +3 -10
  63. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/models_0.js +0 -13
  64. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +2 -0
  65. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +211 -0
  66. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +10 -1
  67. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/models_0.d.ts +0 -8
  68. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +1 -0
  69. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +1 -0
  70. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +1 -0
  71. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +1 -0
  72. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/schemas/schemas_0.d.ts +23 -0
  73. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +2 -2
  74. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +4 -3
  75. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts +8 -8
  76. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +4 -0
  77. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/models_0.d.ts +0 -6
  78. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +4 -0
  79. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +4 -0
  80. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +4 -0
  81. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +4 -0
  82. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/schemas/schemas_0.d.ts +28 -0
  83. package/node_modules/@aws-sdk/nested-clients/package.json +4 -4
  84. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  85. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  86. package/node_modules/@smithy/abort-controller/package.json +2 -2
  87. package/node_modules/@smithy/config-resolver/package.json +5 -5
  88. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +4 -1
  89. package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +4 -1
  90. package/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts +3 -3
  91. package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +1 -1
  92. package/node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts +1 -1
  93. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +1 -1
  94. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +1 -1
  95. package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +1 -1
  96. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +1 -1
  97. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +1 -1
  98. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +1 -1
  99. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/ToStringShapeSerializer.d.ts +1 -1
  100. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
  101. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts +1 -1
  102. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ListSchema.d.ts +1 -1
  103. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/MapSchema.d.ts +1 -1
  104. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +1 -1
  105. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/OperationSchema.d.ts +1 -1
  106. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/Schema.d.ts +1 -1
  107. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts +1 -1
  108. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/StructureSchema.d.ts +1 -1
  109. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/sentinels.d.ts +1 -1
  110. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +3 -3
  111. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +1 -1
  112. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +1 -1
  113. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +1 -1
  114. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +1 -1
  115. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +1 -1
  116. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +1 -1
  117. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +1 -1
  118. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +1 -1
  119. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/ToStringShapeSerializer.d.ts +1 -1
  120. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +1 -1
  121. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +1 -1
  122. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +1 -1
  123. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +1 -1
  124. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +1 -1
  125. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts +1 -1
  126. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts +1 -1
  127. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +1 -1
  128. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +1 -1
  129. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/sentinels.d.ts +1 -1
  130. package/node_modules/@smithy/core/package.json +7 -7
  131. package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
  132. package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
  133. package/node_modules/@smithy/hash-node/package.json +2 -2
  134. package/node_modules/@smithy/invalid-dependency/package.json +2 -2
  135. package/node_modules/@smithy/middleware-content-length/package.json +3 -3
  136. package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  137. package/node_modules/@smithy/middleware-retry/package.json +8 -8
  138. package/node_modules/@smithy/middleware-serde/package.json +3 -3
  139. package/node_modules/@smithy/middleware-stack/package.json +2 -2
  140. package/node_modules/@smithy/node-config-provider/package.json +4 -4
  141. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  142. package/node_modules/@smithy/property-provider/package.json +2 -2
  143. package/node_modules/@smithy/protocol-http/package.json +2 -2
  144. package/node_modules/@smithy/querystring-builder/package.json +2 -2
  145. package/node_modules/@smithy/querystring-parser/package.json +2 -2
  146. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  147. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +2 -3
  148. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +10 -6
  149. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/readFile.js +16 -0
  150. package/node_modules/@smithy/shared-ini-file-loader/dist-es/externalDataInterceptor.js +1 -1
  151. package/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +1 -2
  152. package/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +1 -0
  153. package/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +3 -3
  154. package/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +2 -2
  155. package/node_modules/@smithy/shared-ini-file-loader/dist-es/readFile.js +12 -0
  156. package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +2 -0
  157. package/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +1 -0
  158. package/node_modules/@smithy/shared-ini-file-loader/dist-types/readFile.d.ts +21 -0
  159. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +2 -0
  160. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +1 -0
  161. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/readFile.d.ts +21 -0
  162. package/node_modules/@smithy/shared-ini-file-loader/package.json +5 -5
  163. package/node_modules/@smithy/signature-v4/package.json +4 -4
  164. package/node_modules/@smithy/smithy-client/package.json +7 -7
  165. package/node_modules/@smithy/types/dist-types/schema/schema-deprecated.d.ts +12 -12
  166. package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +5 -5
  167. package/node_modules/@smithy/types/dist-types/schema/static-schemas.d.ts +15 -15
  168. package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema-deprecated.d.ts +12 -12
  169. package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +5 -5
  170. package/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +15 -15
  171. package/node_modules/@smithy/types/package.json +1 -1
  172. package/node_modules/@smithy/url-parser/package.json +3 -3
  173. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
  174. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  175. package/node_modules/@smithy/util-endpoints/package.json +3 -3
  176. package/node_modules/@smithy/util-middleware/package.json +2 -2
  177. package/node_modules/@smithy/util-retry/package.json +3 -3
  178. package/node_modules/@smithy/util-stream/package.json +4 -4
  179. package/node_modules/@smithy/util-waiter/package.json +3 -3
  180. package/package.json +8 -8
  181. package/node_modules/@aws-sdk/client-sso/dist-es/protocols/Aws_restJson1.js +0 -210
  182. package/node_modules/@aws-sdk/client-sso/dist-types/protocols/Aws_restJson1.d.ts +0 -38
  183. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -53
  184. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/protocols/Aws_restJson1.js +0 -257
  185. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/protocols/Aws_restJson1.d.ts +0 -11
  186. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/protocols/Aws_restJson1.d.ts +0 -17
  187. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +0 -17
  188. package/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +0 -13
  189. package/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +0 -7
  190. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +0 -7
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class SSOOIDCClient extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,17 +110,17 @@ class SSOOIDCClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class SSOOIDCServiceException extends smithyClient.ServiceException {
113
+ let SSOOIDCServiceException$1 = class SSOOIDCServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, SSOOIDCServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
120
  const AccessDeniedExceptionReason = {
121
121
  KMS_ACCESS_DENIED: "KMS_AccessDeniedException",
122
122
  };
123
- class AccessDeniedException extends SSOOIDCServiceException {
123
+ let AccessDeniedException$1 = class AccessDeniedException extends SSOOIDCServiceException$1 {
124
124
  name = "AccessDeniedException";
125
125
  $fault = "client";
126
126
  error;
@@ -137,8 +137,8 @@ class AccessDeniedException extends SSOOIDCServiceException {
137
137
  this.reason = opts.reason;
138
138
  this.error_description = opts.error_description;
139
139
  }
140
- }
141
- class AuthorizationPendingException extends SSOOIDCServiceException {
140
+ };
141
+ let AuthorizationPendingException$1 = class AuthorizationPendingException extends SSOOIDCServiceException$1 {
142
142
  name = "AuthorizationPendingException";
143
143
  $fault = "client";
144
144
  error;
@@ -153,20 +153,8 @@ class AuthorizationPendingException extends SSOOIDCServiceException {
153
153
  this.error = opts.error;
154
154
  this.error_description = opts.error_description;
155
155
  }
156
- }
157
- const CreateTokenRequestFilterSensitiveLog = (obj) => ({
158
- ...obj,
159
- ...(obj.clientSecret && { clientSecret: smithyClient.SENSITIVE_STRING }),
160
- ...(obj.refreshToken && { refreshToken: smithyClient.SENSITIVE_STRING }),
161
- ...(obj.codeVerifier && { codeVerifier: smithyClient.SENSITIVE_STRING }),
162
- });
163
- const CreateTokenResponseFilterSensitiveLog = (obj) => ({
164
- ...obj,
165
- ...(obj.accessToken && { accessToken: smithyClient.SENSITIVE_STRING }),
166
- ...(obj.refreshToken && { refreshToken: smithyClient.SENSITIVE_STRING }),
167
- ...(obj.idToken && { idToken: smithyClient.SENSITIVE_STRING }),
168
- });
169
- class ExpiredTokenException extends SSOOIDCServiceException {
156
+ };
157
+ let ExpiredTokenException$1 = class ExpiredTokenException extends SSOOIDCServiceException$1 {
170
158
  name = "ExpiredTokenException";
171
159
  $fault = "client";
172
160
  error;
@@ -181,8 +169,8 @@ class ExpiredTokenException extends SSOOIDCServiceException {
181
169
  this.error = opts.error;
182
170
  this.error_description = opts.error_description;
183
171
  }
184
- }
185
- class InternalServerException extends SSOOIDCServiceException {
172
+ };
173
+ let InternalServerException$1 = class InternalServerException extends SSOOIDCServiceException$1 {
186
174
  name = "InternalServerException";
187
175
  $fault = "server";
188
176
  error;
@@ -197,8 +185,8 @@ class InternalServerException extends SSOOIDCServiceException {
197
185
  this.error = opts.error;
198
186
  this.error_description = opts.error_description;
199
187
  }
200
- }
201
- class InvalidClientException extends SSOOIDCServiceException {
188
+ };
189
+ let InvalidClientException$1 = class InvalidClientException extends SSOOIDCServiceException$1 {
202
190
  name = "InvalidClientException";
203
191
  $fault = "client";
204
192
  error;
@@ -213,8 +201,8 @@ class InvalidClientException extends SSOOIDCServiceException {
213
201
  this.error = opts.error;
214
202
  this.error_description = opts.error_description;
215
203
  }
216
- }
217
- class InvalidGrantException extends SSOOIDCServiceException {
204
+ };
205
+ let InvalidGrantException$1 = class InvalidGrantException extends SSOOIDCServiceException$1 {
218
206
  name = "InvalidGrantException";
219
207
  $fault = "client";
220
208
  error;
@@ -229,14 +217,14 @@ class InvalidGrantException extends SSOOIDCServiceException {
229
217
  this.error = opts.error;
230
218
  this.error_description = opts.error_description;
231
219
  }
232
- }
220
+ };
233
221
  const InvalidRequestExceptionReason = {
234
222
  KMS_DISABLED_KEY: "KMS_DisabledException",
235
223
  KMS_INVALID_KEY_USAGE: "KMS_InvalidKeyUsageException",
236
224
  KMS_INVALID_STATE: "KMS_InvalidStateException",
237
225
  KMS_KEY_NOT_FOUND: "KMS_NotFoundException",
238
226
  };
239
- class InvalidRequestException extends SSOOIDCServiceException {
227
+ let InvalidRequestException$1 = class InvalidRequestException extends SSOOIDCServiceException$1 {
240
228
  name = "InvalidRequestException";
241
229
  $fault = "client";
242
230
  error;
@@ -253,8 +241,8 @@ class InvalidRequestException extends SSOOIDCServiceException {
253
241
  this.reason = opts.reason;
254
242
  this.error_description = opts.error_description;
255
243
  }
256
- }
257
- class InvalidScopeException extends SSOOIDCServiceException {
244
+ };
245
+ let InvalidScopeException$1 = class InvalidScopeException extends SSOOIDCServiceException$1 {
258
246
  name = "InvalidScopeException";
259
247
  $fault = "client";
260
248
  error;
@@ -269,8 +257,8 @@ class InvalidScopeException extends SSOOIDCServiceException {
269
257
  this.error = opts.error;
270
258
  this.error_description = opts.error_description;
271
259
  }
272
- }
273
- class SlowDownException extends SSOOIDCServiceException {
260
+ };
261
+ let SlowDownException$1 = class SlowDownException extends SSOOIDCServiceException$1 {
274
262
  name = "SlowDownException";
275
263
  $fault = "client";
276
264
  error;
@@ -285,8 +273,8 @@ class SlowDownException extends SSOOIDCServiceException {
285
273
  this.error = opts.error;
286
274
  this.error_description = opts.error_description;
287
275
  }
288
- }
289
- class UnauthorizedClientException extends SSOOIDCServiceException {
276
+ };
277
+ let UnauthorizedClientException$1 = class UnauthorizedClientException extends SSOOIDCServiceException$1 {
290
278
  name = "UnauthorizedClientException";
291
279
  $fault = "client";
292
280
  error;
@@ -301,8 +289,8 @@ class UnauthorizedClientException extends SSOOIDCServiceException {
301
289
  this.error = opts.error;
302
290
  this.error_description = opts.error_description;
303
291
  }
304
- }
305
- class UnsupportedGrantTypeException extends SSOOIDCServiceException {
292
+ };
293
+ let UnsupportedGrantTypeException$1 = class UnsupportedGrantTypeException extends SSOOIDCServiceException$1 {
306
294
  name = "UnsupportedGrantTypeException";
307
295
  $fault = "client";
308
296
  error;
@@ -317,274 +305,224 @@ class UnsupportedGrantTypeException extends SSOOIDCServiceException {
317
305
  this.error = opts.error;
318
306
  this.error_description = opts.error_description;
319
307
  }
320
- }
321
-
322
- const se_CreateTokenCommand = async (input, context) => {
323
- const b = core.requestBuilder(input, context);
324
- const headers = {
325
- "content-type": "application/json",
326
- };
327
- b.bp("/token");
328
- let body;
329
- body = JSON.stringify(smithyClient.take(input, {
330
- clientId: [],
331
- clientSecret: [],
332
- code: [],
333
- codeVerifier: [],
334
- deviceCode: [],
335
- grantType: [],
336
- redirectUri: [],
337
- refreshToken: [],
338
- scope: (_) => smithyClient._json(_),
339
- }));
340
- b.m("POST").h(headers).b(body);
341
- return b.build();
342
308
  };
343
- const de_CreateTokenCommand = async (output, context) => {
344
- if (output.statusCode !== 200 && output.statusCode >= 300) {
345
- return de_CommandError(output, context);
346
- }
347
- const contents = smithyClient.map({
348
- $metadata: deserializeMetadata(output),
349
- });
350
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
351
- const doc = smithyClient.take(data, {
352
- accessToken: smithyClient.expectString,
353
- expiresIn: smithyClient.expectInt32,
354
- idToken: smithyClient.expectString,
355
- refreshToken: smithyClient.expectString,
356
- tokenType: smithyClient.expectString,
357
- });
358
- Object.assign(contents, doc);
359
- return contents;
360
- };
361
- const de_CommandError = async (output, context) => {
362
- const parsedOutput = {
363
- ...output,
364
- body: await core$1.parseJsonErrorBody(output.body, context),
365
- };
366
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
367
- switch (errorCode) {
368
- case "AccessDeniedException":
369
- case "com.amazonaws.ssooidc#AccessDeniedException":
370
- throw await de_AccessDeniedExceptionRes(parsedOutput);
371
- case "AuthorizationPendingException":
372
- case "com.amazonaws.ssooidc#AuthorizationPendingException":
373
- throw await de_AuthorizationPendingExceptionRes(parsedOutput);
374
- case "ExpiredTokenException":
375
- case "com.amazonaws.ssooidc#ExpiredTokenException":
376
- throw await de_ExpiredTokenExceptionRes(parsedOutput);
377
- case "InternalServerException":
378
- case "com.amazonaws.ssooidc#InternalServerException":
379
- throw await de_InternalServerExceptionRes(parsedOutput);
380
- case "InvalidClientException":
381
- case "com.amazonaws.ssooidc#InvalidClientException":
382
- throw await de_InvalidClientExceptionRes(parsedOutput);
383
- case "InvalidGrantException":
384
- case "com.amazonaws.ssooidc#InvalidGrantException":
385
- throw await de_InvalidGrantExceptionRes(parsedOutput);
386
- case "InvalidRequestException":
387
- case "com.amazonaws.ssooidc#InvalidRequestException":
388
- throw await de_InvalidRequestExceptionRes(parsedOutput);
389
- case "InvalidScopeException":
390
- case "com.amazonaws.ssooidc#InvalidScopeException":
391
- throw await de_InvalidScopeExceptionRes(parsedOutput);
392
- case "SlowDownException":
393
- case "com.amazonaws.ssooidc#SlowDownException":
394
- throw await de_SlowDownExceptionRes(parsedOutput);
395
- case "UnauthorizedClientException":
396
- case "com.amazonaws.ssooidc#UnauthorizedClientException":
397
- throw await de_UnauthorizedClientExceptionRes(parsedOutput);
398
- case "UnsupportedGrantTypeException":
399
- case "com.amazonaws.ssooidc#UnsupportedGrantTypeException":
400
- throw await de_UnsupportedGrantTypeExceptionRes(parsedOutput);
401
- default:
402
- const parsedBody = parsedOutput.body;
403
- return throwDefaultError({
404
- output,
405
- parsedBody,
406
- errorCode,
407
- });
408
- }
409
- };
410
- const throwDefaultError = smithyClient.withBaseException(SSOOIDCServiceException);
411
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
412
- const contents = smithyClient.map({});
413
- const data = parsedOutput.body;
414
- const doc = smithyClient.take(data, {
415
- error: smithyClient.expectString,
416
- error_description: smithyClient.expectString,
417
- reason: smithyClient.expectString,
418
- });
419
- Object.assign(contents, doc);
420
- const exception = new AccessDeniedException({
421
- $metadata: deserializeMetadata(parsedOutput),
422
- ...contents,
423
- });
424
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
425
- };
426
- const de_AuthorizationPendingExceptionRes = async (parsedOutput, context) => {
427
- const contents = smithyClient.map({});
428
- const data = parsedOutput.body;
429
- const doc = smithyClient.take(data, {
430
- error: smithyClient.expectString,
431
- error_description: smithyClient.expectString,
432
- });
433
- Object.assign(contents, doc);
434
- const exception = new AuthorizationPendingException({
435
- $metadata: deserializeMetadata(parsedOutput),
436
- ...contents,
437
- });
438
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
439
- };
440
- const de_ExpiredTokenExceptionRes = async (parsedOutput, context) => {
441
- const contents = smithyClient.map({});
442
- const data = parsedOutput.body;
443
- const doc = smithyClient.take(data, {
444
- error: smithyClient.expectString,
445
- error_description: smithyClient.expectString,
446
- });
447
- Object.assign(contents, doc);
448
- const exception = new ExpiredTokenException({
449
- $metadata: deserializeMetadata(parsedOutput),
450
- ...contents,
451
- });
452
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
453
- };
454
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
455
- const contents = smithyClient.map({});
456
- const data = parsedOutput.body;
457
- const doc = smithyClient.take(data, {
458
- error: smithyClient.expectString,
459
- error_description: smithyClient.expectString,
460
- });
461
- Object.assign(contents, doc);
462
- const exception = new InternalServerException({
463
- $metadata: deserializeMetadata(parsedOutput),
464
- ...contents,
465
- });
466
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
467
- };
468
- const de_InvalidClientExceptionRes = async (parsedOutput, context) => {
469
- const contents = smithyClient.map({});
470
- const data = parsedOutput.body;
471
- const doc = smithyClient.take(data, {
472
- error: smithyClient.expectString,
473
- error_description: smithyClient.expectString,
474
- });
475
- Object.assign(contents, doc);
476
- const exception = new InvalidClientException({
477
- $metadata: deserializeMetadata(parsedOutput),
478
- ...contents,
479
- });
480
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
481
- };
482
- const de_InvalidGrantExceptionRes = async (parsedOutput, context) => {
483
- const contents = smithyClient.map({});
484
- const data = parsedOutput.body;
485
- const doc = smithyClient.take(data, {
486
- error: smithyClient.expectString,
487
- error_description: smithyClient.expectString,
488
- });
489
- Object.assign(contents, doc);
490
- const exception = new InvalidGrantException({
491
- $metadata: deserializeMetadata(parsedOutput),
492
- ...contents,
493
- });
494
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
495
- };
496
- const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
497
- const contents = smithyClient.map({});
498
- const data = parsedOutput.body;
499
- const doc = smithyClient.take(data, {
500
- error: smithyClient.expectString,
501
- error_description: smithyClient.expectString,
502
- reason: smithyClient.expectString,
503
- });
504
- Object.assign(contents, doc);
505
- const exception = new InvalidRequestException({
506
- $metadata: deserializeMetadata(parsedOutput),
507
- ...contents,
508
- });
509
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
510
- };
511
- const de_InvalidScopeExceptionRes = async (parsedOutput, context) => {
512
- const contents = smithyClient.map({});
513
- const data = parsedOutput.body;
514
- const doc = smithyClient.take(data, {
515
- error: smithyClient.expectString,
516
- error_description: smithyClient.expectString,
517
- });
518
- Object.assign(contents, doc);
519
- const exception = new InvalidScopeException({
520
- $metadata: deserializeMetadata(parsedOutput),
521
- ...contents,
522
- });
523
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
524
- };
525
- const de_SlowDownExceptionRes = async (parsedOutput, context) => {
526
- const contents = smithyClient.map({});
527
- const data = parsedOutput.body;
528
- const doc = smithyClient.take(data, {
529
- error: smithyClient.expectString,
530
- error_description: smithyClient.expectString,
531
- });
532
- Object.assign(contents, doc);
533
- const exception = new SlowDownException({
534
- $metadata: deserializeMetadata(parsedOutput),
535
- ...contents,
536
- });
537
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
538
- };
539
- const de_UnauthorizedClientExceptionRes = async (parsedOutput, context) => {
540
- const contents = smithyClient.map({});
541
- const data = parsedOutput.body;
542
- const doc = smithyClient.take(data, {
543
- error: smithyClient.expectString,
544
- error_description: smithyClient.expectString,
545
- });
546
- Object.assign(contents, doc);
547
- const exception = new UnauthorizedClientException({
548
- $metadata: deserializeMetadata(parsedOutput),
549
- ...contents,
550
- });
551
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
552
- };
553
- const de_UnsupportedGrantTypeExceptionRes = async (parsedOutput, context) => {
554
- const contents = smithyClient.map({});
555
- const data = parsedOutput.body;
556
- const doc = smithyClient.take(data, {
557
- error: smithyClient.expectString,
558
- error_description: smithyClient.expectString,
559
- });
560
- Object.assign(contents, doc);
561
- const exception = new UnsupportedGrantTypeException({
562
- $metadata: deserializeMetadata(parsedOutput),
563
- ...contents,
564
- });
565
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
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
- });
309
+
310
+ const _ADE = "AccessDeniedException";
311
+ const _APE = "AuthorizationPendingException";
312
+ const _AT = "AccessToken";
313
+ const _CS = "ClientSecret";
314
+ const _CT = "CreateToken";
315
+ const _CTR = "CreateTokenRequest";
316
+ const _CTRr = "CreateTokenResponse";
317
+ const _CV = "CodeVerifier";
318
+ const _ETE = "ExpiredTokenException";
319
+ const _ICE = "InvalidClientException";
320
+ const _IGE = "InvalidGrantException";
321
+ const _IRE = "InvalidRequestException";
322
+ const _ISE = "InternalServerException";
323
+ const _ISEn = "InvalidScopeException";
324
+ const _IT = "IdToken";
325
+ const _RT = "RefreshToken";
326
+ const _SDE = "SlowDownException";
327
+ const _UCE = "UnauthorizedClientException";
328
+ const _UGTE = "UnsupportedGrantTypeException";
329
+ const _aT = "accessToken";
330
+ const _c = "client";
331
+ const _cI = "clientId";
332
+ const _cS = "clientSecret";
333
+ const _cV = "codeVerifier";
334
+ const _co = "code";
335
+ const _dC = "deviceCode";
336
+ const _e = "error";
337
+ const _eI = "expiresIn";
338
+ const _ed = "error_description";
339
+ const _gT = "grantType";
340
+ const _h = "http";
341
+ const _hE = "httpError";
342
+ const _iT = "idToken";
343
+ const _r = "reason";
344
+ const _rT = "refreshToken";
345
+ const _rU = "redirectUri";
346
+ const _s = "scope";
347
+ const _se = "server";
348
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.ssooidc";
349
+ const _tT = "tokenType";
350
+ const n0 = "com.amazonaws.ssooidc";
351
+ var AccessToken = [0, n0, _AT, 8, 0];
352
+ var ClientSecret = [0, n0, _CS, 8, 0];
353
+ var CodeVerifier = [0, n0, _CV, 8, 0];
354
+ var IdToken = [0, n0, _IT, 8, 0];
355
+ var RefreshToken = [0, n0, _RT, 8, 0];
356
+ var AccessDeniedException = [
357
+ -3,
358
+ n0,
359
+ _ADE,
360
+ {
361
+ [_e]: _c,
362
+ [_hE]: 400,
363
+ },
364
+ [_e, _r, _ed],
365
+ [0, 0, 0],
366
+ ];
367
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
368
+ var AuthorizationPendingException = [
369
+ -3,
370
+ n0,
371
+ _APE,
372
+ {
373
+ [_e]: _c,
374
+ [_hE]: 400,
375
+ },
376
+ [_e, _ed],
377
+ [0, 0],
378
+ ];
379
+ schema.TypeRegistry.for(n0).registerError(AuthorizationPendingException, AuthorizationPendingException$1);
380
+ var CreateTokenRequest = [
381
+ 3,
382
+ n0,
383
+ _CTR,
384
+ 0,
385
+ [_cI, _cS, _gT, _dC, _co, _rT, _s, _rU, _cV],
386
+ [0, [() => ClientSecret, 0], 0, 0, 0, [() => RefreshToken, 0], 64 | 0, 0, [() => CodeVerifier, 0]],
387
+ ];
388
+ var CreateTokenResponse = [
389
+ 3,
390
+ n0,
391
+ _CTRr,
392
+ 0,
393
+ [_aT, _tT, _eI, _rT, _iT],
394
+ [[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0]],
395
+ ];
396
+ var ExpiredTokenException = [
397
+ -3,
398
+ n0,
399
+ _ETE,
400
+ {
401
+ [_e]: _c,
402
+ [_hE]: 400,
403
+ },
404
+ [_e, _ed],
405
+ [0, 0],
406
+ ];
407
+ schema.TypeRegistry.for(n0).registerError(ExpiredTokenException, ExpiredTokenException$1);
408
+ var InternalServerException = [
409
+ -3,
410
+ n0,
411
+ _ISE,
412
+ {
413
+ [_e]: _se,
414
+ [_hE]: 500,
415
+ },
416
+ [_e, _ed],
417
+ [0, 0],
418
+ ];
419
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
420
+ var InvalidClientException = [
421
+ -3,
422
+ n0,
423
+ _ICE,
424
+ {
425
+ [_e]: _c,
426
+ [_hE]: 401,
427
+ },
428
+ [_e, _ed],
429
+ [0, 0],
430
+ ];
431
+ schema.TypeRegistry.for(n0).registerError(InvalidClientException, InvalidClientException$1);
432
+ var InvalidGrantException = [
433
+ -3,
434
+ n0,
435
+ _IGE,
436
+ {
437
+ [_e]: _c,
438
+ [_hE]: 400,
439
+ },
440
+ [_e, _ed],
441
+ [0, 0],
442
+ ];
443
+ schema.TypeRegistry.for(n0).registerError(InvalidGrantException, InvalidGrantException$1);
444
+ var InvalidRequestException = [
445
+ -3,
446
+ n0,
447
+ _IRE,
448
+ {
449
+ [_e]: _c,
450
+ [_hE]: 400,
451
+ },
452
+ [_e, _r, _ed],
453
+ [0, 0, 0],
454
+ ];
455
+ schema.TypeRegistry.for(n0).registerError(InvalidRequestException, InvalidRequestException$1);
456
+ var InvalidScopeException = [
457
+ -3,
458
+ n0,
459
+ _ISEn,
460
+ {
461
+ [_e]: _c,
462
+ [_hE]: 400,
463
+ },
464
+ [_e, _ed],
465
+ [0, 0],
466
+ ];
467
+ schema.TypeRegistry.for(n0).registerError(InvalidScopeException, InvalidScopeException$1);
468
+ var SlowDownException = [
469
+ -3,
470
+ n0,
471
+ _SDE,
472
+ {
473
+ [_e]: _c,
474
+ [_hE]: 400,
475
+ },
476
+ [_e, _ed],
477
+ [0, 0],
478
+ ];
479
+ schema.TypeRegistry.for(n0).registerError(SlowDownException, SlowDownException$1);
480
+ var UnauthorizedClientException = [
481
+ -3,
482
+ n0,
483
+ _UCE,
484
+ {
485
+ [_e]: _c,
486
+ [_hE]: 400,
487
+ },
488
+ [_e, _ed],
489
+ [0, 0],
490
+ ];
491
+ schema.TypeRegistry.for(n0).registerError(UnauthorizedClientException, UnauthorizedClientException$1);
492
+ var UnsupportedGrantTypeException = [
493
+ -3,
494
+ n0,
495
+ _UGTE,
496
+ {
497
+ [_e]: _c,
498
+ [_hE]: 400,
499
+ },
500
+ [_e, _ed],
501
+ [0, 0],
502
+ ];
503
+ schema.TypeRegistry.for(n0).registerError(UnsupportedGrantTypeException, UnsupportedGrantTypeException$1);
504
+ var SSOOIDCServiceException = [-3, _sm, "SSOOIDCServiceException", 0, [], []];
505
+ schema.TypeRegistry.for(_sm).registerError(SSOOIDCServiceException, SSOOIDCServiceException$1);
506
+ var CreateToken = [
507
+ 9,
508
+ n0,
509
+ _CT,
510
+ {
511
+ [_h]: ["POST", "/token", 200],
512
+ },
513
+ () => CreateTokenRequest,
514
+ () => CreateTokenResponse,
515
+ ];
573
516
 
574
517
  class CreateTokenCommand extends smithyClient.Command
575
518
  .classBuilder()
576
519
  .ep(commonParams)
577
520
  .m(function (Command, cs, config, o) {
578
- return [
579
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
580
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
581
- ];
521
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
582
522
  })
583
523
  .s("AWSSSOOIDCService", "CreateToken", {})
584
524
  .n("SSOOIDCClient", "CreateTokenCommand")
585
- .f(CreateTokenRequestFilterSensitiveLog, CreateTokenResponseFilterSensitiveLog)
586
- .ser(se_CreateTokenCommand)
587
- .de(de_CreateTokenCommand)
525
+ .sc(CreateToken)
588
526
  .build() {
589
527
  }
590
528
 
@@ -603,22 +541,20 @@ Object.defineProperty(exports, "__Client", {
603
541
  enumerable: true,
604
542
  get: function () { return smithyClient.Client; }
605
543
  });
606
- exports.AccessDeniedException = AccessDeniedException;
544
+ exports.AccessDeniedException = AccessDeniedException$1;
607
545
  exports.AccessDeniedExceptionReason = AccessDeniedExceptionReason;
608
- exports.AuthorizationPendingException = AuthorizationPendingException;
546
+ exports.AuthorizationPendingException = AuthorizationPendingException$1;
609
547
  exports.CreateTokenCommand = CreateTokenCommand;
610
- exports.CreateTokenRequestFilterSensitiveLog = CreateTokenRequestFilterSensitiveLog;
611
- exports.CreateTokenResponseFilterSensitiveLog = CreateTokenResponseFilterSensitiveLog;
612
- exports.ExpiredTokenException = ExpiredTokenException;
613
- exports.InternalServerException = InternalServerException;
614
- exports.InvalidClientException = InvalidClientException;
615
- exports.InvalidGrantException = InvalidGrantException;
616
- exports.InvalidRequestException = InvalidRequestException;
548
+ exports.ExpiredTokenException = ExpiredTokenException$1;
549
+ exports.InternalServerException = InternalServerException$1;
550
+ exports.InvalidClientException = InvalidClientException$1;
551
+ exports.InvalidGrantException = InvalidGrantException$1;
552
+ exports.InvalidRequestException = InvalidRequestException$1;
617
553
  exports.InvalidRequestExceptionReason = InvalidRequestExceptionReason;
618
- exports.InvalidScopeException = InvalidScopeException;
554
+ exports.InvalidScopeException = InvalidScopeException$1;
619
555
  exports.SSOOIDC = SSOOIDC;
620
556
  exports.SSOOIDCClient = SSOOIDCClient;
621
- exports.SSOOIDCServiceException = SSOOIDCServiceException;
622
- exports.SlowDownException = SlowDownException;
623
- exports.UnauthorizedClientException = UnauthorizedClientException;
624
- exports.UnsupportedGrantTypeException = UnsupportedGrantTypeException;
557
+ exports.SSOOIDCServiceException = SSOOIDCServiceException$1;
558
+ exports.SlowDownException = SlowDownException$1;
559
+ exports.UnauthorizedClientException = UnauthorizedClientException$1;
560
+ exports.UnsupportedGrantTypeException = UnsupportedGrantTypeException$1;