@cdklabs/cdk-ecs-codedeploy 0.0.427 → 0.0.428

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 (211) hide show
  1. package/.jsii +3 -3
  2. package/.jsii.tabl.json +1 -1
  3. package/lib/api-canary/index.js +1 -1
  4. package/lib/ecs-appspec/index.js +1 -1
  5. package/lib/ecs-deployment/index.js +1 -1
  6. package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
  7. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/index.js +66 -3902
  8. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/models/CodeDeployServiceException.js +12 -0
  9. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/models/errors.js +1436 -0
  10. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.shared.js +2 -0
  11. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/schemas/schemas_0.js +2155 -0
  12. package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.shared.js +2 -0
  13. package/node_modules/@aws-sdk/client-codedeploy/dist-es/schemas/schemas_0.js +778 -772
  14. package/node_modules/@aws-sdk/client-codedeploy/dist-types/schemas/schemas_0.d.ts +102 -95
  15. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/schemas/schemas_0.d.ts +97 -95
  16. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/LICENSE +201 -0
  17. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/README.md +6 -0
  18. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +415 -0
  19. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +267 -0
  20. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +10 -0
  21. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +6 -0
  22. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +3 -0
  23. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +25 -0
  24. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +18 -0
  25. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +41 -0
  26. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +267 -0
  27. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +1 -0
  28. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +21 -0
  29. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +1 -0
  30. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +1 -0
  31. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js +1 -0
  32. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +1 -0
  33. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +1 -0
  34. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +1 -0
  35. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +6 -0
  36. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +1 -0
  37. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +2 -0
  38. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +6 -0
  39. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +3 -0
  40. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +5 -0
  41. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +7 -0
  42. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +38 -0
  43. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +1 -0
  44. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +56 -0
  45. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +1 -0
  46. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +2 -0
  47. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +6 -0
  48. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +3 -0
  49. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +4 -0
  50. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +2 -0
  51. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +28 -0
  52. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +1 -0
  53. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +35 -0
  54. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +1 -0
  55. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +1 -0
  56. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +6 -0
  57. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +1 -0
  58. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +5 -0
  59. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +1 -0
  60. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +6 -0
  61. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +12 -0
  62. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +1 -0
  63. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +1 -0
  64. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +1 -0
  65. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +1 -0
  66. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +1 -0
  67. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +6 -0
  68. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +1 -0
  69. package/node_modules/@aws-sdk/client-codedeploy/node_modules/@aws-sdk/util-endpoints/package.json +60 -0
  70. package/node_modules/@aws-sdk/client-codedeploy/package.json +13 -13
  71. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +23 -234
  72. package/node_modules/@aws-sdk/client-sso/dist-cjs/models/SSOServiceException.js +12 -0
  73. package/node_modules/@aws-sdk/client-sso/dist-cjs/models/errors.js +56 -0
  74. package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js +2 -0
  75. package/node_modules/@aws-sdk/client-sso/dist-cjs/schemas/schemas_0.js +161 -0
  76. package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.shared.js +2 -0
  77. package/node_modules/@aws-sdk/client-sso/dist-es/schemas/schemas_0.js +32 -26
  78. package/node_modules/@aws-sdk/client-sso/dist-types/schemas/schemas_0.d.ts +12 -5
  79. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -5
  80. package/node_modules/@aws-sdk/client-sso/package.json +12 -12
  81. package/node_modules/@aws-sdk/core/dist-cjs/index.js +15 -6
  82. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +15 -6
  83. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsEc2QueryProtocol.js +1 -0
  84. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +14 -6
  85. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QuerySerializerSettings.d.ts +4 -0
  86. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QueryShapeSerializer.d.ts +1 -1
  87. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QuerySerializerSettings.d.ts +1 -0
  88. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QueryShapeSerializer.d.ts +6 -1
  89. package/node_modules/@aws-sdk/core/package.json +3 -3
  90. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  91. package/node_modules/@aws-sdk/credential-provider-http/package.json +5 -5
  92. package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  93. package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
  94. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  95. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  96. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  97. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  98. package/node_modules/@aws-sdk/middleware-user-agent/package.json +4 -4
  99. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +20 -198
  100. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/SigninServiceException.js +12 -0
  101. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/errors.js +64 -0
  102. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +2 -0
  103. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/schemas/schemas_0.js +125 -0
  104. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +20 -347
  105. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/SSOOIDCServiceException.js +12 -0
  106. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/errors.js +195 -0
  107. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +2 -0
  108. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/schemas/schemas_0.js +140 -0
  109. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +21 -308
  110. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/STSServiceException.js +12 -0
  111. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js +95 -0
  112. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +2 -0
  113. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js +195 -0
  114. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js +2 -0
  115. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +15 -12
  116. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +2 -0
  117. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +40 -37
  118. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +2 -0
  119. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +60 -57
  120. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/schemas/schemas_0.d.ts +11 -4
  121. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/schemas/schemas_0.d.ts +10 -3
  122. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/schemas/schemas_0.d.ts +15 -8
  123. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/schemas/schemas_0.d.ts +6 -4
  124. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/schemas/schemas_0.d.ts +5 -3
  125. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +10 -8
  126. package/node_modules/@aws-sdk/nested-clients/package.json +12 -12
  127. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  128. package/node_modules/@aws-sdk/util-endpoints/package.json +1 -1
  129. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  130. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +13 -10
  131. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +5 -0
  132. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +24 -5
  133. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +15 -11
  134. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +6 -1
  135. package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +24 -5
  136. package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +7 -1
  137. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +5 -1
  138. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +14 -1
  139. package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +5 -0
  140. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +8 -1
  141. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +7 -1
  142. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +5 -1
  143. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +14 -1
  144. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +5 -0
  145. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +8 -1
  146. package/node_modules/@smithy/core/package.json +2 -2
  147. package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
  148. package/node_modules/@smithy/middleware-retry/package.json +2 -2
  149. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +9 -2
  150. package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +9 -2
  151. package/node_modules/@smithy/node-http-handler/package.json +1 -1
  152. package/node_modules/@smithy/smithy-client/package.json +4 -4
  153. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  154. package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  155. package/node_modules/@smithy/util-stream/package.json +2 -2
  156. package/package.json +4 -4
  157. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/CHANGELOG.md +0 -0
  158. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/LICENSE +0 -0
  159. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/README.md +0 -0
  160. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxbuilder.min.js +0 -0
  161. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxbuilder.min.js.map +0 -0
  162. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxp.cjs +0 -0
  163. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxp.d.cts +0 -0
  164. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxp.min.js +0 -0
  165. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxp.min.js.map +0 -0
  166. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxparser.min.js +0 -0
  167. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxparser.min.js.map +0 -0
  168. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxvalidator.min.js +0 -0
  169. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxvalidator.min.js.map +0 -0
  170. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/package.json +0 -0
  171. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/cli/cli.js +0 -0
  172. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/cli/man.js +0 -0
  173. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/cli/read.js +0 -0
  174. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/fxp.d.ts +0 -0
  175. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/fxp.js +0 -0
  176. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/ignoreAttributes.js +0 -0
  177. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/util.js +0 -0
  178. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/CharsSymbol.js +0 -0
  179. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/EntitiesParser.js +0 -0
  180. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OptionsBuilder.js +0 -0
  181. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OutputBuilders/BaseOutputBuilder.js +0 -0
  182. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OutputBuilders/JsArrBuilder.js +0 -0
  183. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OutputBuilders/JsMinArrBuilder.js +0 -0
  184. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OutputBuilders/JsObjBuilder.js +0 -0
  185. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OutputBuilders/ParserOptionsBuilder.js +0 -0
  186. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/Report.js +0 -0
  187. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/TagPath.js +0 -0
  188. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/TagPathMatcher.js +0 -0
  189. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/XMLParser.js +0 -0
  190. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/Xml2JsParser.js +0 -0
  191. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/XmlPartReader.js +0 -0
  192. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/XmlSpecialTagsReader.js +0 -0
  193. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/inputSource/BufferSource.js +0 -0
  194. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/inputSource/StringSource.js +0 -0
  195. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/EntitiesParser.js +0 -0
  196. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/booleanParser.js +0 -0
  197. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/booleanParserExt.js +0 -0
  198. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/currency.js +0 -0
  199. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/join.js +0 -0
  200. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/number.js +0 -0
  201. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/trim.js +0 -0
  202. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/validator.js +0 -0
  203. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlbuilder/json2xml.js +0 -0
  204. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlbuilder/orderedJs2Xml.js +0 -0
  205. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlbuilder/prettifyJs2Xml.js +0 -0
  206. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/DocTypeReader.js +0 -0
  207. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/OptionsBuilder.js +0 -0
  208. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/OrderedObjParser.js +0 -0
  209. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/XMLParser.js +0 -0
  210. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/node2json.js +0 -0
  211. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/xmlNode.js +0 -0
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
15
  var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
