@cdk8s/awscdk-resolver 0.0.420 → 0.0.422

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 (290) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +1 -6
  4. package/node_modules/@aws/lambda-invoke-store/dist-es/invoke-store.js +1 -6
  5. package/node_modules/@aws/lambda-invoke-store/package.json +1 -1
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +29 -145
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.browser.js +2 -2
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.js +3 -4
  9. package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormationClient.js +2 -2
  10. package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeConfig.browser.js +2 -2
  11. package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeConfig.js +2 -3
  12. package/node_modules/@aws-sdk/client-cloudformation/dist-es/schemas/schemas_0.js +29 -145
  13. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +1 -1
  14. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +10 -10
  15. package/node_modules/@aws-sdk/client-cloudformation/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  16. package/node_modules/@aws-sdk/client-cloudformation/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
  17. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ActivateOrganizationsAccessCommand.d.ts +3 -3
  18. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ActivateTypeCommand.d.ts +3 -3
  19. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/BatchDescribeTypeConfigurationsCommand.d.ts +3 -3
  20. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CancelUpdateStackCommand.d.ts +3 -3
  21. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ContinueUpdateRollbackCommand.d.ts +3 -3
  22. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateChangeSetCommand.d.ts +3 -3
  23. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateGeneratedTemplateCommand.d.ts +3 -3
  24. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateStackCommand.d.ts +3 -3
  25. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateStackInstancesCommand.d.ts +3 -3
  26. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateStackRefactorCommand.d.ts +3 -3
  27. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateStackSetCommand.d.ts +3 -3
  28. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeactivateOrganizationsAccessCommand.d.ts +3 -3
  29. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeactivateTypeCommand.d.ts +3 -3
  30. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeleteChangeSetCommand.d.ts +3 -3
  31. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeleteGeneratedTemplateCommand.d.ts +3 -3
  32. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeleteStackCommand.d.ts +3 -3
  33. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeleteStackInstancesCommand.d.ts +3 -3
  34. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeleteStackSetCommand.d.ts +3 -3
  35. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeregisterTypeCommand.d.ts +3 -3
  36. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeAccountLimitsCommand.d.ts +3 -3
  37. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeChangeSetCommand.d.ts +3 -3
  38. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeChangeSetHooksCommand.d.ts +3 -3
  39. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeEventsCommand.d.ts +3 -3
  40. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeGeneratedTemplateCommand.d.ts +3 -3
  41. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeOrganizationsAccessCommand.d.ts +3 -3
  42. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribePublisherCommand.d.ts +3 -3
  43. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeResourceScanCommand.d.ts +3 -3
  44. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackDriftDetectionStatusCommand.d.ts +3 -3
  45. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackEventsCommand.d.ts +3 -3
  46. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackInstanceCommand.d.ts +3 -3
  47. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackRefactorCommand.d.ts +3 -3
  48. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackResourceCommand.d.ts +3 -3
  49. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackResourceDriftsCommand.d.ts +3 -3
  50. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackResourcesCommand.d.ts +3 -3
  51. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackSetCommand.d.ts +3 -3
  52. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackSetOperationCommand.d.ts +3 -3
  53. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStacksCommand.d.ts +3 -3
  54. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeTypeCommand.d.ts +3 -3
  55. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeTypeRegistrationCommand.d.ts +3 -3
  56. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DetectStackDriftCommand.d.ts +3 -3
  57. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DetectStackResourceDriftCommand.d.ts +3 -3
  58. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DetectStackSetDriftCommand.d.ts +3 -3
  59. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/EstimateTemplateCostCommand.d.ts +3 -3
  60. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ExecuteChangeSetCommand.d.ts +3 -3
  61. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ExecuteStackRefactorCommand.d.ts +3 -3
  62. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/GetGeneratedTemplateCommand.d.ts +3 -3
  63. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/GetHookResultCommand.d.ts +3 -3
  64. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/GetStackPolicyCommand.d.ts +3 -3
  65. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/GetTemplateCommand.d.ts +3 -3
  66. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/GetTemplateSummaryCommand.d.ts +3 -3
  67. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ImportStacksToStackSetCommand.d.ts +3 -3
  68. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListChangeSetsCommand.d.ts +3 -3
  69. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListExportsCommand.d.ts +3 -3
  70. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListGeneratedTemplatesCommand.d.ts +3 -3
  71. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListHookResultsCommand.d.ts +3 -3
  72. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListImportsCommand.d.ts +3 -3
  73. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListResourceScanRelatedResourcesCommand.d.ts +3 -3
  74. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListResourceScanResourcesCommand.d.ts +3 -3
  75. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListResourceScansCommand.d.ts +3 -3
  76. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackInstanceResourceDriftsCommand.d.ts +3 -3
  77. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackInstancesCommand.d.ts +3 -3
  78. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackRefactorActionsCommand.d.ts +3 -3
  79. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackRefactorsCommand.d.ts +3 -3
  80. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackResourcesCommand.d.ts +3 -3
  81. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetAutoDeploymentTargetsCommand.d.ts +3 -3
  82. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetOperationResultsCommand.d.ts +3 -3
  83. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetOperationsCommand.d.ts +3 -3
  84. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetsCommand.d.ts +3 -3
  85. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStacksCommand.d.ts +3 -3
  86. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListTypeRegistrationsCommand.d.ts +3 -3
  87. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListTypeVersionsCommand.d.ts +3 -3
  88. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListTypesCommand.d.ts +3 -3
  89. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/PublishTypeCommand.d.ts +3 -3
  90. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RecordHandlerProgressCommand.d.ts +3 -3
  91. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RegisterPublisherCommand.d.ts +3 -3
  92. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RegisterTypeCommand.d.ts +3 -3
  93. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RollbackStackCommand.d.ts +3 -3
  94. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/SetStackPolicyCommand.d.ts +3 -3
  95. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/SetTypeConfigurationCommand.d.ts +3 -3
  96. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/SetTypeDefaultVersionCommand.d.ts +3 -3
  97. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/SignalResourceCommand.d.ts +3 -3
  98. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/StartResourceScanCommand.d.ts +3 -3
  99. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/StopStackSetOperationCommand.d.ts +3 -3
  100. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/TestTypeCommand.d.ts +3 -3
  101. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateGeneratedTemplateCommand.d.ts +3 -3
  102. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackCommand.d.ts +3 -3
  103. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackInstancesCommand.d.ts +3 -3
  104. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackSetCommand.d.ts +3 -3
  105. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateTerminationProtectionCommand.d.ts +3 -3
  106. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ValidateTemplateCommand.d.ts +3 -3
  107. package/node_modules/@aws-sdk/client-cloudformation/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  108. package/node_modules/@aws-sdk/client-cloudformation/dist-types/endpoint/endpointResolver.d.ts +5 -2
  109. package/node_modules/@aws-sdk/client-cloudformation/dist-types/extensionConfiguration.d.ts +4 -4
  110. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/CloudFormationServiceException.d.ts +1 -1
  111. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/errors.d.ts +1 -1
  112. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/DescribeAccountLimitsPaginator.d.ts +1 -1
  113. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/DescribeChangeSetPaginator.d.ts +1 -1
  114. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/DescribeEventsPaginator.d.ts +1 -1
  115. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/DescribeStackEventsPaginator.d.ts +1 -1
  116. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/DescribeStackResourceDriftsPaginator.d.ts +1 -1
  117. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/DescribeStacksPaginator.d.ts +1 -1
  118. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/Interfaces.d.ts +1 -1
  119. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListChangeSetsPaginator.d.ts +1 -1
  120. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListExportsPaginator.d.ts +1 -1
  121. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListGeneratedTemplatesPaginator.d.ts +1 -1
  122. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListImportsPaginator.d.ts +1 -1
  123. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListResourceScanRelatedResourcesPaginator.d.ts +1 -1
  124. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListResourceScanResourcesPaginator.d.ts +1 -1
  125. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListResourceScansPaginator.d.ts +1 -1
  126. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListStackInstancesPaginator.d.ts +1 -1
  127. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListStackRefactorActionsPaginator.d.ts +1 -1
  128. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListStackRefactorsPaginator.d.ts +1 -1
  129. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListStackResourcesPaginator.d.ts +1 -1
  130. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListStackSetOperationResultsPaginator.d.ts +1 -1
  131. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListStackSetOperationsPaginator.d.ts +1 -1
  132. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListStackSetsPaginator.d.ts +1 -1
  133. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListStacksPaginator.d.ts +1 -1
  134. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListTypeRegistrationsPaginator.d.ts +1 -1
  135. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListTypeVersionsPaginator.d.ts +1 -1
  136. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListTypesPaginator.d.ts +1 -1
  137. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +1 -1
  138. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +1 -1
  139. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +1 -1
  140. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.shared.d.ts +1 -1
  141. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeExtensions.d.ts +1 -1
  142. package/node_modules/@aws-sdk/client-cloudformation/dist-types/schemas/schemas_0.d.ts +1 -1
  143. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormationClient.d.ts +3 -3
  144. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  145. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/CloudFormationServiceException.d.ts +1 -1
  146. package/node_modules/@aws-sdk/client-cloudformation/package.json +13 -12
  147. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +19 -131
  148. package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.browser.js +2 -2
  149. package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +3 -4
  150. package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +2 -2
  151. package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.browser.js +2 -2
  152. package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +2 -3
  153. package/node_modules/@aws-sdk/client-sso/dist-es/schemas/schemas_0.js +19 -131
  154. package/node_modules/@aws-sdk/client-sso/dist-types/SSO.d.ts +1 -1
  155. package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +10 -10
  156. package/node_modules/@aws-sdk/client-sso/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  157. package/node_modules/@aws-sdk/client-sso/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
  158. package/node_modules/@aws-sdk/client-sso/dist-types/commands/GetRoleCredentialsCommand.d.ts +3 -3
  159. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +3 -3
  160. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +3 -3
  161. package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +3 -3
  162. package/node_modules/@aws-sdk/client-sso/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  163. package/node_modules/@aws-sdk/client-sso/dist-types/endpoint/endpointResolver.d.ts +5 -2
  164. package/node_modules/@aws-sdk/client-sso/dist-types/extensionConfiguration.d.ts +4 -4
  165. package/node_modules/@aws-sdk/client-sso/dist-types/models/SSOServiceException.d.ts +1 -1
  166. package/node_modules/@aws-sdk/client-sso/dist-types/models/errors.d.ts +1 -1
  167. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/Interfaces.d.ts +1 -1
  168. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountRolesPaginator.d.ts +1 -1
  169. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountsPaginator.d.ts +1 -1
  170. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +1 -1
  171. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +1 -1
  172. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +1 -1
  173. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.shared.d.ts +2 -2
  174. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeExtensions.d.ts +1 -1
  175. package/node_modules/@aws-sdk/client-sso/dist-types/schemas/schemas_0.d.ts +1 -1
  176. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +2 -2
  177. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  178. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/SSOServiceException.d.ts +1 -1
  179. package/node_modules/@aws-sdk/client-sso/package.json +12 -11
  180. package/node_modules/@aws-sdk/core/dist-cjs/index.js +40 -17
  181. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +40 -17
  182. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js +20 -3
  183. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.js +11 -3
  184. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +4 -3
  185. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +3 -8
  186. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +3 -1
  187. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts +6 -0
  188. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts +4 -0
  189. package/node_modules/@aws-sdk/core/package.json +3 -3
  190. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  191. package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
  192. package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  193. package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
  194. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  195. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  196. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  197. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  198. package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
  199. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +18 -124
  200. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.browser.js +2 -2
  201. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.js +3 -4
  202. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +12 -96
  203. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.browser.js +2 -2
  204. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js +3 -4
  205. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +7 -35
  206. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.browser.js +2 -2
  207. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js +3 -4
  208. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js +2 -2
  209. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.browser.js +2 -2
  210. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +2 -3
  211. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +18 -124
  212. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +2 -2
  213. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.browser.js +2 -2
  214. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +2 -3
  215. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +12 -96
  216. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +2 -2
  217. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.browser.js +2 -2
  218. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +2 -3
  219. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +7 -35
  220. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +1 -1
  221. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +10 -10
  222. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  223. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthSchemeProvider.d.ts +2 -2
  224. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +3 -3
  225. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/EndpointParameters.d.ts +13 -1
  226. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/endpointResolver.d.ts +5 -2
  227. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/extensionConfiguration.d.ts +4 -4
  228. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/SigninServiceException.d.ts +1 -1
  229. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts +1 -1
  230. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +1 -1
  231. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +1 -1
  232. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +1 -1
  233. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.shared.d.ts +2 -2
  234. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeExtensions.d.ts +1 -1
  235. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/schemas/schemas_0.d.ts +1 -1
  236. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +1 -1
  237. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +10 -10
  238. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  239. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +2 -2
  240. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +3 -3
  241. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/EndpointParameters.d.ts +13 -1
  242. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/endpointResolver.d.ts +5 -2
  243. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/extensionConfiguration.d.ts +4 -4
  244. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/SSOOIDCServiceException.d.ts +1 -1
  245. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/errors.d.ts +1 -1
  246. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +1 -1
  247. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +1 -1
  248. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +1 -1
  249. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +2 -2
  250. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeExtensions.d.ts +1 -1
  251. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/schemas/schemas_0.d.ts +1 -1
  252. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STS.d.ts +1 -1
  253. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +10 -10
  254. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  255. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +2 -2
  256. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +3 -3
  257. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +3 -3
  258. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/EndpointParameters.d.ts +13 -1
  259. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/endpointResolver.d.ts +5 -2
  260. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/extensionConfiguration.d.ts +4 -4
  261. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/STSServiceException.d.ts +1 -1
  262. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +1 -1
  263. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +1 -1
  264. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +2 -2
  265. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +1 -1
  266. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +2 -2
  267. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeExtensions.d.ts +1 -1
  268. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/schemas/schemas_0.d.ts +1 -1
  269. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +3 -3
  270. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  271. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/SigninServiceException.d.ts +1 -1
  272. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +2 -2
  273. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  274. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/SSOOIDCServiceException.d.ts +1 -1
  275. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +3 -3
  276. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  277. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +1 -1
  278. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/STSServiceException.d.ts +1 -1
  279. package/node_modules/@aws-sdk/nested-clients/package.json +10 -10
  280. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  281. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  282. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +10 -3
  283. package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +10 -3
  284. package/node_modules/@smithy/core/package.json +1 -1
  285. package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
  286. package/node_modules/@smithy/middleware-retry/package.json +2 -2
  287. package/node_modules/@smithy/smithy-client/package.json +3 -3
  288. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  289. package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  290. package/package.json +3 -3
