@cdklabs/cdk-ecs-codedeploy 0.0.438 → 0.0.440
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-es/waiters/waitForDeploymentSuccessful.js +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/CodeDeploy.d.ts +1 -1
- 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/CodeDeploy.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/waiters/waitForDeploymentSuccessful.d.ts +9 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/waiters/waitForDeploymentSuccessful.d.ts +4 -3
- package/node_modules/@aws-sdk/client-codedeploy/package.json +19 -19
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +35 -17
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +18 -6
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +18 -11
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/emitWarningIfUnsupportedVersion.js +15 -6
- 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/emitWarningIfUnsupportedVersion.d.ts +1 -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/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 +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/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 +3 -3
- 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 +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-external/nodable_entities.js +336 -0
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +26 -2
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-external/nodable_entities.js +332 -0
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +26 -2
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-external/nodable_entities.d.ts +66 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/xml-external/nodable_entities.d.ts +65 -0
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/CHANGELOG.md +61 -0
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/README.md +8 -28
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.d.cts +172 -6
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/package.json +5 -4
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.d.ts +162 -3
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +2 -5
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +15 -11
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +174 -245
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +2 -2
- package/node_modules/@aws-sdk/xml-builder/package.json +3 -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 +27 -13
- package/node_modules/@smithy/util-retry/dist-es/AdaptiveRetryStrategy.js +5 -2
- package/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js +2 -1
- 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 +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/fast-xml-builder/CHANGELOG.md +13 -0
- package/node_modules/fast-xml-builder/lib/fxb.cjs +1 -1
- package/node_modules/fast-xml-builder/lib/fxb.min.js +1 -1
- package/node_modules/fast-xml-builder/lib/fxb.min.js.map +1 -1
- package/node_modules/fast-xml-builder/package.json +1 -1
- package/node_modules/fast-xml-builder/src/fxb.js +7 -8
- package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +6 -7
- package/node_modules/fast-xml-builder/src/util.js +16 -0
- package/package.json +3 -3
- 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/pem.d.cts +0 -148
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/pem.d.ts +0 -135
|
@@ -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://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
21
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
22
|
+
["https://oidc.{Region}.amazonaws.com", i],
|
|
23
|
+
["https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
24
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
25
|
+
["https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
26
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
27
|
+
["https://oidc.{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);
|
|
@@ -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
|
}));
|
|
@@ -40,6 +40,7 @@ export class STSClient extends __Client {
|
|
|
40
40
|
httpAuthSchemeParametersProvider: defaultSTSHttpAuthSchemeParametersProvider,
|
|
41
41
|
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
|
|
42
42
|
"aws.auth#sigv4": config.credentials,
|
|
43
|
+
"aws.auth#sigv4a": config.credentials,
|
|
43
44
|
}),
|
|
44
45
|
}));
|
|
45
46
|
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js
CHANGED
|
@@ -1,7 +1,23 @@
|
|
|
1
|
-
import { resolveAwsSdkSigV4Config } from "@aws-sdk/core/httpAuthSchemes";
|
|
1
|
+
import { resolveAwsSdkSigV4AConfig, resolveAwsSdkSigV4Config } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
|
+
import { SignatureV4MultiRegion } from "@aws-sdk/signature-v4-multi-region";
|
|
3
|
+
import { resolveParams } from "@smithy/middleware-endpoint";
|
|
2
4
|
import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
|
|
5
|
+
import { defaultEndpointResolver } from "../endpoint/endpointResolver";
|
|
3
6
|
import { STSClient } from "../STSClient";
|
|
4
|
-
|
|
7
|
+
const createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSchemeParametersProvider) => async (config, context, input) => {
|
|
8
|
+
if (!input) {
|
|
9
|
+
throw new Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");
|
|
10
|
+
}
|
|
11
|
+
const defaultParameters = await defaultHttpAuthSchemeParametersProvider(config, context, input);
|
|
12
|
+
const instructionsFn = getSmithyContext(context)?.commandInstance?.constructor
|
|
13
|
+
?.getEndpointParameterInstructions;
|
|
14
|
+
if (!instructionsFn) {
|
|
15
|
+
throw new Error(`getEndpointParameterInstructions() is not defined on '${context.commandName}'`);
|
|
16
|
+
}
|
|
17
|
+
const endpointParameters = await resolveParams(input, { getEndpointParameterInstructions: instructionsFn }, config);
|
|
18
|
+
return Object.assign(defaultParameters, endpointParameters);
|
|
19
|
+
};
|
|
20
|
+
const _defaultSTSHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
5
21
|
return {
|
|
6
22
|
operation: getSmithyContext(context).operation,
|
|
7
23
|
region: (await normalizeProvider(config.region)()) ||
|
|
@@ -10,6 +26,7 @@ export const defaultSTSHttpAuthSchemeParametersProvider = async (config, context
|
|
|
10
26
|
})(),
|
|
11
27
|
};
|
|
12
28
|
};
|
|
29
|
+
export const defaultSTSHttpAuthSchemeParametersProvider = createEndpointRuleSetHttpAuthSchemeParametersProvider(_defaultSTSHttpAuthSchemeParametersProvider);
|
|
13
30
|
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
14
31
|
return {
|
|
15
32
|
schemeId: "aws.auth#sigv4",
|
|
@@ -25,31 +42,98 @@ function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
|
25
42
|
}),
|
|
26
43
|
};
|
|
27
44
|
}
|
|
45
|
+
function createAwsAuthSigv4aHttpAuthOption(authParameters) {
|
|
46
|
+
return {
|
|
47
|
+
schemeId: "aws.auth#sigv4a",
|
|
48
|
+
signingProperties: {
|
|
49
|
+
name: "sts",
|
|
50
|
+
region: authParameters.region,
|
|
51
|
+
},
|
|
52
|
+
propertiesExtractor: (config, context) => ({
|
|
53
|
+
signingProperties: {
|
|
54
|
+
config,
|
|
55
|
+
context,
|
|
56
|
+
},
|
|
57
|
+
}),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
28
60
|
function createSmithyApiNoAuthHttpAuthOption(authParameters) {
|
|
29
61
|
return {
|
|
30
62
|
schemeId: "smithy.api#noAuth",
|
|
31
63
|
};
|
|
32
64
|
}
|
|
33
|
-
|
|
65
|
+
const createEndpointRuleSetHttpAuthSchemeProvider = (defaultEndpointResolver, defaultHttpAuthSchemeResolver, createHttpAuthOptionFunctions) => {
|
|
66
|
+
const endpointRuleSetHttpAuthSchemeProvider = (authParameters) => {
|
|
67
|
+
const endpoint = defaultEndpointResolver(authParameters);
|
|
68
|
+
const authSchemes = endpoint.properties?.authSchemes;
|
|
69
|
+
if (!authSchemes) {
|
|
70
|
+
return defaultHttpAuthSchemeResolver(authParameters);
|
|
71
|
+
}
|
|
72
|
+
const options = [];
|
|
73
|
+
for (const scheme of authSchemes) {
|
|
74
|
+
const { name: resolvedName, properties = {}, ...rest } = scheme;
|
|
75
|
+
const name = resolvedName.toLowerCase();
|
|
76
|
+
if (resolvedName !== name) {
|
|
77
|
+
console.warn(`HttpAuthScheme has been normalized with lowercasing: '${resolvedName}' to '${name}'`);
|
|
78
|
+
}
|
|
79
|
+
let schemeId;
|
|
80
|
+
if (name === "sigv4a") {
|
|
81
|
+
schemeId = "aws.auth#sigv4a";
|
|
82
|
+
const sigv4Present = authSchemes.find((s) => {
|
|
83
|
+
const name = s.name.toLowerCase();
|
|
84
|
+
return name !== "sigv4a" && name.startsWith("sigv4");
|
|
85
|
+
});
|
|
86
|
+
if (SignatureV4MultiRegion.sigv4aDependency() === "none" && sigv4Present) {
|
|
87
|
+
continue;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
else if (name.startsWith("sigv4")) {
|
|
91
|
+
schemeId = "aws.auth#sigv4";
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
throw new Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${name}'`);
|
|
95
|
+
}
|
|
96
|
+
const createOption = createHttpAuthOptionFunctions[schemeId];
|
|
97
|
+
if (!createOption) {
|
|
98
|
+
throw new Error(`Could not find HttpAuthOption create function for '${schemeId}'`);
|
|
99
|
+
}
|
|
100
|
+
const option = createOption(authParameters);
|
|
101
|
+
option.schemeId = schemeId;
|
|
102
|
+
option.signingProperties = { ...(option.signingProperties || {}), ...rest, ...properties };
|
|
103
|
+
options.push(option);
|
|
104
|
+
}
|
|
105
|
+
return options;
|
|
106
|
+
};
|
|
107
|
+
return endpointRuleSetHttpAuthSchemeProvider;
|
|
108
|
+
};
|
|
109
|
+
const _defaultSTSHttpAuthSchemeProvider = (authParameters) => {
|
|
34
110
|
const options = [];
|
|
35
111
|
switch (authParameters.operation) {
|
|
36
112
|
case "AssumeRoleWithWebIdentity": {
|
|
37
113
|
options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
|
|
114
|
+
options.push(createAwsAuthSigv4aHttpAuthOption(authParameters));
|
|
38
115
|
break;
|
|
39
116
|
}
|
|
40
117
|
default: {
|
|
41
118
|
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
119
|
+
options.push(createAwsAuthSigv4aHttpAuthOption(authParameters));
|
|
42
120
|
}
|
|
43
121
|
}
|
|
44
122
|
return options;
|
|
45
123
|
};
|
|
124
|
+
export const defaultSTSHttpAuthSchemeProvider = createEndpointRuleSetHttpAuthSchemeProvider(defaultEndpointResolver, _defaultSTSHttpAuthSchemeProvider, {
|
|
125
|
+
"aws.auth#sigv4": createAwsAuthSigv4HttpAuthOption,
|
|
126
|
+
"aws.auth#sigv4a": createAwsAuthSigv4aHttpAuthOption,
|
|
127
|
+
"smithy.api#noAuth": createSmithyApiNoAuthHttpAuthOption,
|
|
128
|
+
});
|
|
46
129
|
export const resolveStsAuthConfig = (input) => Object.assign(input, {
|
|
47
130
|
stsClientCtor: STSClient,
|
|
48
131
|
});
|
|
49
132
|
export const resolveHttpAuthSchemeConfig = (config) => {
|
|
50
133
|
const config_0 = resolveStsAuthConfig(config);
|
|
51
134
|
const config_1 = resolveAwsSdkSigV4Config(config_0);
|
|
52
|
-
|
|
135
|
+
const config_2 = resolveAwsSdkSigV4AConfig(config_1);
|
|
136
|
+
return Object.assign(config_2, {
|
|
53
137
|
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
54
138
|
});
|
|
55
139
|
};
|
|
@@ -0,0 +1,147 @@
|
|
|
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,
|
|
54
|
+
1,
|
|
55
|
+
-1,
|
|
56
|
+
0,
|
|
57
|
+
30,
|
|
58
|
+
3,
|
|
59
|
+
1,
|
|
60
|
+
4,
|
|
61
|
+
r + 14,
|
|
62
|
+
2,
|
|
63
|
+
5,
|
|
64
|
+
r + 14,
|
|
65
|
+
3,
|
|
66
|
+
25,
|
|
67
|
+
6,
|
|
68
|
+
4,
|
|
69
|
+
24,
|
|
70
|
+
7,
|
|
71
|
+
5,
|
|
72
|
+
r + 1,
|
|
73
|
+
8,
|
|
74
|
+
6,
|
|
75
|
+
9,
|
|
76
|
+
r + 13,
|
|
77
|
+
7,
|
|
78
|
+
r + 1,
|
|
79
|
+
10,
|
|
80
|
+
10,
|
|
81
|
+
r + 1,
|
|
82
|
+
11,
|
|
83
|
+
11,
|
|
84
|
+
r + 1,
|
|
85
|
+
12,
|
|
86
|
+
12,
|
|
87
|
+
r + 1,
|
|
88
|
+
13,
|
|
89
|
+
13,
|
|
90
|
+
r + 1,
|
|
91
|
+
14,
|
|
92
|
+
14,
|
|
93
|
+
r + 1,
|
|
94
|
+
15,
|
|
95
|
+
15,
|
|
96
|
+
r + 1,
|
|
97
|
+
16,
|
|
98
|
+
16,
|
|
99
|
+
r + 1,
|
|
100
|
+
17,
|
|
101
|
+
17,
|
|
102
|
+
r + 1,
|
|
103
|
+
18,
|
|
104
|
+
18,
|
|
105
|
+
r + 1,
|
|
106
|
+
19,
|
|
107
|
+
19,
|
|
108
|
+
r + 1,
|
|
109
|
+
20,
|
|
110
|
+
20,
|
|
111
|
+
r + 1,
|
|
112
|
+
21,
|
|
113
|
+
21,
|
|
114
|
+
r + 1,
|
|
115
|
+
22,
|
|
116
|
+
22,
|
|
117
|
+
r + 1,
|
|
118
|
+
23,
|
|
119
|
+
23,
|
|
120
|
+
r + 1,
|
|
121
|
+
r + 2,
|
|
122
|
+
8,
|
|
123
|
+
r + 11,
|
|
124
|
+
r + 12,
|
|
125
|
+
4,
|
|
126
|
+
28,
|
|
127
|
+
26,
|
|
128
|
+
9,
|
|
129
|
+
27,
|
|
130
|
+
r + 10,
|
|
131
|
+
24,
|
|
132
|
+
r + 8,
|
|
133
|
+
r + 9,
|
|
134
|
+
8,
|
|
135
|
+
29,
|
|
136
|
+
r + 7,
|
|
137
|
+
9,
|
|
138
|
+
r + 6,
|
|
139
|
+
r + 7,
|
|
140
|
+
3,
|
|
141
|
+
r + 3,
|
|
142
|
+
31,
|
|
143
|
+
4,
|
|
144
|
+
r + 4,
|
|
145
|
+
r + 5,
|
|
146
|
+
]);
|
|
147
|
+
export const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/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", "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",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import packageInfo from "../../../package.json";
|
|
2
2
|
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core/client";
|
|
3
|
-
import { AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
|
|
3
|
+
import { AwsSdkSigV4ASigner, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, NODE_SIGV4A_CONFIG_OPTIONS, } from "@aws-sdk/core/httpAuthSchemes";
|
|
4
4
|
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
5
5
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
6
6
|
import { NoAuthSigner } from "@smithy/core";
|
|
@@ -39,6 +39,11 @@ export const getRuntimeConfig = (config) => {
|
|
|
39
39
|
(async (idProps) => await config.credentialDefaultProvider(idProps?.__config || {})()),
|
|
40
40
|
signer: new AwsSdkSigV4Signer(),
|
|
41
41
|
},
|
|
42
|
+
{
|
|
43
|
+
schemeId: "aws.auth#sigv4a",
|
|
44
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4a"),
|
|
45
|
+
signer: new AwsSdkSigV4ASigner(),
|
|
46
|
+
},
|
|
42
47
|
{
|
|
43
48
|
schemeId: "smithy.api#noAuth",
|
|
44
49
|
identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
|
|
@@ -55,6 +60,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
55
60
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
56
61
|
}, config),
|
|
57
62
|
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
63
|
+
sigv4aSigningRegionSet: config?.sigv4aSigningRegionSet ?? loadNodeConfig(NODE_SIGV4A_CONFIG_OPTIONS, loaderConfig),
|
|
58
64
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
59
65
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
60
66
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
1
|
+
import { AwsSdkSigV4ASigner, AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsQueryProtocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { SignatureV4MultiRegion } from "@aws-sdk/signature-v4-multi-region";
|
|
3
4
|
import { NoAuthSigner } from "@smithy/core";
|
|
4
5
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
5
6
|
import { parseUrl } from "@smithy/url-parser";
|
|
@@ -23,6 +24,11 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
24
|
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
24
25
|
signer: new AwsSdkSigV4Signer(),
|
|
25
26
|
},
|
|
27
|
+
{
|
|
28
|
+
schemeId: "aws.auth#sigv4a",
|
|
29
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4a"),
|
|
30
|
+
signer: new AwsSdkSigV4ASigner(),
|
|
31
|
+
},
|
|
26
32
|
{
|
|
27
33
|
schemeId: "smithy.api#noAuth",
|
|
28
34
|
identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
|
|
@@ -39,6 +45,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
39
45
|
serviceTarget: "AWSSecurityTokenServiceV20110615",
|
|
40
46
|
},
|
|
41
47
|
serviceId: config?.serviceId ?? "STS",
|
|
48
|
+
signerConstructor: config?.signerConstructor ?? SignatureV4MultiRegion,
|
|
42
49
|
urlParser: config?.urlParser ?? parseUrl,
|
|
43
50
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
44
51
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -1,10 +1,17 @@
|
|
|
1
|
-
import type { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes";
|
|
1
|
+
import type { AwsSdkSigV4AAuthInputConfig, AwsSdkSigV4AAuthResolvedConfig, AwsSdkSigV4APreviouslyResolved, AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import type { Client, HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
-
import {
|
|
3
|
+
import type { EndpointParameters } from "../endpoint/EndpointParameters";
|
|
4
|
+
import type { STSClientResolvedConfig } from "../STSClient";
|
|
4
5
|
/**
|
|
5
6
|
* @internal
|
|
6
7
|
*/
|
|
7
|
-
|
|
8
|
+
interface _STSHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
9
|
+
region?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export interface STSHttpAuthSchemeParameters extends _STSHttpAuthSchemeParameters, EndpointParameters {
|
|
8
15
|
region?: string;
|
|
9
16
|
}
|
|
10
17
|
/**
|
|
@@ -15,7 +22,7 @@ export interface STSHttpAuthSchemeParametersProvider extends HttpAuthSchemeParam
|
|
|
15
22
|
/**
|
|
16
23
|
* @internal
|
|
17
24
|
*/
|
|
18
|
-
export declare const defaultSTSHttpAuthSchemeParametersProvider:
|
|
25
|
+
export declare const defaultSTSHttpAuthSchemeParametersProvider: STSHttpAuthSchemeParametersProvider;
|
|
19
26
|
/**
|
|
20
27
|
* @internal
|
|
21
28
|
*/
|
|
@@ -38,7 +45,7 @@ export declare const resolveStsAuthConfig: <T>(input: T & StsAuthInputConfig) =>
|
|
|
38
45
|
/**
|
|
39
46
|
* @public
|
|
40
47
|
*/
|
|
41
|
-
export interface HttpAuthSchemeInputConfig extends StsAuthInputConfig, AwsSdkSigV4AuthInputConfig {
|
|
48
|
+
export interface HttpAuthSchemeInputConfig extends StsAuthInputConfig, AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AAuthInputConfig {
|
|
42
49
|
/**
|
|
43
50
|
* A comma-separated list of case-sensitive auth scheme names.
|
|
44
51
|
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
@@ -60,7 +67,7 @@ export interface HttpAuthSchemeInputConfig extends StsAuthInputConfig, AwsSdkSig
|
|
|
60
67
|
/**
|
|
61
68
|
* @internal
|
|
62
69
|
*/
|
|
63
|
-
export interface HttpAuthSchemeResolvedConfig extends StsAuthResolvedConfig, AwsSdkSigV4AuthResolvedConfig {
|
|
70
|
+
export interface HttpAuthSchemeResolvedConfig extends StsAuthResolvedConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4AAuthResolvedConfig {
|
|
64
71
|
/**
|
|
65
72
|
* A comma-separated list of case-sensitive auth scheme names.
|
|
66
73
|
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
@@ -82,4 +89,5 @@ export interface HttpAuthSchemeResolvedConfig extends StsAuthResolvedConfig, Aws
|
|
|
82
89
|
/**
|
|
83
90
|
* @internal
|
|
84
91
|
*/
|
|
85
|
-
export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
|
|
92
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved & AwsSdkSigV4APreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
|
|
93
|
+
export {};
|
|
@@ -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
|
*/
|
package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts
CHANGED
|
@@ -38,7 +38,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
38
38
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
39
39
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
40
40
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
41
|
-
endpointProvider: (
|
|
41
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
42
42
|
logger?: import("@smithy/types").Logger;
|
|
43
43
|
}) => import("@smithy/types").EndpointV2;
|
|
44
44
|
tls?: boolean;
|
|
@@ -59,6 +59,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
59
59
|
signingEscapePath?: boolean;
|
|
60
60
|
systemClockOffset?: number;
|
|
61
61
|
signingRegion?: string;
|
|
62
|
-
signerConstructor
|
|
62
|
+
signerConstructor: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
|
|
63
|
+
sigv4aSigningRegionSet?: string[] | undefined | import("@smithy/types").Provider<string[] | undefined>;
|
|
63
64
|
useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
|
|
64
65
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AwsSdkSigV4ASigner } from "@aws-sdk/core/httpAuthSchemes";
|
|
1
2
|
import { NoAuthSigner } from "@smithy/core";
|
|
2
3
|
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
3
4
|
import type { IdentityProviderConfig } from "@smithy/types";
|
|
@@ -11,16 +12,21 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
11
12
|
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
12
13
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
13
14
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
14
|
-
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | {
|
|
15
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
|
16
|
+
schemeId: string;
|
|
17
|
+
identityProvider: (ipc: IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
18
|
+
signer: AwsSdkSigV4ASigner;
|
|
19
|
+
} | {
|
|
15
20
|
schemeId: string;
|
|
16
21
|
identityProvider: (ipc: IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | (() => Promise<{}>);
|
|
17
22
|
signer: NoAuthSigner;
|
|
18
|
-
}[];
|
|
23
|
+
})[];
|
|
19
24
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
20
25
|
region: string | import("@smithy/types").Provider<string>;
|
|
21
26
|
requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
|
|
22
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
23
28
|
sha256: import("@smithy/types").HashConstructor;
|
|
29
|
+
sigv4aSigningRegionSet: string[] | import("@smithy/types").Provider<string[] | undefined>;
|
|
24
30
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
25
31
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
26
32
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -46,7 +52,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
46
52
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
47
53
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
48
54
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
49
|
-
endpointProvider: (
|
|
55
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
50
56
|
logger?: import("@smithy/types").Logger;
|
|
51
57
|
}) => import("@smithy/types").EndpointV2;
|
|
52
58
|
tls?: boolean;
|
|
@@ -57,6 +63,6 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
57
63
|
signingEscapePath?: boolean;
|
|
58
64
|
systemClockOffset?: number;
|
|
59
65
|
signingRegion?: string;
|
|
60
|
-
signerConstructor
|
|
66
|
+
signerConstructor: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
|
|
61
67
|
useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
|
|
62
68
|
};
|
package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
37
37
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
38
38
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
39
39
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
40
|
-
endpointProvider: (
|
|
40
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
41
41
|
logger?: import("@smithy/types").Logger;
|
|
42
42
|
}) => import("@smithy/types").EndpointV2;
|
|
43
43
|
tls?: boolean;
|
|
@@ -58,6 +58,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
58
58
|
signingEscapePath?: boolean;
|
|
59
59
|
systemClockOffset?: number;
|
|
60
60
|
signingRegion?: string;
|
|
61
|
-
signerConstructor
|
|
61
|
+
signerConstructor: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
|
|
62
|
+
sigv4aSigningRegionSet?: string[] | undefined | import("@smithy/types").Provider<string[] | undefined>;
|
|
62
63
|
useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
|
|
63
64
|
};
|