17
  var protocolHttp = require('@smithy/protocol-http');
18
+ var schemas_0 = require('./schemas/schemas_0');
19
+ var errors = require('./models/errors');
20
+ var SSOServiceException = require('./models/SSOServiceException');
18
21
 
19
22
  const resolveClientEndpointParameters = (options) => {
20
23
  return Object.assign(options, {
@@ -110,212 +113,6 @@ class SSOClient extends smithyClient.Client {
110
113
  }
111
114
  }
112
115
 
113
- class SSOServiceException extends smithyClient.ServiceException {
114
- constructor(options) {
115
- super(options);
116
- Object.setPrototypeOf(this, SSOServiceException.prototype);
117
- }
118
- }
119
-
120
- class InvalidRequestException extends SSOServiceException {
121
- name = "InvalidRequestException";
122
- $fault = "client";
123
- constructor(opts) {
124
- super({
125
- name: "InvalidRequestException",
126
- $fault: "client",
127
- ...opts,
128
- });
129
- Object.setPrototypeOf(this, InvalidRequestException.prototype);
130
- }
131
- }
132
- class ResourceNotFoundException extends SSOServiceException {
133
- name = "ResourceNotFoundException";
134
- $fault = "client";
135
- constructor(opts) {
136
- super({
137
- name: "ResourceNotFoundException",
138
- $fault: "client",
139
- ...opts,
140
- });
141
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
142
- }
143
- }
144
- class TooManyRequestsException extends SSOServiceException {
145
- name = "TooManyRequestsException";
146
- $fault = "client";
147
- constructor(opts) {
148
- super({
149
- name: "TooManyRequestsException",
150
- $fault: "client",
151
- ...opts,
152
- });
153
- Object.setPrototypeOf(this, TooManyRequestsException.prototype);
154
- }
155
- }
156
- class UnauthorizedException extends SSOServiceException {
157
- name = "UnauthorizedException";
158
- $fault = "client";
159
- constructor(opts) {
160
- super({
161
- name: "UnauthorizedException",
162
- $fault: "client",
163
- ...opts,
164
- });
165
- Object.setPrototypeOf(this, UnauthorizedException.prototype);
166
- }
167
- }
168
-
169
- const _AI = "AccountInfo";
170
- const _ALT = "AccountListType";
171
- const _ATT = "AccessTokenType";
172
- const _GRC = "GetRoleCredentials";
173
- const _GRCR = "GetRoleCredentialsRequest";
174
- const _GRCRe = "GetRoleCredentialsResponse";
175
- const _IRE = "InvalidRequestException";
176
- const _L = "Logout";
177
- const _LA = "ListAccounts";
178
- const _LAR = "ListAccountsRequest";
179
- const _LARR = "ListAccountRolesRequest";
180
- const _LARRi = "ListAccountRolesResponse";
181
- const _LARi = "ListAccountsResponse";
182
- const _LARis = "ListAccountRoles";
183
- const _LR = "LogoutRequest";
184
- const _RC = "RoleCredentials";
185
- const _RI = "RoleInfo";
186
- const _RLT = "RoleListType";
187
- const _RNFE = "ResourceNotFoundException";
188
- const _SAKT = "SecretAccessKeyType";
189
- const _STT = "SessionTokenType";
190
- const _TMRE = "TooManyRequestsException";
191
- const _UE = "UnauthorizedException";
192
- const _aI = "accountId";
193
- const _aKI = "accessKeyId";
194
- const _aL = "accountList";
195
- const _aN = "accountName";
196
- const _aT = "accessToken";
197
- const _ai = "account_id";
198
- const _c = "client";
199
- const _e = "error";
200
- const _eA = "emailAddress";
201
- const _ex = "expiration";
202
- const _h = "http";
203
- const _hE = "httpError";
204
- const _hH = "httpHeader";
205
- const _hQ = "httpQuery";
206
- const _m = "message";
207
- const _mR = "maxResults";
208
- const _mr = "max_result";
209
- const _nT = "nextToken";
210
- const _nt = "next_token";
211
- const _rC = "roleCredentials";
212
- const _rL = "roleList";
213
- const _rN = "roleName";
214
- const _rn = "role_name";
215
- const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sso";
216
- const _sAK = "secretAccessKey";
217
- const _sT = "sessionToken";
218
- const _xasbt = "x-amz-sso_bearer_token";
219
- const n0 = "com.amazonaws.sso";
220
- var AccessTokenType = [0, n0, _ATT, 8, 0];
221
- var SecretAccessKeyType = [0, n0, _SAKT, 8, 0];
222
- var SessionTokenType = [0, n0, _STT, 8, 0];
223
- var AccountInfo$ = [3, n0, _AI,
224
- 0,
225
- [_aI, _aN, _eA],
226
- [0, 0, 0]
227
- ];
228
- var GetRoleCredentialsRequest$ = [3, n0, _GRCR,
229
- 0,
230
- [_rN, _aI, _aT],
231
- [[0, { [_hQ]: _rn }], [0, { [_hQ]: _ai }], [() => AccessTokenType, { [_hH]: _xasbt }]], 3
232
- ];
233
- var GetRoleCredentialsResponse$ = [3, n0, _GRCRe,
234
- 0,
235
- [_rC],
236
- [[() => RoleCredentials$, 0]]
237
- ];
238
- var InvalidRequestException$ = [-3, n0, _IRE,
239
- { [_e]: _c, [_hE]: 400 },
240
- [_m],
241
- [0]
242
- ];
243
- schema.TypeRegistry.for(n0).registerError(InvalidRequestException$, InvalidRequestException);
244
- var ListAccountRolesRequest$ = [3, n0, _LARR,
245
- 0,
246
- [_aT, _aI, _nT, _mR],
247
- [[() => AccessTokenType, { [_hH]: _xasbt }], [0, { [_hQ]: _ai }], [0, { [_hQ]: _nt }], [1, { [_hQ]: _mr }]], 2
248
- ];
249
- var ListAccountRolesResponse$ = [3, n0, _LARRi,
250
- 0,
251
- [_nT, _rL],
252
- [0, () => RoleListType]
253
- ];
254
- var ListAccountsRequest$ = [3, n0, _LAR,
255
- 0,
256
- [_aT, _nT, _mR],
257
- [[() => AccessTokenType, { [_hH]: _xasbt }], [0, { [_hQ]: _nt }], [1, { [_hQ]: _mr }]], 1
258
- ];
259
- var ListAccountsResponse$ = [3, n0, _LARi,
260
- 0,
261
- [_nT, _aL],
262
- [0, () => AccountListType]
263
- ];
264
- var LogoutRequest$ = [3, n0, _LR,
265
- 0,
266
- [_aT],
267
- [[() => AccessTokenType, { [_hH]: _xasbt }]], 1
268
- ];
269
- var ResourceNotFoundException$ = [-3, n0, _RNFE,
270
- { [_e]: _c, [_hE]: 404 },
271
- [_m],
272
- [0]
273
- ];
274
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
275
- var RoleCredentials$ = [3, n0, _RC,
276
- 0,
277
- [_aKI, _sAK, _sT, _ex],
278
- [0, [() => SecretAccessKeyType, 0], [() => SessionTokenType, 0], 1]
279
- ];
280
- var RoleInfo$ = [3, n0, _RI,
281
- 0,
282
- [_rN, _aI],
283
- [0, 0]
284
- ];
285
- var TooManyRequestsException$ = [-3, n0, _TMRE,
286
- { [_e]: _c, [_hE]: 429 },
287
- [_m],
288
- [0]
289
- ];
290
- schema.TypeRegistry.for(n0).registerError(TooManyRequestsException$, TooManyRequestsException);
291
- var UnauthorizedException$ = [-3, n0, _UE,
292
- { [_e]: _c, [_hE]: 401 },
293
- [_m],
294
- [0]
295
- ];
296
- schema.TypeRegistry.for(n0).registerError(UnauthorizedException$, UnauthorizedException);
297
- var __Unit = "unit";
298
- var SSOServiceException$ = [-3, _s, "SSOServiceException", 0, [], []];
299
- schema.TypeRegistry.for(_s).registerError(SSOServiceException$, SSOServiceException);
300
- var AccountListType = [1, n0, _ALT,
301
- 0, () => AccountInfo$
302
- ];
303
- var RoleListType = [1, n0, _RLT,
304
- 0, () => RoleInfo$
305
- ];
306
- var GetRoleCredentials$ = [9, n0, _GRC,
307
- { [_h]: ["GET", "/federation/credentials", 200] }, () => GetRoleCredentialsRequest$, () => GetRoleCredentialsResponse$
308
- ];
309
- var ListAccountRoles$ = [9, n0, _LARis,
310
- { [_h]: ["GET", "/assignment/roles", 200] }, () => ListAccountRolesRequest$, () => ListAccountRolesResponse$
311
- ];
312
- var ListAccounts$ = [9, n0, _LA,
313
- { [_h]: ["GET", "/assignment/accounts", 200] }, () => ListAccountsRequest$, () => ListAccountsResponse$
314
- ];
315
- var Logout$ = [9, n0, _L,
316
- { [_h]: ["POST", "/logout", 200] }, () => LogoutRequest$, () => __Unit
317
- ];
318
-
319
116
  class GetRoleCredentialsCommand extends smithyClient.Command
320
117
  .classBuilder()
321
118
  .ep(commonParams)
@@ -324,7 +121,7 @@ class GetRoleCredentialsCommand extends smithyClient.Command
324
121
  })