@@ -1,6 +1,6 @@
1
1
  import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
2
- import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
- import { SSOClientResolvedConfig } from "../SSOClient";
2
+ import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
+ import { type SSOClientResolvedConfig } from "../SSOClient";
4
4
  /**
5
5
  * @internal
6
6
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { GetRoleCredentialsRequest, GetRoleCredentialsResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "../SSOClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { GetRoleCredentialsRequest, GetRoleCredentialsResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "../SSOClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListAccountRolesRequest, ListAccountRolesResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "../SSOClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListAccountRolesRequest, ListAccountRolesResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "../SSOClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListAccountsRequest, ListAccountsResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "../SSOClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListAccountsRequest, ListAccountsResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "../SSOClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { LogoutRequest } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "../SSOClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { LogoutRequest } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "../SSOClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,4 +1,4 @@
1
- import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
1
+ import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
2
  /**
3
3
  * @public
4
4
  */
@@ -8,10 +8,19 @@ export interface ClientInputEndpointParameters {
8
8
  useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
9
9
  endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
10
10
  }
11
+ /**
12
+ * @public
13
+ */
11
14
  export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
12
15
  defaultSigningName: string;
13
16
  };
17
+ /**
18
+ * @internal
19
+ */
14
20
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
21
+ /**
22
+ * @internal
23
+ */
15
24
  export declare const commonParams: {
16
25
  readonly UseFIPS: {
17
26
  readonly type: "builtInParams";
@@ -30,6 +39,9 @@ export declare const commonParams: {
30
39
  readonly name: "useDualstackEndpoint";
31
40
  };
32
41
  };
42
+ /**
43
+ * @internal
44
+ */
33
45
  export interface EndpointParameters extends __EndpointParameters {
34
46
  Region?: string | undefined;
35
47
  UseDualStack?: boolean | undefined;
@@ -1,5 +1,8 @@
1
- import { EndpointV2, Logger } from "@smithy/types";
2
- import { EndpointParameters } from "./EndpointParameters";
1
+ import type { EndpointV2, Logger } from "@smithy/types";
2
+ import type { EndpointParameters } from "./EndpointParameters";
3
+ /**
4
+ * @internal
5
+ */
3
6
  export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
7
  logger?: Logger;
5
8
  }) => EndpointV2;
