@cdklabs/cdk-ecs-codedeploy 0.0.437 → 0.0.439
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 +3 -3
- package/lib/api-canary/index.js +1 -1
- package/lib/ecs-appspec/index.js +1 -1
- package/lib/ecs-deployment/index.js +1 -1
- package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/endpoint/bdd.js +49 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/endpoint/bdd.js +46 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-codedeploy/package.json +34 -34
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +72 -61
- 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 +70 -61
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/setFeature.js +2 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js +11 -10
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/UnionSerde.js +4 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +4 -5
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +2 -1
- 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 +15 -10
- 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/json/parseJsonBody.js +17 -17
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +3 -8
- 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 +2 -2
- 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/dist-types/submodules/protocols/json/JsonShapeSerializer.d.ts +2 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeSerializer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/package.json +14 -12
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +14 -14
- package/node_modules/@aws-sdk/credential-provider-login/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-sdk-s3/LICENSE +201 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/README.md +4 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +581 -0
- 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/bucket-endpoint-middleware.js +36 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/check-content-length-header.js +32 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/index.js +9 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/protocol/S3RestXmlProtocol.js +25 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/region-redirect-endpoint-middleware.js +41 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/region-redirect-middleware.js +42 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-expires-middleware.js +33 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityCache.js +39 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityCacheEntry.js +14 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityProviderImpl.js +49 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/SignatureV4S3Express.js +41 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/constants.js +13 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/s3ExpressHttpSigningMiddleware.js +38 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/s3ExpressMiddleware.js +41 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/signS3Express.js +7 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/index.js +7 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/interfaces/S3ExpressIdentity.js +1 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/interfaces/S3ExpressIdentityProvider.js +1 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3Configuration.js +17 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/throw-200-exceptions.js +51 -0
- 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-es/validate-bucket-name.js +25 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/bucket-endpoint-middleware.d.ts +13 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/check-content-length-header.d.ts +16 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/index.d.ts +9 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/protocol/S3RestXmlProtocol.d.ts +20 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/region-redirect-endpoint-middleware.d.ts +10 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/region-redirect-middleware.d.ts +20 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-expires-middleware.d.ts +26 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/S3ExpressIdentityCache.d.ts +16 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/S3ExpressIdentityCacheEntry.d.ts +16 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/S3ExpressIdentityProviderImpl.d.ts +32 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/SignatureV4S3Express.d.ts +17 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/constants.d.ts +37 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/functions/s3ExpressHttpSigningMiddleware.d.ts +27 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/functions/s3ExpressMiddleware.d.ts +32 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/functions/signS3Express.d.ts +9 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/index.d.ts +9 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/interfaces/S3ExpressIdentity.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/interfaces/S3ExpressIdentityProvider.d.ts +12 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3Configuration.d.ts +79 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/throw-200-exceptions.d.ts +21 -0
- 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/bucket-endpoint-middleware.d.ts +9 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/check-content-length-header.d.ts +13 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/index.d.ts +9 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/protocol/S3RestXmlProtocol.d.ts +15 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/region-redirect-endpoint-middleware.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/region-redirect-middleware.d.ts +17 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-expires-middleware.d.ts +14 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/classes/S3ExpressIdentityCache.d.ts +14 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/classes/S3ExpressIdentityCacheEntry.d.ts +12 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/classes/S3ExpressIdentityProviderImpl.d.ts +31 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/classes/SignatureV4S3Express.d.ts +19 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/constants.d.ts +11 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/functions/s3ExpressHttpSigningMiddleware.d.ts +40 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/functions/s3ExpressMiddleware.d.ts +27 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/functions/signS3Express.d.ts +21 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/index.d.ts +17 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/interfaces/S3ExpressIdentity.d.ts +2 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/interfaces/S3ExpressIdentityProvider.d.ts +8 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3Configuration.d.ts +33 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/throw-200-exceptions.d.ts +19 -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/dist-types/ts3.4/validate-bucket-name.d.ts +13 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/validate-bucket-name.d.ts +14 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +79 -0
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +8 -8
- 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 +33 -32
- package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/signature-v4-multi-region/LICENSE +201 -0
- package/node_modules/@aws-sdk/signature-v4-multi-region/README.md +32 -0
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +121 -0
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/SignatureV4MultiRegion.js +112 -0
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/index.js +2 -0
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/signature-v4-crt-container.js +3 -0
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/SignatureV4MultiRegion.d.ts +35 -0
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/index.d.ts +5 -0
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/signature-v4-crt-container.d.ts +28 -0
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/SignatureV4MultiRegion.d.ts +41 -0
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/index.d.ts +2 -0
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/signature-v4-crt-container.d.ts +20 -0
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +61 -0
- package/node_modules/@aws-sdk/token-providers/package.json +7 -7
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-arn-parser/LICENSE +201 -0
- package/node_modules/@aws-sdk/util-arn-parser/README.md +4 -0
- package/node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js +27 -0
- package/node_modules/@aws-sdk/util-arn-parser/dist-es/index.js +21 -0
- package/node_modules/@aws-sdk/util-arn-parser/dist-types/index.d.ts +32 -0
- package/node_modules/@aws-sdk/util-arn-parser/dist-types/ts3.4/index.d.ts +14 -0
- package/node_modules/@aws-sdk/util-arn-parser/package.json +55 -0
- package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
- 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 +3 -3
- 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/config-resolver/package.json +5 -5
- package/node_modules/@smithy/core/dist-cjs/index.js +2 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +32 -14
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +16 -8
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +17 -10
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +6 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +6 -3
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/DefaultIdentityProviderConfig.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +23 -11
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +9 -3
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/toEndpointV1.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +16 -8
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +9 -4
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +8 -6
- package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +6 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js +6 -3
- package/node_modules/@smithy/core/dist-es/util-identity-and-auth/DefaultIdentityProviderConfig.js +2 -1
- package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
- package/node_modules/@smithy/core/package.json +7 -7
- package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
- package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
- package/node_modules/@smithy/hash-node/package.json +2 -2
- package/node_modules/@smithy/invalid-dependency/package.json +2 -2
- package/node_modules/@smithy/middleware-content-length/package.json +3 -3
- package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
- package/node_modules/@smithy/middleware-retry/package.json +9 -9
- package/node_modules/@smithy/middleware-serde/package.json +4 -4
- package/node_modules/@smithy/middleware-stack/package.json +2 -2
- package/node_modules/@smithy/node-config-provider/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +208 -102
- package/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +50 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +83 -41
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +32 -18
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +44 -43
- package/node_modules/@smithy/node-http-handler/dist-types/http2/ClientHttp2SessionRef.d.ts +46 -0
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +32 -14
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +32 -8
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +14 -6
- package/node_modules/@smithy/node-http-handler/package.json +5 -5
- package/node_modules/@smithy/property-provider/package.json +2 -2
- package/node_modules/@smithy/protocol-http/package.json +2 -2
- package/node_modules/@smithy/querystring-builder/package.json +2 -2
- package/node_modules/@smithy/querystring-parser/package.json +2 -2
- package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +6 -0
- package/node_modules/@smithy/service-error-classification/dist-es/index.js +5 -0
- package/node_modules/@smithy/service-error-classification/dist-types/index.d.ts +6 -0
- package/node_modules/@smithy/service-error-classification/package.json +2 -2
- package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +11 -5
- package/node_modules/@smithy/signature-v4/dist-es/SignatureV4.js +11 -5
- package/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +3 -3
- package/node_modules/@smithy/signature-v4/package.json +4 -4
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +8 -1
- package/node_modules/@smithy/smithy-client/dist-es/command.js +8 -1
- package/node_modules/@smithy/smithy-client/package.json +7 -7
- package/node_modules/@smithy/types/dist-types/connection/config.d.ts +5 -0
- package/node_modules/@smithy/types/dist-types/signature.d.ts +20 -3
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@smithy/url-parser/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
- package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +79 -71
- package/node_modules/@smithy/util-endpoints/dist-es/decideEndpoint.js +4 -3
- package/node_modules/@smithy/util-endpoints/dist-es/lib/getAttr.js +2 -1
- package/node_modules/@smithy/util-endpoints/dist-es/resolveEndpoint.js +8 -13
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateCondition.js +9 -7
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateConditions.js +12 -8
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateEndpointRule.js +14 -13
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateErrorRule.js +7 -4
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateExpression.js +10 -8
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateRules.js +4 -4
- package/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointHeaders.js +5 -5
- package/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperties.js +4 -4
- package/node_modules/@smithy/util-endpoints/dist-types/bdd/BinaryDecisionDiagram.d.ts +2 -2
- package/node_modules/@smithy/util-endpoints/dist-types/types/shared.d.ts +3 -3
- package/node_modules/@smithy/util-endpoints/dist-types/utils/endpointFunctions.d.ts +2 -15
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateCondition.d.ts +6 -3
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateConditions.d.ts +3 -3
- package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointHeaders.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperties.d.ts +2 -2
- package/node_modules/@smithy/util-endpoints/dist-types/utils/getReferenceValue.d.ts +2 -2
- package/node_modules/@smithy/util-endpoints/package.json +3 -3
- package/node_modules/@smithy/util-middleware/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 +3 -3
- package/node_modules/@smithy/util-stream/package.json +4 -4
- 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 +3 -3
- package/node_modules/fast-xml-builder/package.json +1 -1
- package/node_modules/fast-xml-builder/src/fxb.js +6 -2
- package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +16 -2
- 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 +5 -5
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/endpoint/ruleset.js +0 -7
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/endpoint/ruleset.js +0 -4
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-codedeploy/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
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/CHANGELOG.md +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/LICENSE +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/README.md +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/package.json +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/strnum.js +0 -0
package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js
CHANGED
|
@@ -2,9 +2,25 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveHttpAuthSchemeConfig = exports.resolveStsAuthConfig = exports.defaultSTSHttpAuthSchemeProvider = exports.defaultSTSHttpAuthSchemeParametersProvider = void 0;
|
|
4
4
|
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
|
+
const signature_v4_multi_region_1 = require("@aws-sdk/signature-v4-multi-region");
|
|
6
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
7
|
const util_middleware_1 = require("@smithy/util-middleware");
|
|
8
|
+
const endpointResolver_1 = require("../endpoint/endpointResolver");
|
|
6
9
|
const STSClient_1 = require("../STSClient");
|
|
7
|
-
const
|
|
10
|
+
const createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSchemeParametersProvider) => async (config, context, input) => {
|
|
11
|
+
if (!input) {
|
|
12
|
+
throw new Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");
|
|
13
|
+
}
|
|
14
|
+
const defaultParameters = await defaultHttpAuthSchemeParametersProvider(config, context, input);
|
|
15
|
+
const instructionsFn = (0, util_middleware_1.getSmithyContext)(context)?.commandInstance?.constructor
|
|
16
|
+
?.getEndpointParameterInstructions;
|
|
17
|
+
if (!instructionsFn) {
|
|
18
|
+
throw new Error(`getEndpointParameterInstructions() is not defined on '${context.commandName}'`);
|
|
19
|
+
}
|
|
20
|
+
const endpointParameters = await (0, middleware_endpoint_1.resolveParams)(input, { getEndpointParameterInstructions: instructionsFn }, config);
|
|
21
|
+
return Object.assign(defaultParameters, endpointParameters);
|
|
22
|
+
};
|
|
23
|
+
const _defaultSTSHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
8
24
|
return {
|
|
9
25
|
operation: (0, util_middleware_1.getSmithyContext)(context).operation,
|
|
10
26
|
region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||
|
|
@@ -13,7 +29,7 @@ const defaultSTSHttpAuthSchemeParametersProvider = async (config, context, input
|
|
|
13
29
|
})(),
|
|
14
30
|
};
|
|
15
31
|
};
|
|
16
|
-
exports.defaultSTSHttpAuthSchemeParametersProvider =
|
|
32
|
+
exports.defaultSTSHttpAuthSchemeParametersProvider = createEndpointRuleSetHttpAuthSchemeParametersProvider(_defaultSTSHttpAuthSchemeParametersProvider);
|
|
17
33
|
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
18
34
|
return {
|
|
19
35
|
schemeId: "aws.auth#sigv4",
|
|
@@ -29,25 +45,90 @@ function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
|
29
45
|
}),
|
|
30
46
|
};
|
|
31
47
|
}
|
|
48
|
+
function createAwsAuthSigv4aHttpAuthOption(authParameters) {
|
|
49
|
+
return {
|
|
50
|
+
schemeId: "aws.auth#sigv4a",
|
|
51
|
+
signingProperties: {
|
|
52
|
+
name: "sts",
|
|
53
|
+
region: authParameters.region,
|
|
54
|
+
},
|
|
55
|
+
propertiesExtractor: (config, context) => ({
|
|
56
|
+
signingProperties: {
|
|
57
|
+
config,
|
|
58
|
+
context,
|
|
59
|
+
},
|
|
60
|
+
}),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
32
63
|
function createSmithyApiNoAuthHttpAuthOption(authParameters) {
|
|
33
64
|
return {
|
|
34
65
|
schemeId: "smithy.api#noAuth",
|
|
35
66
|
};
|
|
36
67
|
}
|
|
37
|
-
const
|
|
68
|
+
const createEndpointRuleSetHttpAuthSchemeProvider = (defaultEndpointResolver, defaultHttpAuthSchemeResolver, createHttpAuthOptionFunctions) => {
|
|
69
|
+
const endpointRuleSetHttpAuthSchemeProvider = (authParameters) => {
|
|
70
|
+
const endpoint = defaultEndpointResolver(authParameters);
|
|
71
|
+
const authSchemes = endpoint.properties?.authSchemes;
|
|
72
|
+
if (!authSchemes) {
|
|
73
|
+
return defaultHttpAuthSchemeResolver(authParameters);
|
|
74
|
+
}
|
|
75
|
+
const options = [];
|
|
76
|
+
for (const scheme of authSchemes) {
|
|
77
|
+
const { name: resolvedName, properties = {}, ...rest } = scheme;
|
|
78
|
+
const name = resolvedName.toLowerCase();
|
|
79
|
+
if (resolvedName !== name) {
|
|
80
|
+
console.warn(`HttpAuthScheme has been normalized with lowercasing: '${resolvedName}' to '${name}'`);
|
|
81
|
+
}
|
|
82
|
+
let schemeId;
|
|
83
|
+
if (name === "sigv4a") {
|
|
84
|
+
schemeId = "aws.auth#sigv4a";
|
|
85
|
+
const sigv4Present = authSchemes.find((s) => {
|
|
86
|
+
const name = s.name.toLowerCase();
|
|
87
|
+
return name !== "sigv4a" && name.startsWith("sigv4");
|
|
88
|
+
});
|
|
89
|
+
if (signature_v4_multi_region_1.SignatureV4MultiRegion.sigv4aDependency() === "none" && sigv4Present) {
|
|
90
|
+
continue;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
else if (name.startsWith("sigv4")) {
|
|
94
|
+
schemeId = "aws.auth#sigv4";
|
|
95
|
+
}
|
|
96
|
+
else {
|
|
97
|
+
throw new Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${name}'`);
|
|
98
|
+
}
|
|
99
|
+
const createOption = createHttpAuthOptionFunctions[schemeId];
|
|
100
|
+
if (!createOption) {
|
|
101
|
+
throw new Error(`Could not find HttpAuthOption create function for '${schemeId}'`);
|
|
102
|
+
}
|
|
103
|
+
const option = createOption(authParameters);
|
|
104
|
+
option.schemeId = schemeId;
|
|
105
|
+
option.signingProperties = { ...(option.signingProperties || {}), ...rest, ...properties };
|
|
106
|
+
options.push(option);
|
|
107
|
+
}
|
|
108
|
+
return options;
|
|
109
|
+
};
|
|
110
|
+
return endpointRuleSetHttpAuthSchemeProvider;
|
|
111
|
+
};
|
|
112
|
+
const _defaultSTSHttpAuthSchemeProvider = (authParameters) => {
|
|
38
113
|
const options = [];
|
|
39
114
|
switch (authParameters.operation) {
|
|
40
115
|
case "AssumeRoleWithWebIdentity": {
|
|
41
116
|
options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
|
|
117
|
+
options.push(createAwsAuthSigv4aHttpAuthOption(authParameters));
|
|
42
118
|
break;
|
|
43
119
|
}
|
|
44
120
|
default: {
|
|
45
121
|
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
122
|
+
options.push(createAwsAuthSigv4aHttpAuthOption(authParameters));
|
|
46
123
|
}
|
|
47
124
|
}
|
|
48
125
|
return options;
|
|
49
126
|
};
|
|
50
|
-
exports.defaultSTSHttpAuthSchemeProvider =
|
|
127
|
+
exports.defaultSTSHttpAuthSchemeProvider = createEndpointRuleSetHttpAuthSchemeProvider(endpointResolver_1.defaultEndpointResolver, _defaultSTSHttpAuthSchemeProvider, {
|
|
128
|
+
"aws.auth#sigv4": createAwsAuthSigv4HttpAuthOption,
|
|
129
|
+
"aws.auth#sigv4a": createAwsAuthSigv4aHttpAuthOption,
|
|
130
|
+
"smithy.api#noAuth": createSmithyApiNoAuthHttpAuthOption,
|
|
131
|
+
});
|
|
51
132
|
const resolveStsAuthConfig = (input) => Object.assign(input, {
|
|
52
133
|
stsClientCtor: STSClient_1.STSClient,
|
|
53
134
|
});
|
|
@@ -55,7 +136,8 @@ exports.resolveStsAuthConfig = resolveStsAuthConfig;
|
|
|
55
136
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
56
137
|
const config_0 = (0, exports.resolveStsAuthConfig)(config);
|
|
57
138
|
const config_1 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config_0);
|
|
58
|
-
|
|
139
|
+
const config_2 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4AConfig)(config_1);
|
|
140
|
+
return Object.assign(config_2, {
|
|
59
141
|
authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),
|
|
60
142
|
});
|
|
61
143
|
};
|
|
@@ -0,0 +1,150 @@
|
|
|
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,
|
|
57
|
+
1,
|
|
58
|
+
-1,
|
|
59
|
+
0,
|
|
60
|
+
30,
|
|
61
|
+
3,
|
|
62
|
+
1,
|
|
63
|
+
4,
|
|
64
|
+
r + 14,
|
|
65
|
+
2,
|
|
66
|
+
5,
|
|
67
|
+
r + 14,
|
|
68
|
+
3,
|
|
69
|
+
25,
|
|
70
|
+
6,
|
|
71
|
+
4,
|
|
72
|
+
24,
|
|
73
|
+
7,
|
|
74
|
+
5,
|
|
75
|
+
r + 1,
|
|
76
|
+
8,
|
|
77
|
+
6,
|
|
78
|
+
9,
|
|
79
|
+
r + 13,
|
|
80
|
+
7,
|
|
81
|
+
r + 1,
|
|
82
|
+
10,
|
|
83
|
+
10,
|
|
84
|
+
r + 1,
|
|
85
|
+
11,
|
|
86
|
+
11,
|
|
87
|
+
r + 1,
|
|
88
|
+
12,
|
|
89
|
+
12,
|
|
90
|
+
r + 1,
|
|
91
|
+
13,
|
|
92
|
+
13,
|
|
93
|
+
r + 1,
|
|
94
|
+
14,
|
|
95
|
+
14,
|
|
96
|
+
r + 1,
|
|
97
|
+
15,
|
|
98
|
+
15,
|
|
99
|
+
r + 1,
|
|
100
|
+
16,
|
|
101
|
+
16,
|
|
102
|
+
r + 1,
|
|
103
|
+
17,
|
|
104
|
+
17,
|
|
105
|
+
r + 1,
|
|
106
|
+
18,
|
|
107
|
+
18,
|
|
108
|
+
r + 1,
|
|
109
|
+
19,
|
|
110
|
+
19,
|
|
111
|
+
r + 1,
|
|
112
|
+
20,
|
|
113
|
+
20,
|
|
114
|
+
r + 1,
|
|
115
|
+
21,
|
|
116
|
+
21,
|
|
117
|
+
r + 1,
|
|
118
|
+
22,
|
|
119
|
+
22,
|
|
120
|
+
r + 1,
|
|
121
|
+
23,
|
|
122
|
+
23,
|
|
123
|
+
r + 1,
|
|
124
|
+
r + 2,
|
|
125
|
+
8,
|
|
126
|
+
r + 11,
|
|
127
|
+
r + 12,
|
|
128
|
+
4,
|
|
129
|
+
28,
|
|
130
|
+
26,
|
|
131
|
+
9,
|
|
132
|
+
27,
|
|
133
|
+
r + 10,
|
|
134
|
+
24,
|
|
135
|
+
r + 8,
|
|
136
|
+
r + 9,
|
|
137
|
+
8,
|
|
138
|
+
29,
|
|
139
|
+
r + 7,
|
|
140
|
+
9,
|
|
141
|
+
r + 6,
|
|
142
|
+
r + 7,
|
|
143
|
+
3,
|
|
144
|
+
r + 3,
|
|
145
|
+
31,
|
|
146
|
+
4,
|
|
147
|
+
r + 4,
|
|
148
|
+
r + 5,
|
|
149
|
+
]);
|
|
150
|
+
exports.bdd = util_endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js
CHANGED
|
@@ -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",
|
|
@@ -43,6 +43,11 @@ const getRuntimeConfig = (config) => {
|
|
|
43
43
|
(async (idProps) => await config.credentialDefaultProvider(idProps?.__config || {})()),
|
|
44
44
|
signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(),
|
|
45
45
|
},
|
|
46
|
+
{
|
|
47
|
+
schemeId: "aws.auth#sigv4a",
|
|
48
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4a"),
|
|
49
|
+
signer: new httpAuthSchemes_1.AwsSdkSigV4ASigner(),
|
|
50
|
+
},
|
|
46
51
|
{
|
|
47
52
|
schemeId: "smithy.api#noAuth",
|
|
48
53
|
identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
|
|
@@ -59,6 +64,7 @@ const getRuntimeConfig = (config) => {
|
|
|
59
64
|
default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
|
|
60
65
|
}, config),
|
|
61
66
|
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
|
67
|
+
sigv4aSigningRegionSet: config?.sigv4aSigningRegionSet ?? (0, node_config_provider_1.loadConfig)(httpAuthSchemes_1.NODE_SIGV4A_CONFIG_OPTIONS, loaderConfig),
|
|
62
68
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
63
69
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
64
70
|
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js
CHANGED
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
5
|
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
6
|
+
const signature_v4_multi_region_1 = require("@aws-sdk/signature-v4-multi-region");
|
|
6
7
|
const core_1 = require("@smithy/core");
|
|
7
8
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
9
|
const url_parser_1 = require("@smithy/url-parser");
|
|
@@ -26,6 +27,11 @@ const getRuntimeConfig = (config) => {
|
|
|
26
27
|
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
27
28
|
signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(),
|
|
28
29
|
},
|
|
30
|
+
{
|
|
31
|
+
schemeId: "aws.auth#sigv4a",
|
|
32
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4a"),
|
|
33
|
+
signer: new httpAuthSchemes_1.AwsSdkSigV4ASigner(),
|
|
34
|
+
},
|
|
29
35
|
{
|
|
30
36
|
schemeId: "smithy.api#noAuth",
|
|
31
37
|
identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
|
|
@@ -42,6 +48,7 @@ const getRuntimeConfig = (config) => {
|
|
|
42
48
|
serviceTarget: "AWSSecurityTokenServiceV20110615",
|
|
43
49
|
},
|
|
44
50
|
serviceId: config?.serviceId ?? "STS",
|
|
51
|
+
signerConstructor: config?.signerConstructor ?? signature_v4_multi_region_1.SignatureV4MultiRegion,
|
|
45
52
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
46
53
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
47
54
|
utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
|
package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/bdd.js
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
|
|
2
|
+
const m = "ref";
|
|
3
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = "stringEquals", h = { [m]: "Endpoint" }, i = { [m]: d }, j = { [m]: "Region" }, k = {}, l = [j];
|
|
4
|
+
const _data = {
|
|
5
|
+
conditions: [
|
|
6
|
+
[c, [h]],
|
|
7
|
+
[c, l],
|
|
8
|
+
["aws.partition", l, d],
|
|
9
|
+
[e, [{ [m]: "UseFIPS" }, b]],
|
|
10
|
+
[e, [{ fn: f, argv: [i, "supportsFIPS"] }, b]],
|
|
11
|
+
[e, [{ [m]: "UseDualStack" }, b]],
|
|
12
|
+
[e, [{ fn: f, argv: [i, "supportsDualStack"] }, b]],
|
|
13
|
+
[g, [{ fn: f, argv: [i, "name"] }, "aws"]],
|
|
14
|
+
[g, [j, "us-east-1"]],
|
|
15
|
+
[g, [j, "us-east-2"]],
|
|
16
|
+
[g, [j, "us-west-1"]],
|
|
17
|
+
[g, [j, "us-west-2"]],
|
|
18
|
+
],
|
|
19
|
+
results: [
|
|
20
|
+
[a],
|
|
21
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
22
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
23
|
+
[h, k],
|
|
24
|
+
["https://cognito-identity-fips.us-east-1.amazonaws.com", k],
|
|
25
|
+
["https://cognito-identity-fips.us-east-2.amazonaws.com", k],
|
|
26
|
+
["https://cognito-identity-fips.us-west-1.amazonaws.com", k],
|
|
27
|
+
["https://cognito-identity-fips.us-west-2.amazonaws.com", k],
|
|
28
|
+
["https://cognito-identity-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
|
|
29
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
30
|
+
["https://cognito-identity-fips.{Region}.{PartitionResult#dnsSuffix}", k],
|
|
31
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
32
|
+
["https://cognito-identity.{Region}.amazonaws.com", k],
|
|
33
|
+
["https://cognito-identity.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
|
|
34
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
35
|
+
["https://cognito-identity.{Region}.{PartitionResult#dnsSuffix}", k],
|
|
36
|
+
[a, "Invalid Configuration: Missing Region"],
|
|
37
|
+
],
|
|
38
|
+
};
|
|
39
|
+
const root = 2;
|
|
40
|
+
const r = 100_000_000;
|
|
41
|
+
const nodes = new Int32Array([
|
|
42
|
+
-1,
|
|
43
|
+
1,
|
|
44
|
+
-1,
|
|
45
|
+
0,
|
|
46
|
+
17,
|
|
47
|
+
3,
|
|
48
|
+
1,
|
|
49
|
+
4,
|
|
50
|
+
r + 16,
|
|
51
|
+
2,
|
|
52
|
+
5,
|
|
53
|
+
r + 16,
|
|
54
|
+
3,
|
|
55
|
+
9,
|
|
56
|
+
6,
|
|
57
|
+
5,
|
|
58
|
+
7,
|
|
59
|
+
r + 15,
|
|
60
|
+
6,
|
|
61
|
+
8,
|
|
62
|
+
r + 14,
|
|
63
|
+
7,
|
|
64
|
+
r + 12,
|
|
65
|
+
r + 13,
|
|
66
|
+
4,
|
|
67
|
+
11,
|
|
68
|
+
10,
|
|
69
|
+
5,
|
|
70
|
+
r + 9,
|
|
71
|
+
r + 11,
|
|
72
|
+
5,
|
|
73
|
+
12,
|
|
74
|
+
r + 10,
|
|
75
|
+
6,
|
|
76
|
+
13,
|
|
77
|
+
r + 9,
|
|
78
|
+
8,
|
|
79
|
+
r + 4,
|
|
80
|
+
14,
|
|
81
|
+
9,
|
|
82
|
+
r + 5,
|
|
83
|
+
15,
|
|
84
|
+
10,
|
|
85
|
+
r + 6,
|
|
86
|
+
16,
|
|
87
|
+
11,
|
|
88
|
+
r + 7,
|
|
89
|
+
r + 8,
|
|
90
|
+
3,
|
|
91
|
+
r + 1,
|
|
92
|
+
18,
|
|
93
|
+
5,
|
|
94
|
+
r + 2,
|
|
95
|
+
r + 3,
|
|
96
|
+
]);
|
|
97
|
+
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"],
|
|
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
|
}));
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
|
|
2
|
+
const m = "ref";
|
|
3
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = "stringEquals", h = { [m]: "Endpoint" }, i = { [m]: d }, j = { fn: f, argv: [i, "name"] }, k = {}, l = [{ [m]: "Region" }];
|
|
4
|
+
const _data = {
|
|
5
|
+
conditions: [
|
|
6
|
+
[c, [h]],
|
|
7
|
+
[c, l],
|
|
8
|
+
["aws.partition", l, d],
|
|
9
|
+
[e, [{ [m]: "UseFIPS" }, b]],
|
|
10
|
+
[e, [{ [m]: "UseDualStack" }, b]],
|
|
11
|
+
[e, [{ fn: f, argv: [i, "supportsDualStack"] }, b]],
|
|
12
|
+
[e, [{ fn: f, argv: [i, "supportsFIPS"] }, b]],
|
|
13
|
+
[g, [j, "aws"]],
|
|
14
|
+
[g, [j, "aws-cn"]],
|
|
15
|
+
[g, [j, "aws-us-gov"]],
|
|
16
|
+
],
|
|
17
|
+
results: [
|
|
18
|
+
[a],
|
|
19
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
20
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
21
|
+
[h, k],
|
|
22
|
+
["https://{Region}.signin.aws.amazon.com", k],
|
|
23
|
+
["https://{Region}.signin.amazonaws.cn", k],
|
|
24
|
+
["https://{Region}.signin.amazonaws-us-gov.com", k],
|
|
25
|
+
["https://signin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
|
|
26
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
27
|
+
["https://signin-fips.{Region}.{PartitionResult#dnsSuffix}", k],
|
|
28
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
29
|
+
["https://signin.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
|
|
30
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
31
|
+
["https://signin.{Region}.{PartitionResult#dnsSuffix}", k],
|
|
32
|
+
[a, "Invalid Configuration: Missing Region"],
|
|
33
|
+
],
|
|
34
|
+
};
|
|
35
|
+
const root = 2;
|
|
36
|
+
const r = 100_000_000;
|
|
37
|
+
const nodes = new Int32Array([
|
|
38
|
+
-1,
|
|
39
|
+
1,
|
|
40
|
+
-1,
|
|
41
|
+
0,
|
|
42
|
+
15,
|
|
43
|
+
3,
|
|
44
|
+
1,
|
|
45
|
+
4,
|
|
46
|
+
r + 14,
|
|
47
|
+
2,
|
|
48
|
+
5,
|
|
49
|
+
r + 14,
|
|
50
|
+
3,
|
|
51
|
+
11,
|
|
52
|
+
6,
|
|
53
|
+
4,
|
|
54
|
+
10,
|
|
55
|
+
7,
|
|
56
|
+
7,
|
|
57
|
+
r + 4,
|
|
58
|
+
8,
|
|
59
|
+
8,
|
|
60
|
+
r + 5,
|
|
61
|
+
9,
|
|
62
|
+
9,
|
|
63
|
+
r + 6,
|
|
64
|
+
r + 13,
|
|
65
|
+
5,
|
|
66
|
+
r + 11,
|
|
67
|
+
r + 12,
|
|
68
|
+
4,
|
|
69
|
+
13,
|
|
70
|
+
12,
|
|
71
|
+
6,
|
|
72
|
+
r + 9,
|
|
73
|
+
r + 10,
|
|
74
|
+
5,
|
|
75
|
+
14,
|
|
76
|
+
r + 8,
|
|
77
|
+
6,
|
|
78
|
+
r + 7,
|
|
79
|
+
r + 8,
|
|
80
|
+
3,
|
|
81
|
+
r + 1,
|
|
82
|
+
16,
|
|
83
|
+
4,
|
|
84
|
+
r + 2,
|
|
85
|
+
r + 3,
|
|
86
|
+
]);
|
|
87
|
+
export const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js
CHANGED
|
@@ -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"],
|
|
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
|
}));
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
|
|
2
|
+
const k = "ref";
|
|
3
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
4
|
+
const _data = {
|
|
5
|
+
conditions: [
|
|
6
|
+
[c, [g]],
|
|
7
|
+
[c, j],
|
|
8
|
+
["aws.partition", j, d],
|
|
9
|
+
[e, [{ [k]: "UseFIPS" }, b]],
|
|
10
|
+
[e, [{ [k]: "UseDualStack" }, b]],
|
|
11
|
+
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
12
|
+
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]],
|
|
13
|
+
["stringEquals", [{ fn: f, argv: [h, "name"] }, "aws-us-gov"]],
|
|
14
|
+
],
|
|
15
|
+
results: [
|
|
16
|
+
[a],
|
|
17
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
18
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
19
|
+
[g, i],
|
|
20
|
+
["https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
21
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
22
|
+
["https://portal.sso.{Region}.amazonaws.com", i],
|
|
23
|
+
["https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
24
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
25
|
+
["https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
26
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
27
|
+
["https://portal.sso.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
28
|
+
[a, "Invalid Configuration: Missing Region"],
|
|
29
|
+
],
|
|
30
|
+
};
|
|
31
|
+
const root = 2;
|
|
32
|
+
const r = 100_000_000;
|
|
33
|
+
const nodes = new Int32Array([
|
|
34
|
+
-1,
|
|
35
|
+
1,
|
|
36
|
+
-1,
|
|
37
|
+
0,
|
|
38
|
+
13,
|
|
39
|
+
3,
|
|
40
|
+
1,
|
|
41
|
+
4,
|
|
42
|
+
r + 12,
|
|
43
|
+
2,
|
|
44
|
+
5,
|
|
45
|
+
r + 12,
|
|
46
|
+
3,
|
|
47
|
+
8,
|
|
48
|
+
6,
|
|
49
|
+
4,
|
|
50
|
+
7,
|
|
51
|
+
r + 11,
|
|
52
|
+
5,
|
|
53
|
+
r + 9,
|
|
54
|
+
r + 10,
|
|
55
|
+
4,
|
|
56
|
+
11,
|
|
57
|
+
9,
|
|
58
|
+
6,
|
|
59
|
+
10,
|
|
60
|
+
r + 8,
|
|
61
|
+
7,
|
|
62
|
+
r + 6,
|
|
63
|
+
r + 7,
|
|
64
|
+
5,
|
|
65
|
+
12,
|
|
66
|
+
r + 5,
|
|
67
|
+
6,
|
|
68
|
+
r + 4,
|
|
69
|
+
r + 5,
|
|
70
|
+
3,
|
|
71
|
+
r + 1,
|
|
72
|
+
14,
|
|
73
|
+
4,
|
|
74
|
+
r + 2,
|
|
75
|
+
r + 3,
|
|
76
|
+
]);
|
|
77
|
+
export const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js
CHANGED
|
@@ -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"],
|
|
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
|
}));
|