325
122
  .s("SWBPortalService", "GetRoleCredentials", {})
326
123
  .n("SSOClient", "GetRoleCredentialsCommand")
327
- .sc(GetRoleCredentials$)
124
+ .sc(schemas_0.GetRoleCredentials$)
328
125
  .build() {
329
126
  }
330
127
 
@@ -336,7 +133,7 @@ class ListAccountRolesCommand extends smithyClient.Command
336
133
  })
337
134
  .s("SWBPortalService", "ListAccountRoles", {})
338
135
  .n("SSOClient", "ListAccountRolesCommand")
339
- .sc(ListAccountRoles$)
136
+ .sc(schemas_0.ListAccountRoles$)
340
137
  .build() {
341
138
  }
342
139
 
@@ -348,7 +145,7 @@ class ListAccountsCommand extends smithyClient.Command
348
145
  })
349
146
  .s("SWBPortalService", "ListAccounts", {})
350
147
  .n("SSOClient", "ListAccountsCommand")
351
- .sc(ListAccounts$)
148
+ .sc(schemas_0.ListAccounts$)
352
149
  .build() {
353
150
  }
354
151
 
@@ -360,7 +157,7 @@ class LogoutCommand extends smithyClient.Command
360
157
  })
361
158
  .s("SWBPortalService", "Logout", {})