@@ -1,7 +1,7 @@
1
- import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
- import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
- import { DefaultExtensionConfiguration } from "@smithy/types";
4
- import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
1
+ import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import type { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  /**
6
6
  * @internal
7
7
  */
@@ -1,4 +1,4 @@
1
- import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
1
+ import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
2
2
  export type { __ServiceExceptionOptions };
3
3
  export { __ServiceException };
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
1
+ import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { SSOServiceException as __BaseException } from "./SSOServiceException";
3
3
  /**
4
4
  * <p>Indicates that a problem occurred with the input to the request. For example, a required
@@ -1,4 +1,4 @@
1
- import { PaginationConfiguration } from "@smithy/types";
1
+ import type { PaginationConfiguration } from "@smithy/types";
2
2
  import { SSOClient } from "../SSOClient";
3
3
  /**
4
4
  * @public
@@ -1,4 +1,4 @@
1
- import { Paginator } from "@smithy/types";
1
+ import type { Paginator } from "@smithy/types";
2
2
  import { ListAccountRolesCommandInput, ListAccountRolesCommandOutput } from "../commands/ListAccountRolesCommand";
3
3
  import { SSOPaginationConfiguration } from "./Interfaces";
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { Paginator } from "@smithy/types";
1
+ import type { Paginator } from "@smithy/types";
2
2
  import { ListAccountsCommandInput, ListAccountsCommandOutput } from "../commands/ListAccountsCommand";
3
3
  import { SSOPaginationConfiguration } from "./Interfaces";
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
- import { SSOClientConfig } from "./SSOClient";
2
+ import type { SSOClientConfig } from "./SSOClient";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
- import { SSOClientConfig } from "./SSOClient";
2
+ import type { SSOClientConfig } from "./SSOClient";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,4 +1,4 @@
1
- import { SSOClientConfig } from "./SSOClient";
1
+ import type { SSOClientConfig } from "./SSOClient";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,7 +1,7 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
2
  import { NoAuthSigner } from "@smithy/core";
3
- import { IdentityProviderConfig } from "@smithy/types";
4
- import { SSOClientConfig } from "./SSOClient";
3
+ import type { IdentityProviderConfig } from "@smithy/types";
4
+ import type { SSOClientConfig } from "./SSOClient";
5
5
  /**
6
6
  * @internal
7
7
  */
@@ -1,4 +1,4 @@
1
- import { SSOExtensionConfiguration } from "./extensionConfiguration";
1
+ import type { SSOExtensionConfiguration } from "./extensionConfiguration";
2
2
  /**
3
3
  * @public
4
4
  */
@@ -1,4 +1,4 @@
1
- import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
1
+ import type { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
2
2
  export declare var AccessTokenType: StaticSimpleSchema;
3
3
  export declare var SecretAccessKeyType: StaticSimpleSchema;
4
4
  export declare var SessionTokenType: StaticSimpleSchema;
@@ -20,10 +20,10 @@ import {
20
20
  } from "@smithy/middleware-retry";
21
21
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
22
22
  import {
23
- Client as __Client,
24
23
  DefaultsMode as __DefaultsMode,
25
24
  SmithyConfiguration as __SmithyConfiguration,
26
25
  SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
26
+ Client as __Client,
27
27
  } from "@smithy/smithy-client";
28
28
  import {
29
29
  BodyLengthCalculator as __BodyLengthCalculator,
@@ -38,9 +38,9 @@ import {
38
38
  HttpResponse,
39
39
  Logger as __Logger,
40
40
  Provider as __Provider,
41
- Provider,
42
41
  StreamCollector as __StreamCollector,
43
42
  UrlParser as __UrlParser,
43
+ Provider,
44
44
  UserAgent as __UserAgent,
45
45
  } from "@smithy/types";
46
46
  import {
@@ -1,7 +1,7 @@
1
1
  import {
2
+ HttpAuthScheme,
2
3
  AwsCredentialIdentity,
3
4
  AwsCredentialIdentityProvider,
4
- HttpAuthScheme,
5
5
  } from "@smithy/types";
6
6
  import { SSOHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
@@ -1,6 +1,6 @@
1
1
  import {
2
- ServiceException as __ServiceException,
3
2
  ServiceExceptionOptions as __ServiceExceptionOptions,
3
+ ServiceException as __ServiceException,
4
4
  } from "@smithy/smithy-client";
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sso",
3
3
  "description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
4
- "version": "3.943.0",
4
+ "version": "3.946.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sso",
@@ -11,7 +11,8 @@
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
12
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
13
13
  "extract:docs": "api-extractor run --local",
14
- "generate:client": "node ../../scripts/generate-clients/single-service --solo sso"
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo sso",
15
+ "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
15
16
  },
16
17
  "main": "./dist-cjs/index.js",
17
18
  "types": "./dist-types/index.d.ts",
@@ -20,37 +21,37 @@
20
21
  "dependencies": {
21
22
  "@aws-crypto/sha256-browser": "5.2.0",
22
23
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.943.0",
24
+ "@aws-sdk/core": "3.946.0",
24
25
  "@aws-sdk/middleware-host-header": "3.936.0",
25
26
  "@aws-sdk/middleware-logger": "3.936.0",
26
27
  "@aws-sdk/middleware-recursion-detection": "3.936.0",
27
- "@aws-sdk/middleware-user-agent": "3.943.0",
28
+ "@aws-sdk/middleware-user-agent": "3.946.0",
28
29
  "@aws-sdk/region-config-resolver": "3.936.0",
29
30
  "@aws-sdk/types": "3.936.0",
30
31
  "@aws-sdk/util-endpoints": "3.936.0",
31
32
  "@aws-sdk/util-user-agent-browser": "3.936.0",
32
- "@aws-sdk/util-user-agent-node": "3.943.0",
33
+ "@aws-sdk/util-user-agent-node": "3.946.0",
33
34
  "@smithy/config-resolver": "^4.4.3",
34
- "@smithy/core": "^3.18.5",
35
+ "@smithy/core": "^3.18.7",
35
36
  "@smithy/fetch-http-handler": "^5.3.6",
36
37
  "@smithy/hash-node": "^4.2.5",
37
38
  "@smithy/invalid-dependency": "^4.2.5",
38
39
  "@smithy/middleware-content-length": "^4.2.5",
39
- "@smithy/middleware-endpoint": "^4.3.12",
40
- "@smithy/middleware-retry": "^4.4.12",
40
+ "@smithy/middleware-endpoint": "^4.3.14",
41
+ "@smithy/middleware-retry": "^4.4.14",
41
42
  "@smithy/middleware-serde": "^4.2.6",
42
43
  "@smithy/middleware-stack": "^4.2.5",
43
44
  "@smithy/node-config-provider": "^4.3.5",
44
45
  "@smithy/node-http-handler": "^4.4.5",
45
46
  "@smithy/protocol-http": "^5.3.5",
46
- "@smithy/smithy-client": "^4.9.8",
47
+ "@smithy/smithy-client": "^4.9.10",
47
48
  "@smithy/types": "^4.9.0",
48
49
  "@smithy/url-parser": "^4.2.5",
49
50
  "@smithy/util-base64": "^4.3.0",
50
51
  "@smithy/util-body-length-browser": "^4.2.0",
51
52
  "@smithy/util-body-length-node": "^4.2.1",
52
- "@smithy/util-defaults-mode-browser": "^4.3.11",
53
- "@smithy/util-defaults-mode-node": "^4.2.14",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.13",
54
+ "@smithy/util-defaults-mode-node": "^4.2.16",
54
55
  "@smithy/util-endpoints": "^3.2.5",
55
56
  "@smithy/util-middleware": "^4.2.5",
56
57
  "@smithy/util-retry": "^4.2.5",
@@ -406,9 +406,18 @@ class ProtocolLib {
406
406
  const msg = exception.Message ?? additions.Message;
407
407
  const error = smithyClient.decorateServiceException(exception, additions);
408
408
  if (msg) {
409
- error.Message = msg;
410
409
  error.message = msg;
411
410
  }
411
+ error.Error = {
412
+ ...error.Error,
413
+ Type: error.Error.Type,
414
+ Code: error.Error.Code,
415
+ Message: error.Error.message ?? error.Error.Message ?? msg,
416
+ };
417
+ const reqId = error.$metadata.requestId;
418
+ if (reqId) {
419
+ error.RequestId = reqId;
420
+ }
412
421
  return error;
413
422
  }
414
423
  return smithyClient.decorateServiceException(exception, additions);
@@ -424,7 +433,7 @@ class ProtocolLib {
424
433
  };
425
434
  Object.assign(output, Error);
426
435
  for (const [k, v] of entries) {
427
- Error[k] = v;
436
+ Error[k === "message" ? "Message" : k] = v;
428
437
  }
429
438
  delete Error.__type;
430
439
  output.Error = Error;
@@ -441,6 +450,14 @@ class ProtocolLib {
441
450
  errorData.Code = queryCompatErrorData.Code;
442
451
  }
443
452
  }
453
+ findQueryCompatibleError(registry, errorName) {
454
+ try {
455
+ return registry.getSchema(errorName);
456
+ }
457
+ catch (e) {
458
+ return registry.find((schema$1) => schema.NormalizedSchema.of(schema$1).getMergedTraits().awsQueryError?.[0] === errorName);
459
+ }
460
+ }
444
461
  }
445
462
 
446
463
  class AwsSmithyRpcV2CborProtocol extends cbor.SmithyRpcV2CborProtocol {
@@ -462,15 +479,23 @@ class AwsSmithyRpcV2CborProtocol extends cbor.SmithyRpcV2CborProtocol {
462
479
  if (this.awsQueryCompatible) {
463
480
  this.mixin.setQueryCompatError(dataObject, response);
464
481
  }
465
- const errorName = cbor.loadSmithyRpcV2CborErrorCode(response, dataObject) ?? "Unknown";
466
- const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorName, this.options.defaultNamespace, response, dataObject, metadata);
482
+ const errorName = (() => {
483
+ const compatHeader = response.headers["x-amzn-query-error"];
484
+ if (compatHeader && this.awsQueryCompatible) {
485
+ return compatHeader.split(";")[0];
486
+ }
487
+ return cbor.loadSmithyRpcV2CborErrorCode(response, dataObject) ?? "Unknown";
488
+ })();
489
+ const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorName, this.options.defaultNamespace, response, dataObject, metadata, this.awsQueryCompatible ? this.mixin.findQueryCompatibleError : undefined);
467
490
  const ns = schema.NormalizedSchema.of(errorSchema);
468
491
  const message = dataObject.message ?? dataObject.Message ?? "Unknown";
469
492
  const ErrorCtor = schema.TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;
470
493
  const exception = new ErrorCtor(message);
471
494
  const output = {};
472
495
  for (const [name, member] of ns.structIterator()) {
473
- output[name] = this.deserializer.readValue(member, dataObject[name]);
496
+ if (dataObject[name] != null) {
497
+ output[name] = this.deserializer.readValue(member, dataObject[name]);
498
+ }
474
499
  }
475
500
  if (this.awsQueryCompatible) {
476
501
  this.mixin.queryCompatOutput(dataObject, output);
@@ -1035,15 +1060,16 @@ class AwsJsonRpcProtocol extends protocols.RpcProtocol {
1035
1060
  this.mixin.setQueryCompatError(dataObject, response);
1036
1061
  }
1037
1062
  const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? "Unknown";
1038
- const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata);
1063
+ const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata, this.awsQueryCompatible ? this.mixin.findQueryCompatibleError : undefined);
1039
1064
  const ns = schema.NormalizedSchema.of(errorSchema);
1040
1065
  const message = dataObject.message ?? dataObject.Message ?? "Unknown";
1041
1066
  const ErrorCtor = schema.TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;
1042
1067
  const exception = new ErrorCtor(message);
1043
1068
  const output = {};
1044
1069
  for (const [name, member] of ns.structIterator()) {
1045
- const target = member.getMergedTraits().jsonName ?? name;
1046
- output[name] = this.codec.createDeserializer().readObject(member, dataObject[target]);
1070
+ if (dataObject[name] != null) {
1071
+ output[name] = this.codec.createDeserializer().readObject(member, dataObject[name]);
1072
+ }
1047
1073
  }
1048
1074
  if (this.awsQueryCompatible) {
1049
1075
  this.mixin.queryCompatOutput(dataObject, output);
@@ -1563,18 +1589,13 @@ class AwsQueryProtocol extends protocols.RpcProtocol {
1563
1589
  Code: errorData.Code,
1564
1590
  Message: message,
1565
1591
  };
1566
- const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, errorData, metadata, (registry, errorName) => {
1567
- try {
1568
- return registry.getSchema(errorName);
1569
- }
1570
- catch (e) {
1571
- return registry.find((schema$1) => schema.NormalizedSchema.of(schema$1).getMergedTraits().awsQueryError?.[0] === errorName);
1572
- }
1573
- });
1592
+ const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, errorData, metadata, this.mixin.findQueryCompatibleError);
1574
1593
  const ns = schema.NormalizedSchema.of(errorSchema);
1575
1594
  const ErrorCtor = schema.TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;
1576
1595
  const exception = new ErrorCtor(message);
1577
1596
  const output = {
1597
+ Type: errorData.Error.Type,
1598
+ Code: errorData.Error.Code,
1578
1599
  Error: errorData.Error,
1579
1600
  };
1580
1601
  for (const [name, member] of ns.structIterator()) {
@@ -1997,7 +2018,9 @@ class AwsRestXmlProtocol extends protocols.HttpBindingProtocol {
1997
2018
  }
1998
2019
  if (request.headers["content-type"] === this.getDefaultContentType()) {
1999
2020
  if (typeof request.body === "string") {
2000
- request.body = '<?xml version="1.0" encoding="UTF-8"?>' + request.body;
2021
+ if (!request.body.startsWith("<?xml ")) {
2022
+ request.body = '<?xml version="1.0" encoding="UTF-8"?>' + request.body;
2023
+ }
2001
2024
  }
2002
2025
  }
2003
2026
  return request;
@@ -76,9 +76,18 @@ class ProtocolLib {
76
76
  const msg = exception.Message ?? additions.Message;
77
77
  const error = smithyClient.decorateServiceException(exception, additions);
78
78
  if (msg) {
79
- error.Message = msg;
80
79
  error.message = msg;
81
80
  }
81
+ error.Error = {
82
+ ...error.Error,
83
+ Type: error.Error.Type,
84
+ Code: error.Error.Code,
85
+ Message: error.Error.message ?? error.Error.Message ?? msg,
86
+ };
87
+ const reqId = error.$metadata.requestId;
88
+ if (reqId) {
89
+ error.RequestId = reqId;
90
+ }
82
91
  return error;
83
92
  }
84
93
  return smithyClient.decorateServiceException(exception, additions);
@@ -94,7 +103,7 @@ class ProtocolLib {
94
103
  };
95
104
  Object.assign(output, Error);
96
105
  for (const [k, v] of entries) {
97
- Error[k] = v;
106
+ Error[k === "message" ? "Message" : k] = v;
98
107
  }
99
108
  delete Error.__type;
100
109
  output.Error = Error;
@@ -111,6 +120,14 @@ class ProtocolLib {
111
120
  errorData.Code = queryCompatErrorData.Code;
112
121
  }
113
122
  }
123
+ findQueryCompatibleError(registry, errorName) {
124
+ try {
125
+ return registry.getSchema(errorName);
126
+ }
127
+ catch (e) {
128
+ return registry.find((schema$1) => schema.NormalizedSchema.of(schema$1).getMergedTraits().awsQueryError?.[0] === errorName);
129
+ }
130
+ }
114
131
  }
