@cdklabs/cdk-construct-connect-datalake 0.0.6 → 0.0.7
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.
- package/.jsii +8 -8
- package/lib/index.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/endpoint/bdd.js +52 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/endpoint/bdd.js +49 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/package.json +18 -18
- package/node_modules/@aws-sdk/client-connect/README.md +21 -0
- package/node_modules/@aws-sdk/client-connect/dist-cjs/endpoint/bdd.js +52 -0
- package/node_modules/@aws-sdk/client-connect/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/client-connect/dist-cjs/index.js +53 -0
- package/node_modules/@aws-sdk/client-connect/dist-cjs/schemas/schemas_0.js +130 -45
- package/node_modules/@aws-sdk/client-connect/dist-es/Connect.js +8 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/commands/DescribeAttachedFilesConfigurationCommand.js +16 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/commands/ListAttachedFilesConfigurationsCommand.js +16 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/commands/UpdateAttachedFilesConfigurationCommand.js +16 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/commands/index.js +3 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/endpoint/bdd.js +49 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/client-connect/dist-es/models/enums.js +6 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/pagination/ListAttachedFilesConfigurationsPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/pagination/index.js +1 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/schemas/schemas_0.js +99 -14
- package/node_modules/@aws-sdk/client-connect/dist-types/Connect.d.ts +28 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ConnectClient.d.ts +5 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/DescribeAttachedFilesConfigurationCommand.d.ts +103 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetPromptFileCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetTaskTemplateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetTestCaseExecutionSummaryCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/ListAttachedFilesConfigurationsCommand.d.ts +106 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchQuickConnectsCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchResourceTagsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateAttachedFilesConfigurationCommand.d.ts +109 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/index.d.ts +3 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/models/enums.d.ts +14 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/models/models_0.d.ts +11 -11
- package/node_modules/@aws-sdk/client-connect/dist-types/models/models_1.d.ts +80 -155
- package/node_modules/@aws-sdk/client-connect/dist-types/models/models_2.d.ts +218 -199
- package/node_modules/@aws-sdk/client-connect/dist-types/models/models_3.d.ts +254 -3
- package/node_modules/@aws-sdk/client-connect/dist-types/pagination/ListAttachedFilesConfigurationsPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/pagination/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/schemas/schemas_0.d.ts +13 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/Connect.d.ts +64 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/ConnectClient.d.ts +18 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/DescribeAttachedFilesConfigurationCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetPromptFileCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetTaskTemplateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetTestCaseExecutionSummaryCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/ListAttachedFilesConfigurationsCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchQuickConnectsCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchResourceTagsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateAttachedFilesConfigurationCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/enums.d.ts +8 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_0.d.ts +3 -3
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_1.d.ts +23 -40
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_2.d.ts +55 -37
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_3.d.ts +52 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/pagination/ListAttachedFilesConfigurationsPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/schemas/schemas_0.d.ts +13 -0
- package/node_modules/@aws-sdk/client-connect/package.json +18 -18
- package/node_modules/@aws-sdk/client-glue/dist-cjs/endpoint/bdd.js +49 -0
- package/node_modules/@aws-sdk/client-glue/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/client-glue/dist-es/endpoint/bdd.js +46 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/client-glue/dist-types/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-glue/package.json +18 -18
- package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/endpoint/bdd.js +49 -0
- package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/client-lakeformation/dist-es/endpoint/bdd.js +46 -0
- package/node_modules/@aws-sdk/client-lakeformation/dist-es/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/client-lakeformation/dist-types/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-lakeformation/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-lakeformation/package.json +19 -19
- package/node_modules/@aws-sdk/client-ram/dist-cjs/endpoint/bdd.js +52 -0
- package/node_modules/@aws-sdk/client-ram/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/client-ram/dist-es/endpoint/bdd.js +49 -0
- package/node_modules/@aws-sdk/client-ram/dist-es/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/client-ram/dist-types/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ram/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ram/package.json +18 -18
- package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/bdd.js +88 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-cjs/models/errors.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/bdd.js +85 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/client-sts/dist-es/models/errors.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/models/errors.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/errors.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/package.json +20 -20
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +20 -11
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +3 -0
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +18 -11
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/setFeature.js +2 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +6 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +6 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +2 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +2 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +0 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +4 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/setFeature.d.ts +1 -1
- package/node_modules/@aws-sdk/core/package.json +7 -5
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +9 -25
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/toStream.browser.js +11 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/toStream.js +7 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/throw-200-exceptions.js +9 -25
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/toStream.browser.js +8 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/toStream.js +4 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/throw-200-exceptions.d.ts +2 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/toStream.browser.d.ts +4 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/toStream.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/throw-200-exceptions.d.ts +2 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/toStream.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/toStream.d.ts +2 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +15 -8
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +5 -5
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/bdd.js +100 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/bdd.js +90 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/bdd.js +80 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/bdd.js +80 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +87 -5
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/bdd.js +150 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js +6 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +7 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/bdd.js +97 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +87 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/bdd.js +77 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/bdd.js +77 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +88 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/bdd.js +147 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/errors.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +8 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +15 -7
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +3 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +10 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +3 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +3 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +20 -9
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/errors.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +11 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +35 -16
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +11 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +8 -1
- package/node_modules/@aws-sdk/nested-clients/package.json +18 -17
- package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +0 -2
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +0 -2
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@nodable/entities/README.md +41 -0
- package/node_modules/@nodable/entities/package.json +54 -0
- package/node_modules/@nodable/entities/src/EntityDecoder.js +543 -0
- package/node_modules/@nodable/entities/src/EntityEncoder.js +194 -0
- package/node_modules/@nodable/entities/src/entities.js +1177 -0
- package/node_modules/@nodable/entities/src/entityTries.js +49 -0
- package/node_modules/@nodable/entities/src/index.d.ts +264 -0
- package/node_modules/@nodable/entities/src/index.js +29 -0
- package/node_modules/@smithy/core/package.json +2 -2
- package/node_modules/@smithy/middleware-endpoint/package.json +3 -3
- package/node_modules/@smithy/middleware-retry/package.json +5 -5
- package/node_modules/@smithy/middleware-serde/package.json +2 -2
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +27 -16
- package/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +5 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +22 -16
- package/node_modules/@smithy/node-http-handler/dist-types/http2/ClientHttp2SessionRef.d.ts +4 -0
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +2 -4
- package/node_modules/@smithy/node-http-handler/package.json +1 -1
- package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +1 -0
- package/node_modules/@smithy/service-error-classification/dist-es/index.js +1 -0
- package/node_modules/@smithy/service-error-classification/package.json +1 -1
- package/node_modules/@smithy/smithy-client/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
- package/node_modules/@smithy/util-retry/dist-cjs/index.js +20 -10
- package/node_modules/@smithy/util-retry/dist-es/StandardRetryStrategy.js +20 -10
- package/node_modules/@smithy/util-retry/dist-types/StandardRetryStrategy.d.ts +12 -4
- package/node_modules/@smithy/util-retry/package.json +2 -2
- package/node_modules/@smithy/util-stream/package.json +2 -2
- package/node_modules/@smithy/util-waiter/dist-cjs/index.js +59 -34
- package/node_modules/@smithy/util-waiter/dist-es/poller.js +61 -34
- package/node_modules/@smithy/util-waiter/dist-types/createWaiter.d.ts +1 -1
- package/node_modules/@smithy/util-waiter/dist-types/poller.d.ts +2 -1
- package/node_modules/@smithy/util-waiter/dist-types/waiter.d.ts +13 -13
- package/node_modules/@smithy/util-waiter/package.json +1 -1
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/CHANGELOG.md +53 -0
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/README.md +8 -28
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -0
- package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -0
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxp.d.cts +172 -6
- package/node_modules/fast-xml-parser/lib/fxp.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -0
- package/node_modules/fast-xml-parser/lib/fxparser.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -0
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/package.json +5 -4
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/fxp.d.ts +162 -3
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/DocTypeReader.js +2 -5
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/OptionsBuilder.js +15 -11
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/OrderedObjParser.js +168 -244
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/XMLParser.js +1 -1
- package/package.json +8 -8
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/endpoint/ruleset.js +0 -7
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/endpoint/ruleset.js +0 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-connect/dist-cjs/endpoint/ruleset.js +0 -7
- package/node_modules/@aws-sdk/client-connect/dist-es/endpoint/ruleset.js +0 -4
- package/node_modules/@aws-sdk/client-connect/dist-types/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-glue/dist-cjs/endpoint/ruleset.js +0 -7
- package/node_modules/@aws-sdk/client-glue/dist-es/endpoint/ruleset.js +0 -4
- package/node_modules/@aws-sdk/client-glue/dist-types/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/endpoint/ruleset.js +0 -7
- package/node_modules/@aws-sdk/client-lakeformation/dist-es/endpoint/ruleset.js +0 -4
- package/node_modules/@aws-sdk/client-lakeformation/dist-types/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-lakeformation/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-ram/dist-cjs/endpoint/ruleset.js +0 -7
- package/node_modules/@aws-sdk/client-ram/dist-es/endpoint/ruleset.js +0 -4
- package/node_modules/@aws-sdk/client-ram/dist-types/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-ram/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js +0 -7
- package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/ruleset.js +0 -4
- package/node_modules/@aws-sdk/client-sts/dist-types/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/ruleset.js +0 -146
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js +0 -133
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/ruleset.js +0 -106
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +0 -106
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +0 -145
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/ruleset.js +0 -143
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/ruleset.js +0 -130
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/ruleset.js +0 -103
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js +0 -103
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/ruleset.js +0 -142
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js +0 -2
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +0 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.cjs +0 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js +0 -2
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js.map +0 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js +0 -2
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js.map +0 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/pem.d.cts +0 -148
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/pem.d.ts +0 -135
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/LICENSE +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxvalidator.min.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxvalidator.min.js.map +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/cli/cli.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/cli/man.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/cli/read.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/fxp.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/ignoreAttributes.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/util.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/CharsSymbol.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/EntitiesParser.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OptionsBuilder.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/BaseOutputBuilder.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/JsArrBuilder.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/JsMinArrBuilder.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/JsObjBuilder.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/ParserOptionsBuilder.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/Report.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/TagPath.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/TagPathMatcher.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/XMLParser.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/Xml2JsParser.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/XmlPartReader.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/XmlSpecialTagsReader.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/inputSource/BufferSource.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/inputSource/StringSource.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/EntitiesParser.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/booleanParser.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/booleanParserExt.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/currency.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/join.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/number.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/trim.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/validator.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlbuilder/json2xml.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/node2json.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/xmlNode.js +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ram",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ram Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1037.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ram",
|
|
@@ -21,41 +21,41 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.974.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.974.5",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.36",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.10",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.10",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.11",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.35",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.13",
|
|
31
31
|
"@aws-sdk/types": "^3.973.8",
|
|
32
|
-
"@aws-sdk/util-endpoints": "^3.996.
|
|
32
|
+
"@aws-sdk/util-endpoints": "^3.996.8",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.10",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
35
|
-
"@smithy/config-resolver": "^4.4.
|
|
36
|
-
"@smithy/core": "^3.23.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.973.21",
|
|
35
|
+
"@smithy/config-resolver": "^4.4.17",
|
|
36
|
+
"@smithy/core": "^3.23.17",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.17",
|
|
38
38
|
"@smithy/hash-node": "^4.2.14",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.14",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.14",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.5.
|
|
43
|
-
"@smithy/middleware-serde": "^4.2.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.32",
|
|
42
|
+
"@smithy/middleware-retry": "^4.5.5",
|
|
43
|
+
"@smithy/middleware-serde": "^4.2.20",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.14",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.14",
|
|
46
|
-
"@smithy/node-http-handler": "^4.
|
|
46
|
+
"@smithy/node-http-handler": "^4.6.1",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.14",
|
|
48
|
-
"@smithy/smithy-client": "^4.12.
|
|
48
|
+
"@smithy/smithy-client": "^4.12.13",
|
|
49
49
|
"@smithy/types": "^4.14.1",
|
|
50
50
|
"@smithy/url-parser": "^4.2.14",
|
|
51
51
|
"@smithy/util-base64": "^4.3.2",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.2",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.3",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
56
|
-
"@smithy/util-endpoints": "^3.4.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.49",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.54",
|
|
56
|
+
"@smithy/util-endpoints": "^3.4.2",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.14",
|
|
58
|
-
"@smithy/util-retry": "^4.3.
|
|
58
|
+
"@smithy/util-retry": "^4.3.4",
|
|
59
59
|
"@smithy/util-utf8": "^4.2.2",
|
|
60
60
|
"tslib": "^2.6.2"
|
|
61
61
|
},
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.bdd = void 0;
|
|
4
|
+
const util_endpoints_1 = require("@smithy/util-endpoints");
|
|
5
|
+
const q = "ref";
|
|
6
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "stringEquals", g = "getAttr", h = "us-east-1", i = "sigv4", j = "sts", k = "https://sts.{Region}.{PartitionResult#dnsSuffix}", l = { [q]: "Endpoint" }, m = { [q]: "Region" }, n = { [q]: d }, o = {}, p = [m];
|
|
7
|
+
const _data = {
|
|
8
|
+
conditions: [
|
|
9
|
+
[c, [l]],
|
|
10
|
+
[c, p],
|
|
11
|
+
["aws.partition", p, d],
|
|
12
|
+
[e, [{ [q]: "UseFIPS" }, b]],
|
|
13
|
+
[e, [{ [q]: "UseDualStack" }, b]],
|
|
14
|
+
[f, [m, "aws-global"]],
|
|
15
|
+
[e, [{ [q]: "UseGlobalEndpoint" }, b]],
|
|
16
|
+
[f, [m, "eu-central-1"]],
|
|
17
|
+
[e, [{ fn: g, argv: [n, "supportsDualStack"] }, b]],
|
|
18
|
+
[e, [{ fn: g, argv: [n, "supportsFIPS"] }, b]],
|
|
19
|
+
[f, [m, "ap-south-1"]],
|
|
20
|
+
[f, [m, "eu-north-1"]],
|
|
21
|
+
[f, [m, "eu-west-1"]],
|
|
22
|
+
[f, [m, "eu-west-2"]],
|
|
23
|
+
[f, [m, "eu-west-3"]],
|
|
24
|
+
[f, [m, "sa-east-1"]],
|
|
25
|
+
[f, [m, h]],
|
|
26
|
+
[f, [m, "us-east-2"]],
|
|
27
|
+
[f, [m, "us-west-2"]],
|
|
28
|
+
[f, [m, "us-west-1"]],
|
|
29
|
+
[f, [m, "ca-central-1"]],
|
|
30
|
+
[f, [m, "ap-southeast-1"]],
|
|
31
|
+
[f, [m, "ap-northeast-1"]],
|
|
32
|
+
[f, [m, "ap-southeast-2"]],
|
|
33
|
+
[f, [{ fn: g, argv: [n, "name"] }, "aws-us-gov"]]
|
|
34
|
+
],
|
|
35
|
+
results: [
|
|
36
|
+
[a],
|
|
37
|
+
["https://sts.amazonaws.com", { authSchemes: [{ name: i, signingName: j, signingRegion: h }] }],
|
|
38
|
+
[k, { authSchemes: [{ name: i, signingName: j, signingRegion: "{Region}" }] }],
|
|
39
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
40
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
41
|
+
[l, o],
|
|
42
|
+
["https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", o],
|
|
43
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
44
|
+
["https://sts.{Region}.amazonaws.com", o],
|
|
45
|
+
["https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", o],
|
|
46
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
47
|
+
["https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", o],
|
|
48
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
49
|
+
[k, o],
|
|
50
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
51
|
+
]
|
|
52
|
+
};
|
|
53
|
+
const root = 2;
|
|
54
|
+
const r = 100_000_000;
|
|
55
|
+
const nodes = new Int32Array([
|
|
56
|
+
-1, 1, -1,
|
|
57
|
+
0, 30, 3,
|
|
58
|
+
1, 4, r + 14,
|
|
59
|
+
2, 5, r + 14,
|
|
60
|
+
3, 25, 6,
|
|
61
|
+
4, 24, 7,
|
|
62
|
+
5, r + 1, 8,
|
|
63
|
+
6, 9, r + 13,
|
|
64
|
+
7, r + 1, 10,
|
|
65
|
+
10, r + 1, 11,
|
|
66
|
+
11, r + 1, 12,
|
|
67
|
+
12, r + 1, 13,
|
|
68
|
+
13, r + 1, 14,
|
|
69
|
+
14, r + 1, 15,
|
|
70
|
+
15, r + 1, 16,
|
|
71
|
+
16, r + 1, 17,
|
|
72
|
+
17, r + 1, 18,
|
|
73
|
+
18, r + 1, 19,
|
|
74
|
+
19, r + 1, 20,
|
|
75
|
+
20, r + 1, 21,
|
|
76
|
+
21, r + 1, 22,
|
|
77
|
+
22, r + 1, 23,
|
|
78
|
+
23, r + 1, r + 2,
|
|
79
|
+
8, r + 11, r + 12,
|
|
80
|
+
4, 28, 26,
|
|
81
|
+
9, 27, r + 10,
|
|
82
|
+
24, r + 8, r + 9,
|
|
83
|
+
8, 29, r + 7,
|
|
84
|
+
9, r + 6, r + 7,
|
|
85
|
+
3, r + 3, 31,
|
|
86
|
+
4, r + 4, r + 5,
|
|
87
|
+
]);
|
|
88
|
+
exports.bdd = util_endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -3,13 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
4
|
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
5
|
const util_endpoints_2 = require("@smithy/util-endpoints");
|
|
6
|
-
const
|
|
6
|
+
const bdd_1 = require("./bdd");
|
|
7
7
|
const cache = new util_endpoints_2.EndpointCache({
|
|
8
8
|
size: 50,
|
|
9
9
|
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS", "UseGlobalEndpoint"],
|
|
10
10
|
});
|
|
11
11
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
12
|
-
return cache.get(endpointParams, () => (0, util_endpoints_2.
|
|
12
|
+
return cache.get(endpointParams, () => (0, util_endpoints_2.decideEndpoint)(bdd_1.bdd, {
|
|
13
13
|
endpointParams: endpointParams,
|
|
14
14
|
logger: context.logger,
|
|
15
15
|
}));
|
|
@@ -83,6 +83,7 @@ exports.InvalidIdentityTokenException = InvalidIdentityTokenException;
|
|
|
83
83
|
class IDPCommunicationErrorException extends STSServiceException_1.STSServiceException {
|
|
84
84
|
name = "IDPCommunicationErrorException";
|
|
85
85
|
$fault = "client";
|
|
86
|
+
$retryable = {};
|
|
86
87
|
constructor(opts) {
|
|
87
88
|
super({
|
|
88
89
|
name: "IDPCommunicationErrorException",
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
|
|
2
|
+
const q = "ref";
|
|
3
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "stringEquals", g = "getAttr", h = "us-east-1", i = "sigv4", j = "sts", k = "https://sts.{Region}.{PartitionResult#dnsSuffix}", l = { [q]: "Endpoint" }, m = { [q]: "Region" }, n = { [q]: d }, o = {}, p = [m];
|
|
4
|
+
const _data = {
|
|
5
|
+
conditions: [
|
|
6
|
+
[c, [l]],
|
|
7
|
+
[c, p],
|
|
8
|
+
["aws.partition", p, d],
|
|
9
|
+
[e, [{ [q]: "UseFIPS" }, b]],
|
|
10
|
+
[e, [{ [q]: "UseDualStack" }, b]],
|
|
11
|
+
[f, [m, "aws-global"]],
|
|
12
|
+
[e, [{ [q]: "UseGlobalEndpoint" }, b]],
|
|
13
|
+
[f, [m, "eu-central-1"]],
|
|
14
|
+
[e, [{ fn: g, argv: [n, "supportsDualStack"] }, b]],
|
|
15
|
+
[e, [{ fn: g, argv: [n, "supportsFIPS"] }, b]],
|
|
16
|
+
[f, [m, "ap-south-1"]],
|
|
17
|
+
[f, [m, "eu-north-1"]],
|
|
18
|
+
[f, [m, "eu-west-1"]],
|
|
19
|
+
[f, [m, "eu-west-2"]],
|
|
20
|
+
[f, [m, "eu-west-3"]],
|
|
21
|
+
[f, [m, "sa-east-1"]],
|
|
22
|
+
[f, [m, h]],
|
|
23
|
+
[f, [m, "us-east-2"]],
|
|
24
|
+
[f, [m, "us-west-2"]],
|
|
25
|
+
[f, [m, "us-west-1"]],
|
|
26
|
+
[f, [m, "ca-central-1"]],
|
|
27
|
+
[f, [m, "ap-southeast-1"]],
|
|
28
|
+
[f, [m, "ap-northeast-1"]],
|
|
29
|
+
[f, [m, "ap-southeast-2"]],
|
|
30
|
+
[f, [{ fn: g, argv: [n, "name"] }, "aws-us-gov"]]
|
|
31
|
+
],
|
|
32
|
+
results: [
|
|
33
|
+
[a],
|
|
34
|
+
["https://sts.amazonaws.com", { authSchemes: [{ name: i, signingName: j, signingRegion: h }] }],
|
|
35
|
+
[k, { authSchemes: [{ name: i, signingName: j, signingRegion: "{Region}" }] }],
|
|
36
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
37
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
38
|
+
[l, o],
|
|
39
|
+
["https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", o],
|
|
40
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
41
|
+
["https://sts.{Region}.amazonaws.com", o],
|
|
42
|
+
["https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", o],
|
|
43
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
44
|
+
["https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", o],
|
|
45
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
46
|
+
[k, o],
|
|
47
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
48
|
+
]
|
|
49
|
+
};
|
|
50
|
+
const root = 2;
|
|
51
|
+
const r = 100_000_000;
|
|
52
|
+
const nodes = new Int32Array([
|
|
53
|
+
-1, 1, -1,
|
|
54
|
+
0, 30, 3,
|
|
55
|
+
1, 4, r + 14,
|
|
56
|
+
2, 5, r + 14,
|
|
57
|
+
3, 25, 6,
|
|
58
|
+
4, 24, 7,
|
|
59
|
+
5, r + 1, 8,
|
|
60
|
+
6, 9, r + 13,
|
|
61
|
+
7, r + 1, 10,
|
|
62
|
+
10, r + 1, 11,
|
|
63
|
+
11, r + 1, 12,
|
|
64
|
+
12, r + 1, 13,
|
|
65
|
+
13, r + 1, 14,
|
|
66
|
+
14, r + 1, 15,
|
|
67
|
+
15, r + 1, 16,
|
|
68
|
+
16, r + 1, 17,
|
|
69
|
+
17, r + 1, 18,
|
|
70
|
+
18, r + 1, 19,
|
|
71
|
+
19, r + 1, 20,
|
|
72
|
+
20, r + 1, 21,
|
|
73
|
+
21, r + 1, 22,
|
|
74
|
+
22, r + 1, 23,
|
|
75
|
+
23, r + 1, r + 2,
|
|
76
|
+
8, r + 11, r + 12,
|
|
77
|
+
4, 28, 26,
|
|
78
|
+
9, 27, r + 10,
|
|
79
|
+
24, r + 8, r + 9,
|
|
80
|
+
8, 29, r + 7,
|
|
81
|
+
9, r + 6, r + 7,
|
|
82
|
+
3, r + 3, 31,
|
|
83
|
+
4, r + 4, r + 5,
|
|
84
|
+
]);
|
|
85
|
+
export const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
-
import { customEndpointFunctions,
|
|
3
|
-
import {
|
|
2
|
+
import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/util-endpoints";
|
|
3
|
+
import { bdd } from "./bdd";
|
|
4
4
|
const cache = new EndpointCache({
|
|
5
5
|
size: 50,
|
|
6
6
|
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS", "UseGlobalEndpoint"],
|
|
7
7
|
});
|
|
8
8
|
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
9
|
-
return cache.get(endpointParams, () =>
|
|
9
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
10
10
|
endpointParams: endpointParams,
|
|
11
11
|
logger: context.logger,
|
|
12
12
|
}));
|
|
@@ -74,6 +74,7 @@ export class InvalidIdentityTokenException extends __BaseException {
|
|
|
74
74
|
export class IDPCommunicationErrorException extends __BaseException {
|
|
75
75
|
name = "IDPCommunicationErrorException";
|
|
76
76
|
$fault = "client";
|
|
77
|
+
$retryable = {};
|
|
77
78
|
constructor(opts) {
|
|
78
79
|
super({
|
|
79
80
|
name: "IDPCommunicationErrorException",
|
|
@@ -100,6 +100,7 @@ export declare class InvalidIdentityTokenException extends __BaseException {
|
|
|
100
100
|
export declare class IDPCommunicationErrorException extends __BaseException {
|
|
101
101
|
readonly name: "IDPCommunicationErrorException";
|
|
102
102
|
readonly $fault: "client";
|
|
103
|
+
$retryable: {};
|
|
103
104
|
/**
|
|
104
105
|
* @internal
|
|
105
106
|
*/
|
|
@@ -48,6 +48,7 @@ export declare class InvalidIdentityTokenException extends __BaseException {
|
|
|
48
48
|
export declare class IDPCommunicationErrorException extends __BaseException {
|
|
49
49
|
readonly name: "IDPCommunicationErrorException";
|
|
50
50
|
readonly $fault: "client";
|
|
51
|
+
$retryable: {};
|
|
51
52
|
constructor(
|
|
52
53
|
opts: __ExceptionOptionType<IDPCommunicationErrorException, __BaseException>
|
|
53
54
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sts",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1037.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sts",
|
|
@@ -27,47 +27,47 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
30
|
-
"@aws-sdk/core": "^3.974.
|
|
31
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
30
|
+
"@aws-sdk/core": "^3.974.5",
|
|
31
|
+
"@aws-sdk/credential-provider-node": "^3.972.36",
|
|
32
32
|
"@aws-sdk/middleware-host-header": "^3.972.10",
|
|
33
33
|
"@aws-sdk/middleware-logger": "^3.972.10",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "^3.972.11",
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
36
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
37
|
-
"@aws-sdk/signature-v4-multi-region": "^3.996.
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "^3.972.35",
|
|
36
|
+
"@aws-sdk/region-config-resolver": "^3.972.13",
|
|
37
|
+
"@aws-sdk/signature-v4-multi-region": "^3.996.22",
|
|
38
38
|
"@aws-sdk/types": "^3.973.8",
|
|
39
|
-
"@aws-sdk/util-endpoints": "^3.996.
|
|
39
|
+
"@aws-sdk/util-endpoints": "^3.996.8",
|
|
40
40
|
"@aws-sdk/util-user-agent-browser": "^3.972.10",
|
|
41
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
42
|
-
"@smithy/config-resolver": "^4.4.
|
|
43
|
-
"@smithy/core": "^3.23.
|
|
41
|
+
"@aws-sdk/util-user-agent-node": "^3.973.21",
|
|
42
|
+
"@smithy/config-resolver": "^4.4.17",
|
|
43
|
+
"@smithy/core": "^3.23.17",
|
|
44
44
|
"@smithy/fetch-http-handler": "^5.3.17",
|
|
45
45
|
"@smithy/hash-node": "^4.2.14",
|
|
46
46
|
"@smithy/invalid-dependency": "^4.2.14",
|
|
47
47
|
"@smithy/middleware-content-length": "^4.2.14",
|
|
48
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
49
|
-
"@smithy/middleware-retry": "^4.5.
|
|
50
|
-
"@smithy/middleware-serde": "^4.2.
|
|
48
|
+
"@smithy/middleware-endpoint": "^4.4.32",
|
|
49
|
+
"@smithy/middleware-retry": "^4.5.5",
|
|
50
|
+
"@smithy/middleware-serde": "^4.2.20",
|
|
51
51
|
"@smithy/middleware-stack": "^4.2.14",
|
|
52
52
|
"@smithy/node-config-provider": "^4.3.14",
|
|
53
|
-
"@smithy/node-http-handler": "^4.
|
|
53
|
+
"@smithy/node-http-handler": "^4.6.1",
|
|
54
54
|
"@smithy/protocol-http": "^5.3.14",
|
|
55
|
-
"@smithy/smithy-client": "^4.12.
|
|
55
|
+
"@smithy/smithy-client": "^4.12.13",
|
|
56
56
|
"@smithy/types": "^4.14.1",
|
|
57
57
|
"@smithy/url-parser": "^4.2.14",
|
|
58
58
|
"@smithy/util-base64": "^4.3.2",
|
|
59
59
|
"@smithy/util-body-length-browser": "^4.2.2",
|
|
60
60
|
"@smithy/util-body-length-node": "^4.2.3",
|
|
61
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
62
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
63
|
-
"@smithy/util-endpoints": "^3.4.
|
|
61
|
+
"@smithy/util-defaults-mode-browser": "^4.3.49",
|
|
62
|
+
"@smithy/util-defaults-mode-node": "^4.2.54",
|
|
63
|
+
"@smithy/util-endpoints": "^3.4.2",
|
|
64
64
|
"@smithy/util-middleware": "^4.2.14",
|
|
65
|
-
"@smithy/util-retry": "^4.3.
|
|
65
|
+
"@smithy/util-retry": "^4.3.4",
|
|
66
66
|
"@smithy/util-utf8": "^4.2.2",
|
|
67
67
|
"tslib": "^2.6.2"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@smithy/snapshot-testing": "^2.0.
|
|
70
|
+
"@smithy/snapshot-testing": "^2.0.8",
|
|
71
71
|
"@tsconfig/node20": "20.1.8",
|
|
72
72
|
"@types/node": "^20.14.8",
|
|
73
73
|
"concurrently": "7.0.0",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var utilRetry = require('@smithy/util-retry');
|
|
3
4
|
var protocolHttp = require('@smithy/protocol-http');
|
|
4
5
|
var core = require('@smithy/core');
|
|
5
6
|
var propertyProvider = require('@smithy/property-provider');
|
|
@@ -54,6 +55,7 @@ function setCredentialFeature(credentials, feature, value) {
|
|
|
54
55
|
return credentials;
|
|
55
56
|
}
|
|
56
57
|
|
|
58
|
+
utilRetry.Retry.v2026 ||= typeof process === "object" && process.env?.AWS_NEW_RETRIES_2026 === "true";
|
|
57
59
|
function setFeature(context, feature, value) {
|
|
58
60
|
if (!context.__aws_sdk_context) {
|
|
59
61
|
context.__aws_sdk_context = {
|
|
@@ -755,7 +757,8 @@ class JsonShapeDeserializer extends SerdeContextConfig {
|
|
|
755
757
|
unionSerde.writeUnknown();
|
|
756
758
|
}
|
|
757
759
|
else if (typeof record.__type === "string") {
|
|
758
|
-
for (const
|
|
760
|
+
for (const k in record) {
|
|
761
|
+
const v = record[k];
|
|
759
762
|
const t = jsonName ? nameMap[k] ?? k : k;
|
|
760
763
|
if (!(t in out)) {
|
|
761
764
|
out[t] = v;
|
|
@@ -775,8 +778,8 @@ class JsonShapeDeserializer extends SerdeContextConfig {
|
|
|
775
778
|
if (ns.isMapSchema()) {
|
|
776
779
|
const mapMember = ns.getValueSchema();
|
|
777
780
|
const out = {};
|
|
778
|
-
for (const
|
|
779
|
-
out[_k] = this._read(mapMember,
|
|
781
|
+
for (const _k in value) {
|
|
782
|
+
out[_k] = this._read(mapMember, value[_k]);
|
|
780
783
|
}
|
|
781
784
|
return out;
|
|
782
785
|
}
|
|
@@ -833,7 +836,8 @@ class JsonShapeDeserializer extends SerdeContextConfig {
|
|
|
833
836
|
if (ns.isDocumentSchema()) {
|
|
834
837
|
if (isObject) {
|
|
835
838
|
const out = Array.isArray(value) ? [] : {};
|
|
836
|
-
for (const
|
|
839
|
+
for (const k in value) {
|
|
840
|
+
const v = value[k];
|
|
837
841
|
if (v instanceof serde.NumericValue) {
|
|
838
842
|
out[k] = v;
|
|
839
843
|
}
|
|
@@ -962,7 +966,8 @@ class JsonShapeSerializer extends SerdeContextConfig {
|
|
|
962
966
|
}
|
|
963
967
|
}
|
|
964
968
|
else if (typeof record.__type === "string") {
|
|
965
|
-
for (const
|
|
969
|
+
for (const k in record) {
|
|
970
|
+
const v = record[k];
|
|
966
971
|
const targetKey = jsonName ? nameMap[k] ?? k : k;
|
|
967
972
|
if (!(targetKey in out)) {
|
|
968
973
|
out[targetKey] = this._write(15, v);
|
|
@@ -986,7 +991,8 @@ class JsonShapeSerializer extends SerdeContextConfig {
|
|
|
986
991
|
const mapMember = ns.getValueSchema();
|
|
987
992
|
const out = {};
|
|
988
993
|
const sparse = !!ns.getMergedTraits().sparse;
|
|
989
|
-
for (const
|
|
994
|
+
for (const _k in value) {
|
|
995
|
+
const _v = value[_k];
|
|
990
996
|
if (sparse || _v != null) {
|
|
991
997
|
out[_k] = this._write(mapMember, _v);
|
|
992
998
|
}
|
|
@@ -1051,7 +1057,8 @@ class JsonShapeSerializer extends SerdeContextConfig {
|
|
|
1051
1057
|
if (ns.isDocumentSchema()) {
|
|
1052
1058
|
if (isObject) {
|
|
1053
1059
|
const out = Array.isArray(value) ? [] : {};
|
|
1054
|
-
for (const
|
|
1060
|
+
for (const k in value) {
|
|
1061
|
+
const v = value[k];
|
|
1055
1062
|
if (v instanceof serde.NumericValue) {
|
|
1056
1063
|
this.useReplacer = true;
|
|
1057
1064
|
out[k] = v;
|
|
@@ -1550,7 +1557,8 @@ class QueryShapeSerializer extends SerdeContextConfig {
|
|
|
1550
1557
|
const memberSchema = ns.getValueSchema();
|
|
1551
1558
|
const flat = ns.getMergedTraits().xmlFlattened;
|
|
1552
1559
|
let i = 1;
|
|
1553
|
-
for (const
|
|
1560
|
+
for (const k in value) {
|
|
1561
|
+
const v = value[k];
|
|
1554
1562
|
if (v == null) {
|
|
1555
1563
|
continue;
|
|
1556
1564
|
}
|
|
@@ -2004,7 +2012,8 @@ class XmlShapeSerializer extends SerdeContextConfig {
|
|
|
2004
2012
|
entry.addChildNode(valueNode);
|
|
2005
2013
|
};
|
|
2006
2014
|
if (flat) {
|
|
2007
|
-
for (const
|
|
2015
|
+
for (const key in map) {
|
|
2016
|
+
const val = map[key];
|
|
2008
2017
|
if (sparse || val != null) {
|
|
2009
2018
|
const entry = xmlBuilder.XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName());
|
|
2010
2019
|
addKeyValue(entry, key, val);
|
|
@@ -2021,7 +2030,8 @@ class XmlShapeSerializer extends SerdeContextConfig {
|
|
|
2021
2030
|
}
|
|
2022
2031
|
container.addChildNode(mapNode);
|
|
2023
2032
|
}
|
|
2024
|
-
for (const
|
|
2033
|
+
for (const key in map) {
|
|
2034
|
+
const val = map[key];
|
|
2025
2035
|
if (sparse || val != null) {
|
|
2026
2036
|
const entry = xmlBuilder.XmlNode.of("entry");
|
|
2027
2037
|
addKeyValue(entry, key, val);
|
|
@@ -2144,7 +2154,6 @@ class AwsRestXmlProtocol extends protocols.HttpBindingProtocol {
|
|
|
2144
2154
|
this.codec = new XmlCodec(settings);
|
|
2145
2155
|
this.serializer = new protocols.HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);
|
|
2146
2156
|
this.deserializer = new protocols.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);
|
|
2147
|
-
this.compositeErrorRegistry;
|
|
2148
2157
|
}
|
|
2149
2158
|
getPayloadCodec() {
|
|
2150
2159
|
return this.codec;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var utilRetry = require('@smithy/util-retry');
|
|
4
|
+
|
|
3
5
|
const state = {
|
|
4
6
|
warningEmitted: false,
|
|
5
7
|
};
|
|
@@ -40,6 +42,7 @@ function setCredentialFeature(credentials, feature, value) {
|
|
|
40
42
|
return credentials;
|
|
41
43
|
}
|
|
42
44
|
|
|
45
|
+
utilRetry.Retry.v2026 ||= typeof process === "object" && process.env?.AWS_NEW_RETRIES_2026 === "true";
|
|
43
46
|
function setFeature(context, feature, value) {
|
|
44
47
|
if (!context.__aws_sdk_context) {
|
|
45
48
|
context.__aws_sdk_context = {
|
|
@@ -401,7 +401,8 @@ class JsonShapeDeserializer extends SerdeContextConfig {
|
|
|
401
401
|
unionSerde.writeUnknown();
|
|
402
402
|
}
|
|
403
403
|
else if (typeof record.__type === "string") {
|
|
404
|
-
for (const
|
|
404
|
+
for (const k in record) {
|
|
405
|
+
const v = record[k];
|
|
405
406
|
const t = jsonName ? nameMap[k] ?? k : k;
|
|
406
407
|
if (!(t in out)) {
|
|
407
408
|
out[t] = v;
|
|
@@ -421,8 +422,8 @@ class JsonShapeDeserializer extends SerdeContextConfig {
|
|
|
421
422
|
if (ns.isMapSchema()) {
|
|
422
423
|
const mapMember = ns.getValueSchema();
|
|
423
424
|
const out = {};
|
|
424
|
-
for (const
|
|
425
|
-
out[_k] = this._read(mapMember,
|
|
425
|
+
for (const _k in value) {
|
|
426
|
+
out[_k] = this._read(mapMember, value[_k]);
|
|
426
427
|
}
|
|
427
428
|
return out;
|
|
428
429
|
}
|
|
@@ -479,7 +480,8 @@ class JsonShapeDeserializer extends SerdeContextConfig {
|
|
|
479
480
|
if (ns.isDocumentSchema()) {
|
|
480
481
|
if (isObject) {
|
|
481
482
|
const out = Array.isArray(value) ? [] : {};
|
|
482
|
-
for (const
|
|
483
|
+
for (const k in value) {
|
|
484
|
+
const v = value[k];
|
|
483
485
|
if (v instanceof serde.NumericValue) {
|
|
484
486
|
out[k] = v;
|
|
485
487
|
}
|
|
@@ -608,7 +610,8 @@ class JsonShapeSerializer extends SerdeContextConfig {
|
|
|
608
610
|
}
|
|
609
611
|
}
|
|
610
612
|
else if (typeof record.__type === "string") {
|
|
611
|
-
for (const
|
|
613
|
+
for (const k in record) {
|
|
614
|
+
const v = record[k];
|
|
612
615
|
const targetKey = jsonName ? nameMap[k] ?? k : k;
|
|
613
616
|
if (!(targetKey in out)) {
|
|
614
617
|
out[targetKey] = this._write(15, v);
|
|
@@ -632,7 +635,8 @@ class JsonShapeSerializer extends SerdeContextConfig {
|
|
|
632
635
|
const mapMember = ns.getValueSchema();
|
|
633
636
|
const out = {};
|
|
634
637
|
const sparse = !!ns.getMergedTraits().sparse;
|
|
635
|
-
for (const
|
|
638
|
+
for (const _k in value) {
|
|
639
|
+
const _v = value[_k];
|
|
636
640
|
if (sparse || _v != null) {
|
|
637
641
|
out[_k] = this._write(mapMember, _v);
|
|
638
642
|
}
|
|
@@ -697,7 +701,8 @@ class JsonShapeSerializer extends SerdeContextConfig {
|
|
|
697
701
|
if (ns.isDocumentSchema()) {
|
|
698
702
|
if (isObject) {
|
|
699
703
|
const out = Array.isArray(value) ? [] : {};
|
|
700
|
-
for (const
|
|
704
|
+
for (const k in value) {
|
|
705
|
+
const v = value[k];
|
|
701
706
|
if (v instanceof serde.NumericValue) {
|
|
702
707
|
this.useReplacer = true;
|
|
703
708
|
out[k] = v;
|
|
@@ -1196,7 +1201,8 @@ class QueryShapeSerializer extends SerdeContextConfig {
|
|
|
1196
1201
|
const memberSchema = ns.getValueSchema();
|
|
1197
1202
|
const flat = ns.getMergedTraits().xmlFlattened;
|
|
1198
1203
|
let i = 1;
|
|
1199
|
-
for (const
|
|
1204
|
+
for (const k in value) {
|
|
1205
|
+
const v = value[k];
|
|
1200
1206
|
if (v == null) {
|
|
1201
1207
|
continue;
|
|
1202
1208
|
}
|
|
@@ -1650,7 +1656,8 @@ class XmlShapeSerializer extends SerdeContextConfig {
|
|
|
1650
1656
|
entry.addChildNode(valueNode);
|
|
1651
1657
|
};
|
|
1652
1658
|
if (flat) {
|
|
1653
|
-
for (const
|
|
1659
|
+
for (const key in map) {
|
|
1660
|
+
const val = map[key];
|
|
1654
1661
|
if (sparse || val != null) {
|
|
1655
1662
|
const entry = xmlBuilder.XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName());
|
|
1656
1663
|
addKeyValue(entry, key, val);
|
|
@@ -1667,7 +1674,8 @@ class XmlShapeSerializer extends SerdeContextConfig {
|
|
|
1667
1674
|
}
|
|
1668
1675
|
container.addChildNode(mapNode);
|
|
1669
1676
|
}
|
|
1670
|
-
for (const
|
|
1677
|
+
for (const key in map) {
|
|
1678
|
+
const val = map[key];
|
|
1671
1679
|
if (sparse || val != null) {
|
|
1672
1680
|
const entry = xmlBuilder.XmlNode.of("entry");
|
|
1673
1681
|
addKeyValue(entry, key, val);
|
|
@@ -1790,7 +1798,6 @@ class AwsRestXmlProtocol extends protocols.HttpBindingProtocol {
|
|
|
1790
1798
|
this.codec = new XmlCodec(settings);
|
|
1791
1799
|
this.serializer = new protocols.HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);
|
|
1792
1800
|
this.deserializer = new protocols.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);
|
|
1793
|
-
this.compositeErrorRegistry;
|
|
1794
1801
|
}
|
|
1795
1802
|
getPayloadCodec() {
|
|
1796
1803
|
return this.codec;
|