362
159
  .n("SSOClient", "LogoutCommand")
363
- .sc(Logout$)
160
+ .sc(schemas_0.Logout$)
364
161
  .build() {
365
162
  }
366
163
 
@@ -390,35 +187,27 @@ Object.defineProperty(exports, "__Client", {
390
187
  enumerable: true,
391
188
  get: function () { return smithyClient.Client; }
392
189
  });
393
- exports.AccountInfo$ = AccountInfo$;
394
- exports.GetRoleCredentials$ = GetRoleCredentials$;
190
+ Object.defineProperty(exports, "SSOServiceException", {
191
+ enumerable: true,
192
+ get: function () { return SSOServiceException.SSOServiceException; }
193
+ });
395
194
  exports.GetRoleCredentialsCommand = GetRoleCredentialsCommand;
396
- exports.GetRoleCredentialsRequest$ = GetRoleCredentialsRequest$;
397
- exports.GetRoleCredentialsResponse$ = GetRoleCredentialsResponse$;
398
- exports.InvalidRequestException = InvalidRequestException;
399
- exports.InvalidRequestException$ = InvalidRequestException$;
400
- exports.ListAccountRoles$ = ListAccountRoles$;
401
195
  exports.ListAccountRolesCommand = ListAccountRolesCommand;
402
- exports.ListAccountRolesRequest$ = ListAccountRolesRequest$;
403
- exports.ListAccountRolesResponse$ = ListAccountRolesResponse$;
404
- exports.ListAccounts$ = ListAccounts$;
405
196
  exports.ListAccountsCommand = ListAccountsCommand;