115
132
 
116
133
  class AwsSmithyRpcV2CborProtocol extends cbor.SmithyRpcV2CborProtocol {
@@ -132,15 +149,23 @@ class AwsSmithyRpcV2CborProtocol extends cbor.SmithyRpcV2CborProtocol {
132
149
  if (this.awsQueryCompatible) {
133
150
  this.mixin.setQueryCompatError(dataObject, response);
134
151
  }
135
- const errorName = cbor.loadSmithyRpcV2CborErrorCode(response, dataObject) ?? "Unknown";
136
- const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorName, this.options.defaultNamespace, response, dataObject, metadata);
152
+ const errorName = (() => {
153
+ const compatHeader = response.headers["x-amzn-query-error"];
154
+ if (compatHeader && this.awsQueryCompatible) {
155
+ return compatHeader.split(";")[0];
156
+ }
157
+ return cbor.loadSmithyRpcV2CborErrorCode(response, dataObject) ?? "Unknown";
158
+ })();
159
+ const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorName, this.options.defaultNamespace, response, dataObject, metadata, this.awsQueryCompatible ? this.mixin.findQueryCompatibleError : undefined);
137
160
  const ns = schema.NormalizedSchema.of(errorSchema);
138
161
  const message = dataObject.message ?? dataObject.Message ?? "Unknown";