406
- exports.ListAccountsRequest$ = ListAccountsRequest$;
407
- exports.ListAccountsResponse$ = ListAccountsResponse$;
408
- exports.Logout$ = Logout$;
409
197
  exports.LogoutCommand = LogoutCommand;
410
- exports.LogoutRequest$ = LogoutRequest$;
411
- exports.ResourceNotFoundException = ResourceNotFoundException;
412
- exports.ResourceNotFoundException$ = ResourceNotFoundException$;
413
- exports.RoleCredentials$ = RoleCredentials$;
414
- exports.RoleInfo$ = RoleInfo$;
415
198
  exports.SSO = SSO;
416
199
  exports.SSOClient = SSOClient;
417
- exports.SSOServiceException = SSOServiceException;
418
- exports.SSOServiceException$ = SSOServiceException$;
419
- exports.TooManyRequestsException = TooManyRequestsException;
420
- exports.TooManyRequestsException$ = TooManyRequestsException$;
421
- exports.UnauthorizedException = UnauthorizedException;
422
- exports.UnauthorizedException$ = UnauthorizedException$;
423
200
  exports.paginateListAccountRoles = paginateListAccountRoles;
424
201
  exports.paginateListAccounts = paginateListAccounts;
202
+ Object.keys(schemas_0).forEach(function (k) {
203
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
204
+ enumerable: true,
205
+ get: function () { return schemas_0[k]; }
206
+ });
207
+ });
208
+ Object.keys(errors).forEach(function (k) {
209
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
210
+ enumerable: true,
211
+ get: function () { return errors[k]; }
212
+ });
213
+ });
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SSOServiceException = exports.__ServiceException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
+ class SSOServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, SSOServiceException.prototype);
10
+ }
11
+ }
12
+ exports.SSOServiceException = SSOServiceException;
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UnauthorizedException = exports.TooManyRequestsException = exports.ResourceNotFoundException = exports.InvalidRequestException = void 0;
4
+ const SSOServiceException_1 = require("./SSOServiceException");
5
+ class InvalidRequestException extends SSOServiceException_1.SSOServiceException {
6
+ name = "InvalidRequestException";
7
+ $fault = "client";
8
+ constructor(opts) {
9
+ super({
10
+ name: "InvalidRequestException",
11
+ $fault: "client",
12
+ ...opts,
13
+ });
14
+ Object.setPrototypeOf(this, InvalidRequestException.prototype);
15
+ }
16
+ }
17
+ exports.InvalidRequestException = InvalidRequestException;
18
+ class ResourceNotFoundException extends SSOServiceException_1.SSOServiceException {
19
+ name = "ResourceNotFoundException";
20
+ $fault = "client";
21
+ constructor(opts) {
22
+ super({
23
+ name: "ResourceNotFoundException",
24
+ $fault: "client",
25
+ ...opts,
26
+ });
27
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
28
+ }
29
+ }
30
+ exports.ResourceNotFoundException = ResourceNotFoundException;
31
+ class TooManyRequestsException extends SSOServiceException_1.SSOServiceException {
32
+ name = "TooManyRequestsException";
33
+ $fault = "client";
34
+ constructor(opts) {
35
+ super({
36
+ name: "TooManyRequestsException",
37
+ $fault: "client",
38
+ ...opts,
39
+ });
40
+ Object.setPrototypeOf(this, TooManyRequestsException.prototype);
41
+ }
42
+ }
43
+ exports.TooManyRequestsException = TooManyRequestsException;
44
+ class UnauthorizedException extends SSOServiceException_1.SSOServiceException {
45
+ name = "UnauthorizedException";
46
+ $fault = "client";
47
+ constructor(opts) {
48
+ super({
49
+ name: "UnauthorizedException",
50
+ $fault: "client",
51
+ ...opts,
52
+ });
53
+ Object.setPrototypeOf(this, UnauthorizedException.prototype);
54
+ }
55
+ }
56
+ exports.UnauthorizedException = UnauthorizedException;
@@ -10,6 +10,7 @@ const util_base64_1 = require("@smithy/util-base64");
10
10
  const util_utf8_1 = require("@smithy/util-utf8");
11
11
  const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
12
12
  const endpointResolver_1 = require("./endpoint/endpointResolver");
13
+ const schemas_0_1 = require("./schemas/schemas_0");
13
14
  const getRuntimeConfig = (config) => {
14
15
  return {
15
16
  apiVersion: "2019-06-10",
@@ -35,6 +36,7 @@ const getRuntimeConfig = (config) => {
35
36
  protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
36
37
  protocolSettings: config?.protocolSettings ?? {
37
38
  defaultNamespace: "com.amazonaws.sso",
39
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
38
40
  version: "2019-06-10",
39
41
  serviceTarget: "SWBPortalService",
40
42
  },
@@ -0,0 +1,161 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Logout$ = exports.ListAccounts$ = exports.ListAccountRoles$ = exports.GetRoleCredentials$ = exports.RoleInfo$ = exports.RoleCredentials$ = exports.LogoutRequest$ = exports.ListAccountsResponse$ = exports.ListAccountsRequest$ = exports.ListAccountRolesResponse$ = exports.ListAccountRolesRequest$ = exports.GetRoleCredentialsResponse$ = exports.GetRoleCredentialsRequest$ = exports.AccountInfo$ = exports.errorTypeRegistries = exports.UnauthorizedException$ = exports.TooManyRequestsException$ = exports.ResourceNotFoundException$ = exports.InvalidRequestException$ = exports.SSOServiceException$ = void 0;
4
+ const _AI = "AccountInfo";
5
+ const _ALT = "AccountListType";
6
+ const _ATT = "AccessTokenType";
7
+ const _GRC = "GetRoleCredentials";
8
+ const _GRCR = "GetRoleCredentialsRequest";
9
+ const _GRCRe = "GetRoleCredentialsResponse";
10
+ const _IRE = "InvalidRequestException";
11
+ const _L = "Logout";
12
+ const _LA = "ListAccounts";
13
+ const _LAR = "ListAccountsRequest";
14
+ const _LARR = "ListAccountRolesRequest";
15
+ const _LARRi = "ListAccountRolesResponse";
16
+ const _LARi = "ListAccountsResponse";
17
+ const _LARis = "ListAccountRoles";
18
+ const _LR = "LogoutRequest";
19
+ const _RC = "RoleCredentials";
20
+ const _RI = "RoleInfo";
21
+ const _RLT = "RoleListType";
22
+ const _RNFE = "ResourceNotFoundException";
23
+ const _SAKT = "SecretAccessKeyType";
24
+ const _STT = "SessionTokenType";
25
+ const _TMRE = "TooManyRequestsException";
26
+ const _UE = "UnauthorizedException";
27
+ const _aI = "accountId";
28
+ const _aKI = "accessKeyId";
29
+ const _aL = "accountList";
30
+ const _aN = "accountName";
31
+ const _aT = "accessToken";
32
+ const _ai = "account_id";
33
+ const _c = "client";
34
+ const _e = "error";
35
+ const _eA = "emailAddress";
36
+ const _ex = "expiration";
37
+ const _h = "http";
38
+ const _hE = "httpError";
39
+ const _hH = "httpHeader";
40
+ const _hQ = "httpQuery";
41
+ const _m = "message";
42
+ const _mR = "maxResults";
43
+ const _mr = "max_result";
44
+ const _nT = "nextToken";
45
+ const _nt = "next_token";
46
+ const _rC = "roleCredentials";
47
+ const _rL = "roleList";
48
+ const _rN = "roleName";
49
+ const _rn = "role_name";
50
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sso";
51
+ const _sAK = "secretAccessKey";
52
+ const _sT = "sessionToken";
53
+ const _xasbt = "x-amz-sso_bearer_token";
54
+ const n0 = "com.amazonaws.sso";
55
+ const schema_1 = require("@smithy/core/schema");
56
+ const errors_1 = require("../models/errors");
57
+ const SSOServiceException_1 = require("../models/SSOServiceException");
58
+ const _s_registry = schema_1.TypeRegistry.for(_s);
59
+ exports.SSOServiceException$ = [-3, _s, "SSOServiceException", 0, [], []];
60
+ _s_registry.registerError(exports.SSOServiceException$, SSOServiceException_1.SSOServiceException);
61
+ const n0_registry = schema_1.TypeRegistry.for(n0);
62
+ exports.InvalidRequestException$ = [-3, n0, _IRE,
63
+ { [_e]: _c, [_hE]: 400 },
64
+ [_m],
65
+ [0]
66
+ ];
67
+ n0_registry.registerError(exports.InvalidRequestException$, errors_1.InvalidRequestException);
68
+ exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
69
+ { [_e]: _c, [_hE]: 404 },
70
+ [_m],
71
+ [0]
72
+ ];
73
+ n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
74
+ exports.TooManyRequestsException$ = [-3, n0, _TMRE,
75
+ { [_e]: _c, [_hE]: 429 },
76
+ [_m],
77
+ [0]
78
+ ];
79
+ n0_registry.registerError(exports.TooManyRequestsException$, errors_1.TooManyRequestsException);
80
+ exports.UnauthorizedException$ = [-3, n0, _UE,
81
+ { [_e]: _c, [_hE]: 401 },
82
+ [_m],
83
+ [0]
84
+ ];
85
+ n0_registry.registerError(exports.UnauthorizedException$, errors_1.UnauthorizedException);
86
+ exports.errorTypeRegistries = [
87
+ _s_registry,
88
+ n0_registry,
89
+ ];
90
+ var AccessTokenType = [0, n0, _ATT, 8, 0];
91
+ var SecretAccessKeyType = [0, n0, _SAKT, 8, 0];
92
+ var SessionTokenType = [0, n0, _STT, 8, 0];
93
+ exports.AccountInfo$ = [3, n0, _AI,
94
+ 0,
95
+ [_aI, _aN, _eA],
96
+ [0, 0, 0]
97
+ ];
98
+ exports.GetRoleCredentialsRequest$ = [3, n0, _GRCR,
99
+ 0,
100
+ [_rN, _aI, _aT],
101
+ [[0, { [_hQ]: _rn }], [0, { [_hQ]: _ai }], [() => AccessTokenType, { [_hH]: _xasbt }]], 3
102
+ ];
103
+ exports.GetRoleCredentialsResponse$ = [3, n0, _GRCRe,
104
+ 0,
105
+ [_rC],
106
+ [[() => exports.RoleCredentials$, 0]]
107
+ ];
108
+ exports.ListAccountRolesRequest$ = [3, n0, _LARR,
109
+ 0,
110
+ [_aT, _aI, _nT, _mR],
111
+ [[() => AccessTokenType, { [_hH]: _xasbt }], [0, { [_hQ]: _ai }], [0, { [_hQ]: _nt }], [1, { [_hQ]: _mr }]], 2
112
+ ];
113
+ exports.ListAccountRolesResponse$ = [3, n0, _LARRi,
114
+ 0,
115
+ [_nT, _rL],
116
+ [0, () => RoleListType]
117
+ ];
118
+ exports.ListAccountsRequest$ = [3, n0, _LAR,
119
+ 0,
120
+ [_aT, _nT, _mR],
121
+ [[() => AccessTokenType, { [_hH]: _xasbt }], [0, { [_hQ]: _nt }], [1, { [_hQ]: _mr }]], 1
122
+ ];
123
+ exports.ListAccountsResponse$ = [3, n0, _LARi,
124
+ 0,
125
+ [_nT, _aL],
126
+ [0, () => AccountListType]
127
+ ];
128
+ exports.LogoutRequest$ = [3, n0, _LR,
129
+ 0,
130
+ [_aT],
131
+ [[() => AccessTokenType, { [_hH]: _xasbt }]], 1
132
+ ];
133
+ exports.RoleCredentials$ = [3, n0, _RC,
134
+ 0,
135
+ [_aKI, _sAK, _sT, _ex],
136
+ [0, [() => SecretAccessKeyType, 0], [() => SessionTokenType, 0], 1]
137
+ ];
138
+ exports.RoleInfo$ = [3, n0, _RI,
139
+ 0,
140
+ [_rN, _aI],
141
+ [0, 0]
142
+ ];
143
+ var __Unit = "unit";
144
+ var AccountListType = [1, n0, _ALT,
145
+ 0, () => exports.AccountInfo$
146
+ ];
147
+ var RoleListType = [1, n0, _RLT,
148
+ 0, () => exports.RoleInfo$
149
+ ];
150
+ exports.GetRoleCredentials$ = [9, n0, _GRC,
151
+ { [_h]: ["GET", "/federation/credentials", 200] }, () => exports.GetRoleCredentialsRequest$, () => exports.GetRoleCredentialsResponse$
152
+ ];
153
+ exports.ListAccountRoles$ = [9, n0, _LARis,
154
+ { [_h]: ["GET", "/assignment/roles", 200] }, () => exports.ListAccountRolesRequest$, () => exports.ListAccountRolesResponse$
155
+ ];
156
+ exports.ListAccounts$ = [9, n0, _LA,
157
+ { [_h]: ["GET", "/assignment/accounts", 200] }, () => exports.ListAccountsRequest$, () => exports.ListAccountsResponse$
158
+ ];
159
+ exports.Logout$ = [9, n0, _L,
160
+ { [_h]: ["POST", "/logout", 200] }, () => exports.LogoutRequest$, () => __Unit
161
+ ];
@@ -7,6 +7,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
7
7
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
8
8
  import { defaultSSOHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
9
9
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
10
+ import { errorTypeRegistries } from "./schemas/schemas_0";
10
11
  export const getRuntimeConfig = (config) => {
11
12
  return {
12
13
  apiVersion: "2019-06-10",
@@ -32,6 +33,7 @@ export const getRuntimeConfig = (config) => {
32
33
  protocol: config?.protocol ?? AwsRestJsonProtocol,
33
34
  protocolSettings: config?.protocolSettings ?? {
34
35
  defaultNamespace: "com.amazonaws.sso",
36
+ errorTypeRegistries,
35
37
  version: "2019-06-10",
36
38
  serviceTarget: "SWBPortalService",
37
39
  },
@@ -52,6 +52,38 @@ const n0 = "com.amazonaws.sso";
52
52
  import { TypeRegistry } from "@smithy/core/schema";
53
53
  import { InvalidRequestException, ResourceNotFoundException, TooManyRequestsException, UnauthorizedException, } from "../models/errors";
54
54
  import { SSOServiceException } from "../models/SSOServiceException";
55
+ const _s_registry = TypeRegistry.for(_s);
56
+ export var SSOServiceException$ = [-3, _s, "SSOServiceException", 0, [], []];
57
+ _s_registry.registerError(SSOServiceException$, SSOServiceException);
58
+ const n0_registry = TypeRegistry.for(n0);
59
+ export var InvalidRequestException$ = [-3, n0, _IRE,
60
+ { [_e]: _c, [_hE]: 400 },
61
+ [_m],
62
+ [0]
63
+ ];
64
+ n0_registry.registerError(InvalidRequestException$, InvalidRequestException);
65
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
66
+ { [_e]: _c, [_hE]: 404 },
67
+ [_m],
68
+ [0]
69
+ ];
70
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
71
+ export var TooManyRequestsException$ = [-3, n0, _TMRE,
72
+ { [_e]: _c, [_hE]: 429 },
73
+ [_m],
74
+ [0]
75
+ ];
76
+ n0_registry.registerError(TooManyRequestsException$, TooManyRequestsException);
77
+ export var UnauthorizedException$ = [-3, n0, _UE,
78
+ { [_e]: _c, [_hE]: 401 },
79
+ [_m],
80
+ [0]
81
+ ];
82
+ n0_registry.registerError(UnauthorizedException$, UnauthorizedException);
83
+ export const errorTypeRegistries = [
84
+ _s_registry,
85
+ n0_registry,
86
+ ];
55
87
  var AccessTokenType = [0, n0, _ATT, 8, 0];
56
88
  var SecretAccessKeyType = [0, n0, _SAKT, 8, 0];
57
89
  var SessionTokenType = [0, n0, _STT, 8, 0];
@@ -70,12 +102,6 @@ export var GetRoleCredentialsResponse$ = [3, n0, _GRCRe,
70
102
  [_rC],
71
103
  [[() => RoleCredentials$, 0]]
72
104
  ];
73
- export var InvalidRequestException$ = [-3, n0, _IRE,
74
- { [_e]: _c, [_hE]: 400 },
75
- [_m],
76
- [0]
77
- ];
78
- TypeRegistry.for(n0).registerError(InvalidRequestException$, InvalidRequestException);
79
105
  export var ListAccountRolesRequest$ = [3, n0, _LARR,
80
106
  0,
81
107
  [_aT, _aI, _nT, _mR],
@@ -101,12 +127,6 @@ export var LogoutRequest$ = [3, n0, _LR,
101
127
  [_aT],
102
128
  [[() => AccessTokenType, { [_hH]: _xasbt }]], 1
103
129
  ];
104
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
105
- { [_e]: _c, [_hE]: 404 },
106
- [_m],
107
- [0]
108
- ];
109
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
110
130
  export var RoleCredentials$ = [3, n0, _RC,
111
131
  0,
112
132
  [_aKI, _sAK, _sT, _ex],
@@ -117,21 +137,7 @@ export var RoleInfo$ = [3, n0, _RI,
117
137
  [_rN, _aI],
118
138
  [0, 0]
119
139
  ];
120
- export var TooManyRequestsException$ = [-3, n0, _TMRE,
121
- { [_e]: _c, [_hE]: 429 },
122
- [_m],
123
- [0]
124
- ];
125
- TypeRegistry.for(n0).registerError(TooManyRequestsException$, TooManyRequestsException);
126
- export var UnauthorizedException$ = [-3, n0, _UE,
127
- { [_e]: _c, [_hE]: 401 },
128
- [_m],
129
- [0]
130
- ];
131
- TypeRegistry.for(n0).registerError(UnauthorizedException$, UnauthorizedException);
132
140
  var __Unit = "unit";
133
- export var SSOServiceException$ = [-3, _s, "SSOServiceException", 0, [], []];
134
- TypeRegistry.for(_s).registerError(SSOServiceException$, SSOServiceException);
135
141
  var AccountListType = [1, n0, _ALT,
136
142
  0, () => AccountInfo$
137
143
  ];
@@ -1,19 +1,26 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
+ export declare var SSOServiceException$: StaticErrorSchema;
4
+ export declare var InvalidRequestException$: StaticErrorSchema;
5
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
6
+ export declare var TooManyRequestsException$: StaticErrorSchema;
7
+ export declare var UnauthorizedException$: StaticErrorSchema;
8
+ /**
9
+ * TypeRegistry instances containing modeled errors.
10
+ * @internal
11
+ *
12
+ */
13
+ export declare const errorTypeRegistries: TypeRegistry[];
2
14
  export declare var AccountInfo$: StaticStructureSchema;
3
15
  export declare var GetRoleCredentialsRequest$: StaticStructureSchema;
4
16
  export declare var GetRoleCredentialsResponse$: StaticStructureSchema;
5
- export declare var InvalidRequestException$: StaticErrorSchema;
6
17
  export declare var ListAccountRolesRequest$: StaticStructureSchema;
7
18
  export declare var ListAccountRolesResponse$: StaticStructureSchema;
8
19
  export declare var ListAccountsRequest$: StaticStructureSchema;
9
20
  export declare var ListAccountsResponse$: StaticStructureSchema;
10
21
  export declare var LogoutRequest$: StaticStructureSchema;
11
- export declare var ResourceNotFoundException$: StaticErrorSchema;
12
22
  export declare var RoleCredentials$: StaticStructureSchema;
13
23
  export declare var RoleInfo$: StaticStructureSchema;
14
- export declare var TooManyRequestsException$: StaticErrorSchema;
15
- export declare var UnauthorizedException$: StaticErrorSchema;
16
- export declare var SSOServiceException$: StaticErrorSchema;
17
24
  export declare var GetRoleCredentials$: StaticOperationSchema;
18
25
  export declare var ListAccountRoles$: StaticOperationSchema;
19
26
  export declare var ListAccounts$: StaticOperationSchema;