139
162
  const ErrorCtor = schema.TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;
140
163
  const exception = new ErrorCtor(message);
141
164
  const output = {};
142
165
  for (const [name, member] of ns.structIterator()) {
143
- output[name] = this.deserializer.readValue(member, dataObject[name]);
166
+ if (dataObject[name] != null) {
167
+ output[name] = this.deserializer.readValue(member, dataObject[name]);
168
+ }
144
169
  }
145
170
  if (this.awsQueryCompatible) {
146
171
  this.mixin.queryCompatOutput(dataObject, output);
@@ -705,15 +730,16 @@ class AwsJsonRpcProtocol extends protocols.RpcProtocol {
705
730
  this.mixin.setQueryCompatError(dataObject, response);
706
731
  }
707
732
  const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? "Unknown";
708
- const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata);
733
+ const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata, this.awsQueryCompatible ? this.mixin.findQueryCompatibleError : undefined);
709
734
  const ns = schema.NormalizedSchema.of(errorSchema);
710
735
  const message = dataObject.message ?? dataObject.Message ?? "Unknown";
711
736
  const ErrorCtor = schema.TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;
712
737
  const exception = new ErrorCtor(message);
713
738
  const output = {};
714
739
  for (const [name, member] of ns.structIterator()) {
715
- const target = member.getMergedTraits().jsonName ?? name;
716
- output[name] = this.codec.createDeserializer().readObject(member, dataObject[target]);
740
+ if (dataObject[name] != null) {
741
+ output[name] = this.codec.createDeserializer().readObject(member, dataObject[name]);
742
+ }
717
743
  }
718
744
  if (this.awsQueryCompatible) {
719
745
  this.mixin.queryCompatOutput(dataObject, output);
@@ -1233,18 +1259,13 @@ class AwsQueryProtocol extends protocols.RpcProtocol {
1233
1259
  Code: errorData.Code,
1234
1260
  Message: message,
1235
1261
  };
1236
- const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, errorData, metadata, (registry, errorName) => {
1237
- try {
1238
- return registry.getSchema(errorName);
1239
- }
1240
- catch (e) {
1241
- return registry.find((schema$1) => schema.NormalizedSchema.of(schema$1).getMergedTraits().awsQueryError?.[0] === errorName);
1242
- }
1243
- });
1262
+ const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, errorData, metadata, this.mixin.findQueryCompatibleError);
1244
1263
  const ns = schema.NormalizedSchema.of(errorSchema);
1245
1264
  const ErrorCtor = schema.TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;
1246
1265
  const exception = new ErrorCtor(message);
1247
1266
  const output = {
1267
+ Type: errorData.Error.Type,
1268
+ Code: errorData.Error.Code,
1248
1269
  Error: errorData.Error,
1249
1270
  };
1250
1271
  for (const [name, member] of ns.structIterator()) {
@@ -1667,7 +1688,9 @@ class AwsRestXmlProtocol extends protocols.HttpBindingProtocol {
1667
1688
  }
1668
1689
  if (request.headers["content-type"] === this.getDefaultContentType()) {
1669
1690
  if (typeof request.body === "string") {
1670
- request.body = '<?xml version="1.0" encoding="UTF-8"?>' + request.body;
1691
+ if (!request.body.startsWith("<?xml ")) {
1692
+ request.body = '<?xml version="1.0" encoding="UTF-8"?>' + request.body;
1693
+ }
1671
1694
  }
1672
1695
  }
1673
1696
  return request;
@@ -1,4 +1,4 @@
1
- import { TypeRegistry } from "@smithy/core/schema";
1
+ import { NormalizedSchema, TypeRegistry } from "@smithy/core/schema";
2
2
  import { decorateServiceException } from "@smithy/smithy-client";
3
3
  export class ProtocolLib {
4
4
  queryCompat;
@@ -67,9 +67,18 @@ export class ProtocolLib {
67
67
  const msg = exception.Message ?? additions.Message;
68
68
  const error = decorateServiceException(exception, additions);
69
69
  if (msg) {
70
- error.Message = msg;
71
70
  error.message = msg;
72
71
  }
72
+ error.Error = {
73
+ ...error.Error,
74
+ Type: error.Error.Type,
75
+ Code: error.Error.Code,
76
+ Message: error.Error.message ?? error.Error.Message ?? msg,
77
+ };
78
+ const reqId = error.$metadata.requestId;
79
+ if (reqId) {
80
+ error.RequestId = reqId;
81
+ }
73
82
  return error;
74
83
  }
75
84
  return decorateServiceException(exception, additions);
@@ -85,7 +94,7 @@ export class ProtocolLib {
85
94
  };
86
95
  Object.assign(output, Error);
87
96
  for (const [k, v] of entries) {
88
- Error[k] = v;
97
+ Error[k === "message" ? "Message" : k] = v;
89
98
  }
90
99
  delete Error.__type;
91
100
  output.Error = Error;
@@ -102,4 +111,12 @@ export class ProtocolLib {
102
111
  errorData.Code = queryCompatErrorData.Code;
103
112
  }
104
113
  }
114
+ findQueryCompatibleError(registry, errorName) {
115
+ try {
116
+ return registry.getSchema(errorName);
117
+ }
118
+ catch (e) {
119
+ return registry.find((schema) => NormalizedSchema.of(schema).getMergedTraits().awsQueryError?.[0] === errorName);
120
+ }
121
+ }
105
122
  }
@@ -20,15 +20,23 @@ export class AwsSmithyRpcV2CborProtocol extends SmithyRpcV2CborProtocol {
20
20
  if (this.awsQueryCompatible) {
21
21
  this.mixin.setQueryCompatError(dataObject, response);
22
22
  }
23
- const errorName = loadSmithyRpcV2CborErrorCode(response, dataObject) ?? "Unknown";
24
- const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorName, this.options.defaultNamespace, response, dataObject, metadata);
23
+ const errorName = (() => {
24
+ const compatHeader = response.headers["x-amzn-query-error"];
25
+ if (compatHeader && this.awsQueryCompatible) {
26
+ return compatHeader.split(";")[0];
27
+ }
28
+ return loadSmithyRpcV2CborErrorCode(response, dataObject) ?? "Unknown";
29
+ })();
30
+ const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorName, this.options.defaultNamespace, response, dataObject, metadata, this.awsQueryCompatible ? this.mixin.findQueryCompatibleError : undefined);
25
31
  const ns = NormalizedSchema.of(errorSchema);
26
32
  const message = dataObject.message ?? dataObject.Message ?? "Unknown";
27
33
  const ErrorCtor = TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;
28
34
  const exception = new ErrorCtor(message);
29
35
  const output = {};
30
36
  for (const [name, member] of ns.structIterator()) {
31
- output[name] = this.deserializer.readValue(member, dataObject[name]);
37
+ if (dataObject[name] != null) {
38
+ output[name] = this.deserializer.readValue(member, dataObject[name]);
39
+ }
32
40
  }
33
41
  if (this.awsQueryCompatible) {
34
42
  this.mixin.queryCompatOutput(dataObject, output);