lambda-live-debugger 1.12.5 → 1.12.6
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/dist/extension/extension.zip +0 -0
- package/dist/extension/nodejs/node_modules/interceptor.js +1697 -1854
- package/dist/extension/nodejs/node_modules/interceptor.js.map +4 -4
- package/node_modules/@aws-sdk/checksums/package.json +5 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/package.json +8 -8
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-cognito-identity/package.json +4 -4
- package/node_modules/@aws-sdk/client-iam/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-iam/package.json +9 -9
- package/node_modules/@aws-sdk/client-iot/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-iot/package.json +8 -8
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-iot-data-plane/package.json +8 -8
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +107 -91
- package/node_modules/@aws-sdk/client-lambda/dist-es/models/enums.js +5 -5
- package/node_modules/@aws-sdk/client-lambda/dist-es/models/errors.js +64 -64
- package/node_modules/@aws-sdk/client-lambda/dist-es/schemas/schemas_0.js +35 -21
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CheckpointDurableExecutionCommand.d.ts +12 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateCapacityProviderCommand.d.ts +12 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateFunctionCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteCapacityProviderCommand.d.ts +6 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetCapacityProviderCommand.d.ts +6 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetDurableExecutionCommand.d.ts +19 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetDurableExecutionHistoryCommand.d.ts +12 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetDurableExecutionStateCommand.d.ts +12 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionConfigurationCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListCapacityProvidersCommand.d.ts +6 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListDurableExecutionsByFunctionCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListFunctionsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListVersionsByFunctionCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/PublishVersionCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/SendDurableExecutionCallbackFailureCommand.d.ts +12 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/SendDurableExecutionCallbackSuccessCommand.d.ts +12 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/StopDurableExecutionCommand.d.ts +12 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateCapacityProviderCommand.d.ts +12 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionCodeCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/models/enums.d.ts +13 -13
- package/node_modules/@aws-sdk/client-lambda/dist-types/models/errors.d.ts +56 -56
- package/node_modules/@aws-sdk/client-lambda/dist-types/models/models_0.d.ts +75 -8
- package/node_modules/@aws-sdk/client-lambda/dist-types/schemas/schemas_0.d.ts +2 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/enums.d.ts +7 -7
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/errors.d.ts +36 -36
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/models_0.d.ts +16 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
- package/node_modules/@aws-sdk/client-lambda/package.json +9 -9
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-s3/package.json +13 -13
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +55 -141
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/index.js +3 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/middleware-recursion-detection/configuration.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.js +48 -19
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-browser/defaultUserAgent.browser.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-node/defaultUserAgent.js +0 -5
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js +3 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/index.js +2 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/index.js +3 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +19 -20
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/index.d.ts +5 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.browser.d.ts +5 -5
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +5 -5
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.native.d.ts +5 -5
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/middleware-recursion-detection/configuration.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.d.ts +5 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-endpoints/types/EndpointRuleObject.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-endpoints/types/ErrorRuleObject.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-endpoints/types/RuleSetObject.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-endpoints/types/TreeRuleObject.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-endpoints/types/shared.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-browser/defaultUserAgent.browser.d.ts +2 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/index.d.ts +5 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/index.d.ts +3 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/index.d.ts +3 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +22 -20
- package/node_modules/@aws-sdk/core/dist-types/submodules/util/index.d.ts +2 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/index.d.ts +16 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.browser.d.ts +7 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +23 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.d.ts +24 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/index.d.ts +3 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +31 -20
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/index.d.ts +2 -1
- package/node_modules/@aws-sdk/core/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/index.js +2 -5
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/index.d.ts +7 -20
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/index.d.ts +11 -5
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-env/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-env/dist-types/index.d.ts +2 -4
- package/node_modules/@aws-sdk/credential-provider-env/dist-types/ts3.4/index.d.ts +10 -1
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +16 -10
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +16 -10
- package/node_modules/@aws-sdk/credential-provider-http/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveLoginCredentials.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/index.d.ts +2 -4
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/index.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-login/dist-es/index.js +1 -2
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/index.d.ts +2 -8
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/index.d.ts +7 -2
- package/node_modules/@aws-sdk/credential-provider-login/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/index.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/index.d.ts +6 -1
- package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-process/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/index.d.ts +2 -4
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/index.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/index.js +3 -4
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/fromSSO.d.ts +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/index.d.ts +5 -16
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/index.d.ts +5 -4
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/index.js +2 -2
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/index.d.ts +4 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/index.d.ts +7 -2
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
- package/node_modules/@aws-sdk/credential-providers/package.json +13 -13
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +6 -6
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/package.json +8 -8
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
- package/node_modules/@aws-sdk/token-providers/dist-es/index.js +4 -4
- package/node_modules/@aws-sdk/token-providers/dist-types/index.d.ts +7 -4
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/index.d.ts +7 -4
- package/node_modules/@aws-sdk/token-providers/package.json +6 -6
- package/node_modules/@aws-sdk/types/dist-es/endpoint.js +1 -1
- package/node_modules/@aws-sdk/types/dist-es/identity/index.js +1 -5
- package/node_modules/@aws-sdk/types/dist-es/index.js +4 -34
- package/node_modules/@aws-sdk/types/dist-es/transfer.js +1 -1
- package/node_modules/@aws-sdk/types/dist-types/abort.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/auth.d.ts +2 -1
- package/node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts +2 -2
- package/node_modules/@aws-sdk/types/dist-types/checksum.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/client.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/command.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/connection.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/crypto.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/encode.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/endpoint.d.ts +2 -1
- package/node_modules/@aws-sdk/types/dist-types/eventStream.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/http.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +7 -7
- package/node_modules/@aws-sdk/types/dist-types/identity/Identity.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/identity/TokenIdentity.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/identity/index.d.ts +5 -5
- package/node_modules/@aws-sdk/types/dist-types/index.d.ts +42 -34
- package/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/pagination.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/profile.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/response.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/retry.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/serde.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/shapes.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/signature.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/stream.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/transfer.d.ts +2 -1
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/auth.d.ts +2 -5
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/endpoint.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/index.d.ts +17 -5
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +225 -34
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/transfer.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/uri.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/util.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/waiter.d.ts +1 -1
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/xml-builder/dist-es/index.js +2 -2
- package/node_modules/@aws-sdk/xml-builder/dist-types/index.d.ts +2 -11
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/index.d.ts +2 -2
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@smithy/core/dist-es/index.js +5 -5
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-auth-scheme/index.js +3 -3
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-signing/index.js +2 -2
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/index.js +3 -3
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/index.js +3 -3
- package/node_modules/@smithy/core/dist-es/submodules/cbor/index.js +3 -3
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.browser.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/service-customizations/index.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/debug/index.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/index.js +11 -11
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/index.js +1 -7
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/index.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +13 -13
- package/node_modules/@smithy/core/dist-es/submodules/schema/index.js +14 -14
- package/node_modules/@smithy/core/dist-types/index.d.ts +7 -5
- package/node_modules/@smithy/core/dist-types/legacy-root-exports/middleware-http-auth-scheme/index.d.ts +4 -3
- package/node_modules/@smithy/core/dist-types/legacy-root-exports/middleware-http-signing/index.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/index.d.ts +3 -3
- package/node_modules/@smithy/core/dist-types/legacy-root-exports/util-identity-and-auth/index.d.ts +4 -3
- package/node_modules/@smithy/core/dist-types/submodules/cbor/index.d.ts +3 -3
- package/node_modules/@smithy/core/dist-types/submodules/client/util-waiter/waiter.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.browser.d.ts +2 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.d.ts +2 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/service-customizations/index.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/debug/index.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/lib/index.d.ts +12 -11
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/types/index.d.ts +7 -7
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/index.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +13 -13
- package/node_modules/@smithy/core/dist-types/submodules/schema/index.d.ts +14 -14
- package/node_modules/@smithy/core/dist-types/submodules/transport/httpRequest.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/transport/index.d.ts +2 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/index.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-auth-scheme/getHttpAuthSchemePlugin.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +33 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-auth-scheme/index.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-auth-scheme/resolveAuthOptions.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-signing/getHttpSigningMiddleware.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-signing/httpSigningMiddleware.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-signing/index.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/pagination/createPaginator.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/util-identity-and-auth/DefaultIdentityProviderConfig.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/index.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/noAuth.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/util-identity-and-auth/index.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/util-identity-and-auth/memoizeIdentityProvider.d.ts +31 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/normalizeProvider.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/setFeature.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +33 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +28 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/byte-printer.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-decode.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-encode.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-types.d.ts +65 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor.d.ts +25 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +31 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/chunked-blob-reader/chunked-blob-reader.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/chunked-blob-reader/chunked-blob-reader.native.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/crc32/Crc32Js.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/crc32/Crc32Node.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/hash-blob-browser/blobHasher.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/hash-stream-node/HashCalculator.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/hash-stream-node/fileStreamHasher.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/hash-stream-node/readableStreamHasher.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/index.browser.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/index.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/index.native.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/md5/Md5Js.d.ts +19 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/md5/Md5Node.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/sha256/Sha256Js.d.ts +28 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/sha256/Sha256Node.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/sha256/Sha256WebCrypto.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/index.d.ts +27 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/invalid-dependency/invalidFunction.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/invalid-dependency/invalidProvider.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/middleware-stack/MiddlewareStack.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/middleware-stack/types.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/NoOpLogger.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/client-command-builder.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/client.d.ts +84 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/command.d.ts +118 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/constants.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/create-aggregated-client.d.ts +16 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/default-error-handler.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/defaults-mode.d.ts +28 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/emitWarningIfUnsupportedVersion.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/exceptions.d.ts +42 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/extensions/checksum.d.ts +25 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.d.ts +38 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/extensions/retry.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/get-array-if-single-item.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/get-value-from-text-node.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/is-serializable-header-value.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/object-mapping.d.ts +179 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/schemaLogFilter.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/ser-utils.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/serde-json.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/util-waiter/circularReplacer.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/util-waiter/createWaiter.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/util-waiter/poller.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/util-waiter/utils/sleep.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/util-waiter/utils/validate.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/util-waiter/waiter.d.ts +49 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/endpointsConfig/resolveCustomEndpointsConfig.d.ts +37 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/endpointsConfig/resolveEndpointsConfig.d.ts +57 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/endpointsConfig/utils/getEndpointFromRegion.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/checkRegion.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/config.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/getInstanceMetadataRegion.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/getRealRegion.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/isFipsRegion.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/resolveRegionConfig.d.ts +34 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/EndpointVariant.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/EndpointVariantTag.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/PartitionHash.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/RegionHash.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/getHostnameFromVariants.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/getRegionInfo.d.ts +19 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/getResolvedHostname.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/getResolvedPartition.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/getResolvedSigningRegion.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/defaults-mode/constants.d.ts +36 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/defaults-mode/defaultsModeConfig.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/defaults-mode/resolveDefaultsModeConfig.browser.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/defaults-mode/resolveDefaultsModeConfig.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/defaults-mode/resolveDefaultsModeConfig.native.d.ts +16 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/index.browser.d.ts +55 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/index.d.ts +36 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/index.native.d.ts +55 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/node-config-provider/configLoader.d.ts +31 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/node-config-provider/fromEnv.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/node-config-provider/fromSharedConfigFiles.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/node-config-provider/fromStatic.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/node-config-provider/getSelectorName.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/property-provider/CredentialsProviderError.d.ts +29 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/property-provider/ProviderError.d.ts +38 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/property-provider/TokenProviderError.d.ts +29 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/property-provider/chain.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/property-provider/fromValue.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/property-provider/memoize.d.ts +40 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/constants.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/externalDataInterceptor.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getConfigData.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getConfigFilepath.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getCredentialsFilepath.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getHomeDir.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getProfileName.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getSSOTokenFilepath.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getSSOTokenFromFile.d.ts +53 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getSsoSessionData.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/loadSharedConfigFiles.d.ts +33 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/loadSsoSessionData.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/mergeConfigFiles.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/parseIni.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/parseKnownFiles.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/readFile.d.ts +21 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/types.d.ts +16 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/util-config-provider/booleanSelector.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/util-config-provider/numberSelector.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/util-config-provider/types.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/index.browser.d.ts +24 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/index.d.ts +24 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/createConfigValueProvider.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromConfig.browser.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromConfig.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromInstructions.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/toEndpointV1.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/endpointMiddleware.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/getEndpointPlugin.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.d.ts +110 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/resolveEndpointRequiredConfig.d.ts +32 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/service-customizations/index.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/service-customizations/s3.d.ts +26 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/bdd/BinaryDecisionDiagram.d.ts +41 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/cache/EndpointCache.d.ts +34 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/debug/debugId.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/debug/index.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/debug/toDebugString.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/decideEndpoint.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/getEndpointUrlConfig.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/booleanEquals.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/coalesce.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/getAttr.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/getAttrPathList.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/index.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/isIpAddress.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/isSet.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/ite.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/not.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/parseURL.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/split.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/stringEquals.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/substring.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/uriEncode.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/resolveEndpoint.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/EndpointError.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/EndpointFunctions.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/EndpointRuleObject.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/ErrorRuleObject.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/RuleSetObject.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/TreeRuleObject.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/index.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/shared.d.ts +25 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/callFunction.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/customEndpointFunctions.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/endpointFunctions.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateCondition.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateConditions.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateEndpointRule.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateErrorRule.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateExpression.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateRules.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateTemplate.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateTreeRule.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getEndpointHeaders.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getEndpointProperties.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getEndpointProperty.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getEndpointUrl.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getReferenceValue.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/index.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +60 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/EventStreamCodec.d.ts +30 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/HeaderMarshaller.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/Int64.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/Message.d.ts +26 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/MessageDecoderStream.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/MessageEncoderStream.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/SmithyMessageDecoderStream.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/SmithyMessageEncoderStream.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/splitMessage.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-serde/EventStreamMarshaller.browser.d.ts +46 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-serde/EventStreamMarshaller.d.ts +31 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-serde/utils.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-serde-config-resolver/EventStreamSerdeConfig.d.ts +27 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-serde-universal/EventStreamMarshaller.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-serde-universal/getChunkedStream.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-serde-universal/getUnmarshalledStream.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/index.browser.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/index.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +31 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +95 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +16 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/SerdeContext.d.ts +16 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/collect-stream-body.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/extended-encode-uri-component.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +27 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/middleware-content-length/contentLengthMiddleware.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/Field.d.ts +49 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/Fields.d.ts +44 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +33 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/httpHandler.d.ts +31 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/types.d.ts +21 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/querystring-builder/buildQueryString.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/requestBuilder.d.ts +52 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/resolve-path.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +21 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/ToStringShapeSerializer.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/determineTimestampFormat.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/util-uri-escape/escape-uri-path.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/util-uri-escape/escape-uri.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/index.browser.d.ts +26 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/index.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/configurations.d.ts +71 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/isStreamingPayload/isStreamingPayload.browser.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/isStreamingPayload/isStreamingPayload.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/longPollMiddleware.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/omitRetryHeadersMiddleware.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/parseRetryAfterHeader.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/retry-pre-sra-deprecated/AdaptiveRetryStrategy.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.d.ts +33 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/retry-pre-sra-deprecated/defaultRetryQuota.d.ts +26 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/retry-pre-sra-deprecated/delayDecider.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/retry-pre-sra-deprecated/retryDecider.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/retry-pre-sra-deprecated/types.d.ts +65 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/retryMiddleware.d.ts +19 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/util.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/service-error-classification/constants.d.ts +30 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/service-error-classification/service-error-classification.d.ts +30 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/AdaptiveRetryStrategy.d.ts +38 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/ConfiguredRetryStrategy.d.ts +31 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/DefaultRateLimiter.d.ts +119 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/DefaultRetryBackoffStrategy.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/DefaultRetryToken.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/StandardRetryStrategy.d.ts +56 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/config.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/constants.d.ts +60 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/retries-2026-config.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/types.d.ts +19 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +71 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/deref.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/index.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/getSchemaSerdePlugin.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schema-middleware-types.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaSerializationMiddleware.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +37 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +24 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +146 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts +16 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +28 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/operation.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/sentinels.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/translateTraits.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/concatBytes.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/copyDocumentWithTransform.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/date-utils.d.ts +61 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/hash-node/hash-node.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.browser.d.ts +41 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +39 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.native.d.ts +39 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/is-array-buffer/is-array-buffer.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/lazy-json.d.ts +43 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/middleware-serde/deserializerMiddleware.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/middleware-serde/serdePlugin.d.ts +24 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/middleware-serde/serializerMiddleware.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/parse-utils.d.ts +250 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/quote-header.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/schema-serde-lib/schema-date-utils.d.ts +38 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/split-every.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/split-header.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-base64/constants-for-browser.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-base64/fromBase64.browser.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-base64/fromBase64.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-base64/toBase64.browser.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-base64/toBase64.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-body-length/calculateBodyLength.browser.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-body-length/calculateBodyLength.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-buffer-from/buffer-from.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-hex-encoding/hex-encoding.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/ByteArrayCollector.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/blob/Uint8ArrayBlobAdapter.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/checksum/ChecksumStream.browser.d.ts +37 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/checksum/ChecksumStream.d.ts +77 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/checksum/createChecksumStream.browser.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/checksum/createChecksumStream.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/createBufferedReadable.browser.d.ts +55 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/createBufferedReadable.d.ts +16 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/getAwsChunkedEncodingStream.browser.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/getAwsChunkedEncodingStream.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/headStream.browser.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/headStream.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/sdk-stream-mixin.browser.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/sdk-stream-mixin.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/splitStream.browser.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/splitStream.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/stream-collector.browser.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/stream-collector.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/stream-type-check.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-utf8/fromUtf8.browser.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-utf8/fromUtf8.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-utf8/toUint8Array.browser.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-utf8/toUint8Array.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-utf8/toUtf8.browser.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-utf8/toUtf8.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/uuid/v4.d.ts +24 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/value/NumericValue.d.ts +33 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/getSmithyContext.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/httpRequest.d.ts +52 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/httpResponse.d.ts +29 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/index.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/isValidHostLabel.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/isValidHostname.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/normalizeProvider.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/parseQueryString.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/parseUrl.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/toEndpointV1.d.ts +6 -0
- package/node_modules/@smithy/core/package.json +2 -2
- package/node_modules/@smithy/credential-provider-imds/dist-es/index.js +3 -4
- package/node_modules/@smithy/credential-provider-imds/dist-types/index.d.ts +5 -4
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/Endpoint.d.ts +7 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointConfigOptions.d.ts +13 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointMode.d.ts +7 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointModeConfigOptions.d.ts +13 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/error/InstanceMetadataV1FallbackError.d.ts +12 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromContainerMetadata.d.ts +21 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromInstanceMetadata.d.ts +10 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/index.d.ts +26 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/ImdsCredentials.d.ts +19 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/RemoteProviderInit.d.ts +40 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts +5 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/node-http.d.ts +2 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/retry.d.ts +10 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/types.d.ts +7 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getExtendedInstanceMetadataCredentials.d.ts +6 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getInstanceMetadataEndpoint.d.ts +21 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/staticStabilityProvider.d.ts +15 -0
- package/node_modules/@smithy/credential-provider-imds/package.json +3 -3
- package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +1 -1
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/create-request.d.ts +7 -0
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +38 -0
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/index.d.ts +2 -0
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/request-timeout.d.ts +1 -0
- package/node_modules/@smithy/fetch-http-handler/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +10 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts +5 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +4 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/http2/ClientHttp2SessionRef.d.ts +46 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts +3 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +47 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +46 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +36 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +76 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-https.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +6 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +6 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +9 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +12 -0
- package/node_modules/@smithy/node-http-handler/package.json +4 -4
- package/node_modules/@smithy/signature-v4/dist-es/index.js +4 -4
- package/node_modules/@smithy/signature-v4/dist-types/index.d.ts +5 -4
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/HeaderFormatter.d.ts +25 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +20 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4Base.d.ts +69 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/constants.d.ts +43 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/credentialDerivation.d.ts +30 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalHeaders.d.ts +5 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalQuery.d.ts +5 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getPayloadHash.d.ts +5 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/headerUtil.d.ts +4 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/index.d.ts +12 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/moveHeadersToQuery.d.ts +10 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/prepareRequest.d.ts +5 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/signature-v4a-container.d.ts +23 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/utilDate.d.ts +2 -0
- package/node_modules/@smithy/signature-v4/package.json +3 -3
- package/node_modules/@smithy/types/dist-es/auth/index.js +2 -6
- package/node_modules/@smithy/types/dist-es/connection/index.js +1 -3
- package/node_modules/@smithy/types/dist-es/endpoints/index.js +1 -5
- package/node_modules/@smithy/types/dist-es/extensions/index.js +1 -2
- package/node_modules/@smithy/types/dist-es/identity/index.js +1 -4
- package/node_modules/@smithy/types/dist-es/index.js +7 -43
- package/node_modules/@smithy/types/dist-es/metrics.js +1 -0
- package/node_modules/@smithy/types/dist-types/abort.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/auth/index.d.ts +7 -6
- package/node_modules/@smithy/types/dist-types/connection/index.d.ts +3 -3
- package/node_modules/@smithy/types/dist-types/endpoints/index.d.ts +5 -5
- package/node_modules/@smithy/types/dist-types/extensions/index.d.ts +6 -4
- package/node_modules/@smithy/types/dist-types/identity/index.d.ts +4 -4
- package/node_modules/@smithy/types/dist-types/index.d.ts +51 -43
- package/node_modules/@smithy/types/dist-types/metrics.d.ts +93 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/abort-handler.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/abort.d.ts +45 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthScheme.d.ts +49 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts +20 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpSigner.d.ts +41 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/auth.d.ts +59 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/index.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +37 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/checksum.d.ts +61 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +57 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts +28 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/config.d.ts +15 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/index.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/manager.d.ts +34 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/pool.d.ts +32 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/crypto.d.ts +58 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts +40 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/encode.d.ts +31 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoint.d.ts +77 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointParameterInstructions.d.ts +41 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +27 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +10 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +28 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +16 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/index.d.ts +5 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/shared.d.ts +55 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/eventStream.d.ts +137 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +58 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +32 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +9 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/index.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/retry.d.ts +18 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +35 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/feature-ids.d.ts +16 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +128 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +110 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/apiKeyIdentity.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts +31 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/identity.d.ts +15 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/index.d.ts +4 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/tokenIdentity.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +52 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/logger.d.ts +13 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/metrics.d.ts +93 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +541 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/pagination.d.ts +33 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/profile.d.ts +30 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/response.d.ts +40 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/retry.d.ts +162 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema-deprecated.d.ts +149 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +251 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/sentinels.d.ts +65 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +118 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/traits.d.ts +46 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +114 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/shapes.d.ts +79 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/signature.d.ts +172 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/stream.d.ts +22 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +28 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +54 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +41 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transfer.d.ts +42 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-method-transforms.d.ts +26 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +77 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/exact.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/mutable.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +88 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/type-transform.d.ts +40 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/uri.d.ts +17 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/util.d.ts +192 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/waiter.d.ts +35 -0
- package/node_modules/@smithy/types/package.json +2 -2
- package/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/node/fs/promises.d.ts +16 -6
- package/node_modules/@types/node/package.json +2 -2
- package/node_modules/fast-xml-parser/CHANGELOG.md +8 -0
- package/node_modules/fast-xml-parser/README.md +8 -6
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +1 -1
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -1
- package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
- package/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
- package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
- package/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
- package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
- package/node_modules/fast-xml-parser/node_modules/xml-naming/LICENSE +21 -0
- package/node_modules/fast-xml-parser/node_modules/xml-naming/README.md +287 -0
- package/node_modules/fast-xml-parser/node_modules/xml-naming/package.json +56 -0
- package/node_modules/fast-xml-parser/node_modules/xml-naming/src/index.d.ts +108 -0
- package/node_modules/fast-xml-parser/node_modules/xml-naming/src/index.js +382 -0
- package/node_modules/fast-xml-parser/package.json +4 -4
- package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +2 -3
- package/node_modules/is-unsafe/README.md +175 -104
- package/node_modules/is-unsafe/package.json +11 -3
- package/node_modules/is-unsafe/src/index.d.ts +80 -13
- package/node_modules/is-unsafe/src/index.js +144 -83
- package/node_modules/path-expression-matcher/README.md +82 -7
- package/node_modules/path-expression-matcher/lib/pem.cjs +1 -1
- package/node_modules/path-expression-matcher/lib/pem.d.cts +94 -3
- package/node_modules/path-expression-matcher/lib/pem.min.js +1 -1
- package/node_modules/path-expression-matcher/lib/pem.min.js.map +1 -1
- package/node_modules/path-expression-matcher/package.json +2 -1
- package/node_modules/path-expression-matcher/src/ExpressionSet.js +18 -2
- package/node_modules/path-expression-matcher/src/Matcher.js +109 -16
- package/node_modules/path-expression-matcher/src/index.d.ts +67 -1
- package/node_modules/path-expression-matcher/src/index.js +3 -2
- package/package.json +17 -17
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-node/getNodeModulesParentDirs.js +0 -15
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-node/getSanitizedDevTypeScriptVersion.js +0 -14
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-node/getSanitizedTypeScriptVersion.js +0 -9
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-node/getTypeScriptUserAgentPair.js +0 -75
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-node/getNodeModulesParentDirs.d.ts +0 -10
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-node/getSanitizedDevTypeScriptVersion.d.ts +0 -8
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-node/getSanitizedTypeScriptVersion.d.ts +0 -8
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-node/getTypeScriptUserAgentPair.d.ts +0 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/getNodeModulesParentDirs.d.ts +0 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/getSanitizedDevTypeScriptVersion.d.ts +0 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/getSanitizedTypeScriptVersion.d.ts +0 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/getTypeScriptUserAgentPair.d.ts +0 -4
- package/node_modules/is-unsafe/src/registry.js +0 -45
|
@@ -193,7 +193,7 @@ var require_buffer_list = __commonJS({
|
|
|
193
193
|
}
|
|
194
194
|
}, {
|
|
195
195
|
key: "join",
|
|
196
|
-
value: function
|
|
196
|
+
value: function join5(s) {
|
|
197
197
|
if (this.length === 0) return "";
|
|
198
198
|
var p3 = this.head;
|
|
199
199
|
var ret = "" + p3.data;
|
|
@@ -3002,7 +3002,7 @@ var require_buffer_list2 = __commonJS({
|
|
|
3002
3002
|
}
|
|
3003
3003
|
}, {
|
|
3004
3004
|
key: "join",
|
|
3005
|
-
value: function
|
|
3005
|
+
value: function join5(s) {
|
|
3006
3006
|
if (this.length === 0) return "";
|
|
3007
3007
|
var p3 = this.head;
|
|
3008
3008
|
var ret = "" + p3.data;
|
|
@@ -18343,7 +18343,7 @@ var require_BufferList2 = __commonJS({
|
|
|
18343
18343
|
this.head = this.tail = null;
|
|
18344
18344
|
this.length = 0;
|
|
18345
18345
|
};
|
|
18346
|
-
BufferList.prototype.join = function
|
|
18346
|
+
BufferList.prototype.join = function join5(s) {
|
|
18347
18347
|
if (this.length === 0) return "";
|
|
18348
18348
|
var p3 = this.head;
|
|
18349
18349
|
var ret = "" + p3.data;
|
|
@@ -26578,52 +26578,10 @@ var init_EndpointError = __esm({
|
|
|
26578
26578
|
}
|
|
26579
26579
|
});
|
|
26580
26580
|
|
|
26581
|
-
// ../../node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/EndpointFunctions.js
|
|
26582
|
-
var init_EndpointFunctions = __esm({
|
|
26583
|
-
"../../node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/EndpointFunctions.js"() {
|
|
26584
|
-
}
|
|
26585
|
-
});
|
|
26586
|
-
|
|
26587
|
-
// ../../node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/EndpointRuleObject.js
|
|
26588
|
-
var init_EndpointRuleObject = __esm({
|
|
26589
|
-
"../../node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/EndpointRuleObject.js"() {
|
|
26590
|
-
}
|
|
26591
|
-
});
|
|
26592
|
-
|
|
26593
|
-
// ../../node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/ErrorRuleObject.js
|
|
26594
|
-
var init_ErrorRuleObject = __esm({
|
|
26595
|
-
"../../node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/ErrorRuleObject.js"() {
|
|
26596
|
-
}
|
|
26597
|
-
});
|
|
26598
|
-
|
|
26599
|
-
// ../../node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/RuleSetObject.js
|
|
26600
|
-
var init_RuleSetObject = __esm({
|
|
26601
|
-
"../../node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/RuleSetObject.js"() {
|
|
26602
|
-
}
|
|
26603
|
-
});
|
|
26604
|
-
|
|
26605
|
-
// ../../node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/TreeRuleObject.js
|
|
26606
|
-
var init_TreeRuleObject = __esm({
|
|
26607
|
-
"../../node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/TreeRuleObject.js"() {
|
|
26608
|
-
}
|
|
26609
|
-
});
|
|
26610
|
-
|
|
26611
|
-
// ../../node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/shared.js
|
|
26612
|
-
var init_shared = __esm({
|
|
26613
|
-
"../../node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/shared.js"() {
|
|
26614
|
-
}
|
|
26615
|
-
});
|
|
26616
|
-
|
|
26617
26581
|
// ../../node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/index.js
|
|
26618
26582
|
var init_types2 = __esm({
|
|
26619
26583
|
"../../node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/index.js"() {
|
|
26620
26584
|
init_EndpointError();
|
|
26621
|
-
init_EndpointFunctions();
|
|
26622
|
-
init_EndpointRuleObject();
|
|
26623
|
-
init_ErrorRuleObject();
|
|
26624
|
-
init_RuleSetObject();
|
|
26625
|
-
init_TreeRuleObject();
|
|
26626
|
-
init_shared();
|
|
26627
26585
|
}
|
|
26628
26586
|
});
|
|
26629
26587
|
|
|
@@ -27307,7 +27265,6 @@ var init_evaluateRules = __esm({
|
|
|
27307
27265
|
// ../../node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/index.js
|
|
27308
27266
|
var init_utils = __esm({
|
|
27309
27267
|
"../../node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/index.js"() {
|
|
27310
|
-
init_customEndpointFunctions();
|
|
27311
27268
|
init_evaluateRules();
|
|
27312
27269
|
}
|
|
27313
27270
|
});
|
|
@@ -31088,15 +31045,15 @@ var init_HttpInterceptingShapeSerializer = __esm({
|
|
|
31088
31045
|
});
|
|
31089
31046
|
|
|
31090
31047
|
// ../../node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/Field.js
|
|
31091
|
-
var
|
|
31048
|
+
var import_types23, Field;
|
|
31092
31049
|
var init_Field = __esm({
|
|
31093
31050
|
"../../node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/Field.js"() {
|
|
31094
|
-
|
|
31051
|
+
import_types23 = __toESM(require_dist_cjs());
|
|
31095
31052
|
Field = class {
|
|
31096
31053
|
name;
|
|
31097
31054
|
kind;
|
|
31098
31055
|
values;
|
|
31099
|
-
constructor({ name, kind =
|
|
31056
|
+
constructor({ name, kind = import_types23.FieldPosition.HEADER, values = [] }) {
|
|
31100
31057
|
this.name = name;
|
|
31101
31058
|
this.kind = kind;
|
|
31102
31059
|
this.values = values;
|
|
@@ -32447,7 +32404,7 @@ var init_configuration = __esm({
|
|
|
32447
32404
|
"../../node_modules/@aws-sdk/core/dist-es/submodules/client/middleware-recursion-detection/configuration.js"() {
|
|
32448
32405
|
recursionDetectionMiddlewareOptions = {
|
|
32449
32406
|
step: "build",
|
|
32450
|
-
tags: ["RECURSION_DETECTION"],
|
|
32407
|
+
tags: ["RECURSION_DETECTION", "TRACE_CONTEXT_PROPAGATION"],
|
|
32451
32408
|
name: "recursionDetectionMiddleware",
|
|
32452
32409
|
override: true,
|
|
32453
32410
|
priority: "low"
|
|
@@ -32583,36 +32540,65 @@ var init_invoke_store = __esm({
|
|
|
32583
32540
|
});
|
|
32584
32541
|
|
|
32585
32542
|
// ../../node_modules/@aws-sdk/core/dist-es/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.js
|
|
32586
|
-
|
|
32543
|
+
function sanitizeTraceHeaders(headers) {
|
|
32544
|
+
for (const header of Object.keys(headers)) {
|
|
32545
|
+
const lower = header.toLowerCase();
|
|
32546
|
+
if (header !== lower && (lower === TRACEPARENT || lower === TRACESTATE || lower === BAGGAGE)) {
|
|
32547
|
+
headers[lower] = headers[header];
|
|
32548
|
+
delete headers[header];
|
|
32549
|
+
}
|
|
32550
|
+
}
|
|
32551
|
+
}
|
|
32552
|
+
var AWS_LAMBDA_FUNCTION_NAME, _X_AMZN_TRACE_ID, X_AMZN_TRACE_ID, TRACEPARENT, TRACESTATE, BAGGAGE, recursionDetectionMiddleware;
|
|
32587
32553
|
var init_recursionDetectionMiddleware = __esm({
|
|
32588
32554
|
"../../node_modules/@aws-sdk/core/dist-es/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.js"() {
|
|
32589
32555
|
init_invoke_store();
|
|
32590
32556
|
init_protocols();
|
|
32591
|
-
|
|
32592
|
-
|
|
32593
|
-
|
|
32557
|
+
AWS_LAMBDA_FUNCTION_NAME = "AWS_LAMBDA_FUNCTION_NAME";
|
|
32558
|
+
_X_AMZN_TRACE_ID = "_X_AMZN_TRACE_ID";
|
|
32559
|
+
X_AMZN_TRACE_ID = "X-Amzn-Trace-Id";
|
|
32560
|
+
TRACEPARENT = "traceparent";
|
|
32561
|
+
TRACESTATE = "tracestate";
|
|
32562
|
+
BAGGAGE = "baggage";
|
|
32594
32563
|
recursionDetectionMiddleware = () => (next) => async (args) => {
|
|
32595
32564
|
const { request } = args;
|
|
32596
32565
|
if (!HttpRequest.isInstance(request)) {
|
|
32597
32566
|
return next(args);
|
|
32598
32567
|
}
|
|
32599
|
-
|
|
32600
|
-
|
|
32601
|
-
|
|
32568
|
+
let invokeStore;
|
|
32569
|
+
{
|
|
32570
|
+
const traceIdHeader = Object.keys(request.headers ?? {}).find((h5) => h5.toLowerCase() === X_AMZN_TRACE_ID.toLowerCase()) ?? X_AMZN_TRACE_ID;
|
|
32571
|
+
if (!request.headers.hasOwnProperty(traceIdHeader)) {
|
|
32572
|
+
const functionName = process.env[AWS_LAMBDA_FUNCTION_NAME];
|
|
32573
|
+
const traceIdFromEnv = process.env[_X_AMZN_TRACE_ID];
|
|
32574
|
+
invokeStore ??= await InvokeStore.getInstanceAsync();
|
|
32575
|
+
const traceIdFromInvokeStore = invokeStore?.getXRayTraceId();
|
|
32576
|
+
const traceId = traceIdFromInvokeStore ?? traceIdFromEnv;
|
|
32577
|
+
const nonEmptyString = (str) => typeof str === "string" && str.length > 0;
|
|
32578
|
+
if (nonEmptyString(functionName) && nonEmptyString(traceId)) {
|
|
32579
|
+
request.headers[X_AMZN_TRACE_ID] = traceId;
|
|
32580
|
+
}
|
|
32581
|
+
}
|
|
32602
32582
|
}
|
|
32603
|
-
|
|
32604
|
-
|
|
32605
|
-
|
|
32606
|
-
|
|
32607
|
-
|
|
32608
|
-
|
|
32609
|
-
|
|
32610
|
-
|
|
32583
|
+
{
|
|
32584
|
+
sanitizeTraceHeaders(request.headers);
|
|
32585
|
+
const existingTraceparent = request.headers[TRACEPARENT];
|
|
32586
|
+
if (!existingTraceparent) {
|
|
32587
|
+
const traceparent = (invokeStore ??= await InvokeStore.getInstanceAsync())?.getTraceparent?.();
|
|
32588
|
+
if (traceparent) {
|
|
32589
|
+
request.headers[TRACEPARENT] = traceparent;
|
|
32590
|
+
const tracestate = invokeStore?.getTracestate?.();
|
|
32591
|
+
if (tracestate) {
|
|
32592
|
+
request.headers[TRACESTATE] = tracestate;
|
|
32593
|
+
}
|
|
32594
|
+
const baggage = invokeStore?.getBaggage?.();
|
|
32595
|
+
if (baggage) {
|
|
32596
|
+
request.headers[BAGGAGE] = baggage;
|
|
32597
|
+
}
|
|
32598
|
+
}
|
|
32599
|
+
}
|
|
32611
32600
|
}
|
|
32612
|
-
return next(
|
|
32613
|
-
...args,
|
|
32614
|
-
request
|
|
32615
|
-
});
|
|
32601
|
+
return next(args);
|
|
32616
32602
|
};
|
|
32617
32603
|
}
|
|
32618
32604
|
});
|
|
@@ -32923,11 +32909,11 @@ var init_DefaultIdentityProviderConfig = __esm({
|
|
|
32923
32909
|
});
|
|
32924
32910
|
|
|
32925
32911
|
// ../../node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js
|
|
32926
|
-
var
|
|
32912
|
+
var import_types24, HttpApiKeyAuthSigner;
|
|
32927
32913
|
var init_httpApiKeyAuth = __esm({
|
|
32928
32914
|
"../../node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js"() {
|
|
32929
32915
|
init_protocols();
|
|
32930
|
-
|
|
32916
|
+
import_types24 = __toESM(require_dist_cjs());
|
|
32931
32917
|
HttpApiKeyAuthSigner = class {
|
|
32932
32918
|
async sign(httpRequest, identity, signingProperties) {
|
|
32933
32919
|
if (!signingProperties) {
|
|
@@ -32943,9 +32929,9 @@ var init_httpApiKeyAuth = __esm({
|
|
|
32943
32929
|
throw new Error("request could not be signed with `apiKey` since the `apiKey` is not defined");
|
|
32944
32930
|
}
|
|
32945
32931
|
const clonedRequest = HttpRequest.clone(httpRequest);
|
|
32946
|
-
if (signingProperties.in ===
|
|
32932
|
+
if (signingProperties.in === import_types24.HttpApiKeyAuthLocation.QUERY) {
|
|
32947
32933
|
clonedRequest.query[signingProperties.name] = identity.apiKey;
|
|
32948
|
-
} else if (signingProperties.in ===
|
|
32934
|
+
} else if (signingProperties.in === import_types24.HttpApiKeyAuthLocation.HEADER) {
|
|
32949
32935
|
clonedRequest.headers[signingProperties.name] = signingProperties.scheme ? `${signingProperties.scheme} ${identity.apiKey}` : identity.apiKey;
|
|
32950
32936
|
} else {
|
|
32951
32937
|
throw new Error("request can only be signed with `apiKey` locations `query` or `header`, but found: `" + signingProperties.in + "`");
|
|
@@ -33658,142 +33644,6 @@ var init_getRuntimeUserAgentPair = __esm({
|
|
|
33658
33644
|
}
|
|
33659
33645
|
});
|
|
33660
33646
|
|
|
33661
|
-
// ../../node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-node/getNodeModulesParentDirs.js
|
|
33662
|
-
var import_node_path6, getNodeModulesParentDirs;
|
|
33663
|
-
var init_getNodeModulesParentDirs = __esm({
|
|
33664
|
-
"../../node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-node/getNodeModulesParentDirs.js"() {
|
|
33665
|
-
import_node_path6 = require("node:path");
|
|
33666
|
-
getNodeModulesParentDirs = (dirname) => {
|
|
33667
|
-
const cwd = process.cwd();
|
|
33668
|
-
if (!dirname) {
|
|
33669
|
-
return [cwd];
|
|
33670
|
-
}
|
|
33671
|
-
const normalizedPath = (0, import_node_path6.normalize)(dirname);
|
|
33672
|
-
const parts = normalizedPath.split(import_node_path6.sep);
|
|
33673
|
-
const nodeModulesIndex = parts.indexOf("node_modules");
|
|
33674
|
-
const parentDir = nodeModulesIndex !== -1 ? parts.slice(0, nodeModulesIndex).join(import_node_path6.sep) : normalizedPath;
|
|
33675
|
-
if (cwd === parentDir) {
|
|
33676
|
-
return [cwd];
|
|
33677
|
-
}
|
|
33678
|
-
return [parentDir, cwd];
|
|
33679
|
-
};
|
|
33680
|
-
}
|
|
33681
|
-
});
|
|
33682
|
-
|
|
33683
|
-
// ../../node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-node/getSanitizedTypeScriptVersion.js
|
|
33684
|
-
var SEMVER_REGEX, getSanitizedTypeScriptVersion;
|
|
33685
|
-
var init_getSanitizedTypeScriptVersion = __esm({
|
|
33686
|
-
"../../node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-node/getSanitizedTypeScriptVersion.js"() {
|
|
33687
|
-
SEMVER_REGEX = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*)?$/;
|
|
33688
|
-
getSanitizedTypeScriptVersion = (version = "") => {
|
|
33689
|
-
const match = version.match(SEMVER_REGEX);
|
|
33690
|
-
if (!match) {
|
|
33691
|
-
return void 0;
|
|
33692
|
-
}
|
|
33693
|
-
const [major, minor, patch, prerelease] = [match[1], match[2], match[3], match[4]];
|
|
33694
|
-
return prerelease ? `${major}.${minor}.${patch}-${prerelease}` : `${major}.${minor}.${patch}`;
|
|
33695
|
-
};
|
|
33696
|
-
}
|
|
33697
|
-
});
|
|
33698
|
-
|
|
33699
|
-
// ../../node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-node/getSanitizedDevTypeScriptVersion.js
|
|
33700
|
-
var ALLOWED_PREFIXES, ALLOWED_DIST_TAGS, getSanitizedDevTypeScriptVersion;
|
|
33701
|
-
var init_getSanitizedDevTypeScriptVersion = __esm({
|
|
33702
|
-
"../../node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-node/getSanitizedDevTypeScriptVersion.js"() {
|
|
33703
|
-
init_getSanitizedTypeScriptVersion();
|
|
33704
|
-
ALLOWED_PREFIXES = ["^", "~", ">=", "<=", ">", "<"];
|
|
33705
|
-
ALLOWED_DIST_TAGS = ["latest", "beta", "dev", "rc", "insiders", "next"];
|
|
33706
|
-
getSanitizedDevTypeScriptVersion = (version = "") => {
|
|
33707
|
-
if (ALLOWED_DIST_TAGS.includes(version)) {
|
|
33708
|
-
return version;
|
|
33709
|
-
}
|
|
33710
|
-
const prefix = ALLOWED_PREFIXES.find((p3) => version.startsWith(p3)) ?? "";
|
|
33711
|
-
const sanitizedTypeScriptVersion = getSanitizedTypeScriptVersion(version.slice(prefix.length));
|
|
33712
|
-
if (!sanitizedTypeScriptVersion) {
|
|
33713
|
-
return void 0;
|
|
33714
|
-
}
|
|
33715
|
-
return `${prefix}${sanitizedTypeScriptVersion}`;
|
|
33716
|
-
};
|
|
33717
|
-
}
|
|
33718
|
-
});
|
|
33719
|
-
|
|
33720
|
-
// ../../node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-node/getTypeScriptUserAgentPair.js
|
|
33721
|
-
var import_promises3, import_node_path7, tscVersion, TS_PACKAGE_JSON, getTypeScriptUserAgentPair;
|
|
33722
|
-
var init_getTypeScriptUserAgentPair = __esm({
|
|
33723
|
-
"../../node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-node/getTypeScriptUserAgentPair.js"() {
|
|
33724
|
-
init_config2();
|
|
33725
|
-
import_promises3 = require("node:fs/promises");
|
|
33726
|
-
import_node_path7 = require("node:path");
|
|
33727
|
-
init_getNodeModulesParentDirs();
|
|
33728
|
-
init_getSanitizedDevTypeScriptVersion();
|
|
33729
|
-
init_getSanitizedTypeScriptVersion();
|
|
33730
|
-
TS_PACKAGE_JSON = (0, import_node_path7.join)("node_modules", "typescript", "package.json");
|
|
33731
|
-
getTypeScriptUserAgentPair = async () => {
|
|
33732
|
-
if (tscVersion === null) {
|
|
33733
|
-
return void 0;
|
|
33734
|
-
} else if (typeof tscVersion === "string") {
|
|
33735
|
-
return ["md/tsc", tscVersion];
|
|
33736
|
-
}
|
|
33737
|
-
let isTypeScriptDetectionDisabled = false;
|
|
33738
|
-
try {
|
|
33739
|
-
isTypeScriptDetectionDisabled = booleanSelector(process.env, "AWS_SDK_JS_TYPESCRIPT_DETECTION_DISABLED", SelectorType.ENV) || false;
|
|
33740
|
-
} catch {
|
|
33741
|
-
}
|
|
33742
|
-
if (isTypeScriptDetectionDisabled) {
|
|
33743
|
-
tscVersion = null;
|
|
33744
|
-
return void 0;
|
|
33745
|
-
}
|
|
33746
|
-
const dirname = typeof __dirname !== "undefined" ? __dirname : void 0;
|
|
33747
|
-
const nodeModulesParentDirs = getNodeModulesParentDirs(dirname);
|
|
33748
|
-
let versionFromApp;
|
|
33749
|
-
for (const nodeModulesParentDir of nodeModulesParentDirs) {
|
|
33750
|
-
try {
|
|
33751
|
-
const appPackageJsonPath = (0, import_node_path7.join)(nodeModulesParentDir, "package.json");
|
|
33752
|
-
const packageJson = await (0, import_promises3.readFile)(appPackageJsonPath, "utf-8");
|
|
33753
|
-
const { dependencies, devDependencies } = JSON.parse(packageJson);
|
|
33754
|
-
const version = devDependencies?.typescript ?? dependencies?.typescript;
|
|
33755
|
-
if (typeof version !== "string") {
|
|
33756
|
-
continue;
|
|
33757
|
-
}
|
|
33758
|
-
versionFromApp = version;
|
|
33759
|
-
break;
|
|
33760
|
-
} catch {
|
|
33761
|
-
}
|
|
33762
|
-
}
|
|
33763
|
-
if (!versionFromApp) {
|
|
33764
|
-
tscVersion = null;
|
|
33765
|
-
return void 0;
|
|
33766
|
-
}
|
|
33767
|
-
let versionFromNodeModules;
|
|
33768
|
-
for (const nodeModulesParentDir of nodeModulesParentDirs) {
|
|
33769
|
-
try {
|
|
33770
|
-
const tsPackageJsonPath = (0, import_node_path7.join)(nodeModulesParentDir, TS_PACKAGE_JSON);
|
|
33771
|
-
const packageJson = await (0, import_promises3.readFile)(tsPackageJsonPath, "utf-8");
|
|
33772
|
-
const { version } = JSON.parse(packageJson);
|
|
33773
|
-
const sanitizedVersion2 = getSanitizedTypeScriptVersion(version);
|
|
33774
|
-
if (typeof sanitizedVersion2 !== "string") {
|
|
33775
|
-
continue;
|
|
33776
|
-
}
|
|
33777
|
-
versionFromNodeModules = sanitizedVersion2;
|
|
33778
|
-
break;
|
|
33779
|
-
} catch {
|
|
33780
|
-
}
|
|
33781
|
-
}
|
|
33782
|
-
if (versionFromNodeModules) {
|
|
33783
|
-
tscVersion = versionFromNodeModules;
|
|
33784
|
-
return ["md/tsc", tscVersion];
|
|
33785
|
-
}
|
|
33786
|
-
const sanitizedVersion = getSanitizedDevTypeScriptVersion(versionFromApp);
|
|
33787
|
-
if (typeof sanitizedVersion !== "string") {
|
|
33788
|
-
tscVersion = null;
|
|
33789
|
-
return void 0;
|
|
33790
|
-
}
|
|
33791
|
-
tscVersion = `dev_${sanitizedVersion}`;
|
|
33792
|
-
return ["md/tsc", tscVersion];
|
|
33793
|
-
};
|
|
33794
|
-
}
|
|
33795
|
-
});
|
|
33796
|
-
|
|
33797
33647
|
// ../../node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-node/crt-availability.js
|
|
33798
33648
|
var crtAvailability;
|
|
33799
33649
|
var init_crt_availability = __esm({
|
|
@@ -33825,7 +33675,6 @@ var init_defaultUserAgent = __esm({
|
|
|
33825
33675
|
import_node_os2 = require("node:os");
|
|
33826
33676
|
import_node_process2 = require("node:process");
|
|
33827
33677
|
init_getRuntimeUserAgentPair();
|
|
33828
|
-
init_getTypeScriptUserAgentPair();
|
|
33829
33678
|
init_is_crt_available();
|
|
33830
33679
|
init_crt_availability();
|
|
33831
33680
|
createDefaultUserAgentProvider = ({ serviceId, clientVersion }) => {
|
|
@@ -33838,10 +33687,6 @@ var init_defaultUserAgent = __esm({
|
|
|
33838
33687
|
["lang/js"],
|
|
33839
33688
|
runtimeUserAgentPair
|
|
33840
33689
|
];
|
|
33841
|
-
const typescriptUserAgentPair = await getTypeScriptUserAgentPair();
|
|
33842
|
-
if (typescriptUserAgentPair) {
|
|
33843
|
-
sections.push(typescriptUserAgentPair);
|
|
33844
|
-
}
|
|
33845
33690
|
const crtAvailable = isCrtAvailable();
|
|
33846
33691
|
if (crtAvailable) {
|
|
33847
33692
|
sections.push(crtAvailable);
|
|
@@ -37256,16 +37101,16 @@ var require_dist_cjs6 = __commonJS({
|
|
|
37256
37101
|
const warn2 = options.logger?.constructor?.name === "NoOpLogger" || !options.logger?.warn ? console.warn : options.logger.warn.bind(options.logger);
|
|
37257
37102
|
if (relative && full) {
|
|
37258
37103
|
warn2("@aws-sdk/credential-provider-http: you have set both awsContainerCredentialsRelativeUri and awsContainerCredentialsFullUri.");
|
|
37259
|
-
warn2("
|
|
37104
|
+
warn2("awsContainerCredentialsRelativeUri will take precedence.");
|
|
37260
37105
|
}
|
|
37261
37106
|
if (token && tokenFile) {
|
|
37262
37107
|
warn2("@aws-sdk/credential-provider-http: you have set both awsContainerAuthorizationToken and awsContainerAuthorizationTokenFile.");
|
|
37263
|
-
warn2("
|
|
37108
|
+
warn2("awsContainerAuthorizationTokenFile will take precedence.");
|
|
37264
37109
|
}
|
|
37265
|
-
if (
|
|
37266
|
-
host = full;
|
|
37267
|
-
} else if (relative) {
|
|
37110
|
+
if (relative) {
|
|
37268
37111
|
host = `${DEFAULT_LINK_LOCAL_HOST}${relative}`;
|
|
37112
|
+
} else if (full) {
|
|
37113
|
+
host = full;
|
|
37269
37114
|
} else {
|
|
37270
37115
|
throw new CredentialsProviderError2(`No HTTP credential provider host provided.
|
|
37271
37116
|
Set AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI.`, { logger: options.logger });
|
|
@@ -37276,10 +37121,10 @@ Set AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI
|
|
|
37276
37121
|
const requestTimeout = options.timeout ?? 1e3;
|
|
37277
37122
|
const provider = retryWrapper(async () => {
|
|
37278
37123
|
const request = createGetRequest(url);
|
|
37279
|
-
if (
|
|
37280
|
-
request.headers.Authorization =
|
|
37281
|
-
} else if (
|
|
37282
|
-
request.headers.Authorization = (
|
|
37124
|
+
if (tokenFile) {
|
|
37125
|
+
request.headers.Authorization = validateToken((await fs.readFile(tokenFile)).toString());
|
|
37126
|
+
} else if (token) {
|
|
37127
|
+
request.headers.Authorization = validateToken(token);
|
|
37283
37128
|
}
|
|
37284
37129
|
try {
|
|
37285
37130
|
const result = await requestHandler.handle(request, { requestTimeout });
|
|
@@ -37296,6 +37141,12 @@ Set AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI
|
|
|
37296
37141
|
}
|
|
37297
37142
|
};
|
|
37298
37143
|
};
|
|
37144
|
+
var validateToken = (token) => {
|
|
37145
|
+
if (token.includes("\r\n")) {
|
|
37146
|
+
throw new CredentialsProviderError2("Authorization token contains invalid \\r\\n sequence.");
|
|
37147
|
+
}
|
|
37148
|
+
return token;
|
|
37149
|
+
};
|
|
37299
37150
|
exports2.fromHttp = fromHttp;
|
|
37300
37151
|
}
|
|
37301
37152
|
});
|
|
@@ -37382,7 +37233,7 @@ var init_package = __esm({
|
|
|
37382
37233
|
"../../node_modules/@aws-sdk/nested-clients/package.json"() {
|
|
37383
37234
|
package_default = {
|
|
37384
37235
|
name: "@aws-sdk/nested-clients",
|
|
37385
|
-
version: "3.997.
|
|
37236
|
+
version: "3.997.31",
|
|
37386
37237
|
description: "Nested clients for AWS SDK packages.",
|
|
37387
37238
|
main: "./dist-cjs/index.js",
|
|
37388
37239
|
module: "./dist-es/index.js",
|
|
@@ -37410,13 +37261,13 @@ var init_package = __esm({
|
|
|
37410
37261
|
},
|
|
37411
37262
|
license: "Apache-2.0",
|
|
37412
37263
|
dependencies: {
|
|
37413
|
-
"@aws-sdk/core": "^3.
|
|
37414
|
-
"@aws-sdk/signature-v4-multi-region": "^3.996.
|
|
37415
|
-
"@aws-sdk/types": "^3.
|
|
37416
|
-
"@smithy/core": "^3.29.
|
|
37417
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
37418
|
-
"@smithy/node-http-handler": "^4.9.
|
|
37419
|
-
"@smithy/types": "^4.
|
|
37264
|
+
"@aws-sdk/core": "^3.975.1",
|
|
37265
|
+
"@aws-sdk/signature-v4-multi-region": "^3.996.39",
|
|
37266
|
+
"@aws-sdk/types": "^3.974.0",
|
|
37267
|
+
"@smithy/core": "^3.29.2",
|
|
37268
|
+
"@smithy/fetch-http-handler": "^5.6.4",
|
|
37269
|
+
"@smithy/node-http-handler": "^4.9.4",
|
|
37270
|
+
"@smithy/types": "^4.16.0",
|
|
37420
37271
|
tslib: "^2.6.2"
|
|
37421
37272
|
},
|
|
37422
37273
|
devDependencies: {
|
|
@@ -38685,7 +38536,6 @@ var init_cbor2 = __esm({
|
|
|
38685
38536
|
"../../node_modules/@smithy/core/dist-es/submodules/cbor/index.js"() {
|
|
38686
38537
|
init_parseCborBody();
|
|
38687
38538
|
init_SmithyRpcV2CborProtocol();
|
|
38688
|
-
init_CborCodec();
|
|
38689
38539
|
}
|
|
38690
38540
|
});
|
|
38691
38541
|
|
|
@@ -40620,12 +40470,6 @@ var init_AwsEc2QueryProtocol = __esm({
|
|
|
40620
40470
|
}
|
|
40621
40471
|
});
|
|
40622
40472
|
|
|
40623
|
-
// ../../node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QuerySerializerSettings.js
|
|
40624
|
-
var init_QuerySerializerSettings = __esm({
|
|
40625
|
-
"../../node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QuerySerializerSettings.js"() {
|
|
40626
|
-
}
|
|
40627
|
-
});
|
|
40628
|
-
|
|
40629
40473
|
// ../../node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/parseXmlBody.js
|
|
40630
40474
|
var import_xml_builder2, parseXmlBody, parseXmlErrorBody, loadRestXmlErrorCode;
|
|
40631
40475
|
var init_parseXmlBody = __esm({
|
|
@@ -41127,7 +40971,6 @@ var init_protocols2 = __esm({
|
|
|
41127
40971
|
init_parseJsonBody();
|
|
41128
40972
|
init_AwsEc2QueryProtocol();
|
|
41129
40973
|
init_AwsQueryProtocol();
|
|
41130
|
-
init_QuerySerializerSettings();
|
|
41131
40974
|
init_QueryShapeSerializer();
|
|
41132
40975
|
init_AwsRestXmlProtocol();
|
|
41133
40976
|
init_XmlCodec();
|
|
@@ -42994,149 +42837,203 @@ Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.ht
|
|
|
42994
42837
|
}
|
|
42995
42838
|
});
|
|
42996
42839
|
|
|
42997
|
-
// ../../node_modules/@aws-sdk/
|
|
42998
|
-
|
|
42999
|
-
|
|
43000
|
-
|
|
43001
|
-
|
|
43002
|
-
|
|
43003
|
-
|
|
43004
|
-
|
|
43005
|
-
|
|
43006
|
-
|
|
43007
|
-
|
|
43008
|
-
|
|
42840
|
+
// ../../node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js
|
|
42841
|
+
var require_dist_cjs10 = __commonJS({
|
|
42842
|
+
"../../node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js"(exports2) {
|
|
42843
|
+
var { SignatureV4: SignatureV42, signatureV4aContainer } = require_dist_cjs2();
|
|
42844
|
+
var signatureV4CrtContainer = {
|
|
42845
|
+
CrtSignerV4: null
|
|
42846
|
+
};
|
|
42847
|
+
var SESSION_TOKEN_QUERY_PARAM = "X-Amz-S3session-Token";
|
|
42848
|
+
var SESSION_TOKEN_HEADER = SESSION_TOKEN_QUERY_PARAM.toLowerCase();
|
|
42849
|
+
var SignatureV4SignWithCredentials = class extends SignatureV42 {
|
|
42850
|
+
async signWithCredentials(requestToSign, credentials, options) {
|
|
42851
|
+
const credentialsWithoutSessionToken = getCredentialsWithoutSessionToken(credentials);
|
|
42852
|
+
requestToSign.headers[SESSION_TOKEN_HEADER] = credentials.sessionToken;
|
|
42853
|
+
const privateAccess = this;
|
|
42854
|
+
setSingleOverride(privateAccess, credentialsWithoutSessionToken);
|
|
42855
|
+
return privateAccess.signRequest(requestToSign, options ?? {});
|
|
43009
42856
|
}
|
|
43010
|
-
|
|
43011
|
-
|
|
43012
|
-
|
|
43013
|
-
|
|
43014
|
-
|
|
43015
|
-
|
|
43016
|
-
|
|
43017
|
-
|
|
43018
|
-
|
|
43019
|
-
|
|
43020
|
-
|
|
43021
|
-
|
|
43022
|
-
init_client2();
|
|
43023
|
-
defaultSigninHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
42857
|
+
async presignWithCredentials(requestToSign, credentials, options) {
|
|
42858
|
+
const credentialsWithoutSessionToken = getCredentialsWithoutSessionToken(credentials);
|
|
42859
|
+
delete requestToSign.headers[SESSION_TOKEN_HEADER];
|
|
42860
|
+
requestToSign.headers[SESSION_TOKEN_QUERY_PARAM] = credentials.sessionToken;
|
|
42861
|
+
requestToSign.query = requestToSign.query ?? {};
|
|
42862
|
+
requestToSign.query[SESSION_TOKEN_QUERY_PARAM] = credentials.sessionToken;
|
|
42863
|
+
const privateAccess = this;
|
|
42864
|
+
setSingleOverride(privateAccess, credentialsWithoutSessionToken);
|
|
42865
|
+
return this.presign(requestToSign, options);
|
|
42866
|
+
}
|
|
42867
|
+
};
|
|
42868
|
+
function getCredentialsWithoutSessionToken(credentials) {
|
|
43024
42869
|
return {
|
|
43025
|
-
|
|
43026
|
-
|
|
43027
|
-
|
|
43028
|
-
})()
|
|
42870
|
+
accessKeyId: credentials.accessKeyId,
|
|
42871
|
+
secretAccessKey: credentials.secretAccessKey,
|
|
42872
|
+
expiration: credentials.expiration
|
|
43029
42873
|
};
|
|
43030
|
-
}
|
|
43031
|
-
|
|
43032
|
-
const
|
|
43033
|
-
|
|
43034
|
-
|
|
43035
|
-
|
|
43036
|
-
|
|
42874
|
+
}
|
|
42875
|
+
function setSingleOverride(privateAccess, credentialsWithoutSessionToken) {
|
|
42876
|
+
const currentCredentialProvider = privateAccess.credentialProvider;
|
|
42877
|
+
privateAccess.credentialProvider = () => {
|
|
42878
|
+
privateAccess.credentialProvider = currentCredentialProvider;
|
|
42879
|
+
return Promise.resolve(credentialsWithoutSessionToken);
|
|
42880
|
+
};
|
|
42881
|
+
}
|
|
42882
|
+
var SignatureV4MultiRegion3 = class {
|
|
42883
|
+
sigv4aSigner;
|
|
42884
|
+
sigv4Signer;
|
|
42885
|
+
signerOptions;
|
|
42886
|
+
static sigv4aDependency() {
|
|
42887
|
+
if (typeof signatureV4CrtContainer.CrtSignerV4 === "function") {
|
|
42888
|
+
return "crt";
|
|
42889
|
+
} else if (typeof signatureV4aContainer.SignatureV4a === "function") {
|
|
42890
|
+
return "js";
|
|
43037
42891
|
}
|
|
43038
|
-
|
|
43039
|
-
|
|
42892
|
+
return "none";
|
|
42893
|
+
}
|
|
42894
|
+
constructor(options) {
|
|
42895
|
+
this.sigv4Signer = new SignatureV4SignWithCredentials(options);
|
|
42896
|
+
this.signerOptions = options;
|
|
42897
|
+
}
|
|
42898
|
+
async sign(requestToSign, options = {}) {
|
|
42899
|
+
if (options.signingRegion === "*") {
|
|
42900
|
+
return this.getSigv4aSigner().sign(requestToSign, options);
|
|
43040
42901
|
}
|
|
42902
|
+
return this.sigv4Signer.sign(requestToSign, options);
|
|
42903
|
+
}
|
|
42904
|
+
async signWithCredentials(requestToSign, credentials, options = {}) {
|
|
42905
|
+
if (options.signingRegion === "*") {
|
|
42906
|
+
const signer = this.getSigv4aSigner();
|
|
42907
|
+
const CrtSignerV4 = signatureV4CrtContainer.CrtSignerV4;
|
|
42908
|
+
if (CrtSignerV4 && signer instanceof CrtSignerV4) {
|
|
42909
|
+
return signer.signWithCredentials(requestToSign, credentials, options);
|
|
42910
|
+
} else {
|
|
42911
|
+
throw new Error(`signWithCredentials with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`);
|
|
42912
|
+
}
|
|
42913
|
+
}
|
|
42914
|
+
return this.sigv4Signer.signWithCredentials(requestToSign, credentials, options);
|
|
42915
|
+
}
|
|
42916
|
+
async presign(originalRequest, options = {}) {
|
|
42917
|
+
if (options.signingRegion === "*") {
|
|
42918
|
+
const signer = this.getSigv4aSigner();
|
|
42919
|
+
const CrtSignerV4 = signatureV4CrtContainer.CrtSignerV4;
|
|
42920
|
+
if (CrtSignerV4 && signer instanceof CrtSignerV4) {
|
|
42921
|
+
return signer.presign(originalRequest, options);
|
|
42922
|
+
} else {
|
|
42923
|
+
throw new Error(`presign with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`);
|
|
42924
|
+
}
|
|
42925
|
+
}
|
|
42926
|
+
return this.sigv4Signer.presign(originalRequest, options);
|
|
42927
|
+
}
|
|
42928
|
+
async presignWithCredentials(originalRequest, credentials, options = {}) {
|
|
42929
|
+
if (options.signingRegion === "*") {
|
|
42930
|
+
throw new Error("Method presignWithCredentials is not supported for [signingRegion=*].");
|
|
42931
|
+
}
|
|
42932
|
+
return this.sigv4Signer.presignWithCredentials(originalRequest, credentials, options);
|
|
42933
|
+
}
|
|
42934
|
+
getSigv4aSigner() {
|
|
42935
|
+
if (!this.sigv4aSigner) {
|
|
42936
|
+
const CrtSignerV4 = signatureV4CrtContainer.CrtSignerV4;
|
|
42937
|
+
const JsSigV4aSigner = signatureV4aContainer.SignatureV4a;
|
|
42938
|
+
if (this.signerOptions.runtime === "node") {
|
|
42939
|
+
if (!CrtSignerV4 && !JsSigV4aSigner) {
|
|
42940
|
+
throw new Error("Neither CRT nor JS SigV4a implementation is available. Please load either @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt");
|
|
42941
|
+
}
|
|
42942
|
+
if (CrtSignerV4 && typeof CrtSignerV4 === "function") {
|
|
42943
|
+
this.sigv4aSigner = new CrtSignerV4({
|
|
42944
|
+
...this.signerOptions,
|
|
42945
|
+
signingAlgorithm: 1
|
|
42946
|
+
});
|
|
42947
|
+
} else if (JsSigV4aSigner && typeof JsSigV4aSigner === "function") {
|
|
42948
|
+
this.sigv4aSigner = new JsSigV4aSigner({
|
|
42949
|
+
...this.signerOptions
|
|
42950
|
+
});
|
|
42951
|
+
} else {
|
|
42952
|
+
throw new Error("Available SigV4a implementation is not a valid constructor. Please ensure you've properly imported @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a.For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt");
|
|
42953
|
+
}
|
|
42954
|
+
} else {
|
|
42955
|
+
if (!JsSigV4aSigner || typeof JsSigV4aSigner !== "function") {
|
|
42956
|
+
throw new Error("JS SigV4a implementation is not available or not a valid constructor. Please check whether you have installed the @aws-sdk/signature-v4a package explicitly. The CRT implementation is not available for browsers. You must also register the package by calling [require('@aws-sdk/signature-v4a');] or an ESM equivalent such as [import '@aws-sdk/signature-v4a';]. For more information please go to https://github.com/aws/aws-sdk-js-v3#using-javascript-non-crt-implementation-of-sigv4a");
|
|
42957
|
+
}
|
|
42958
|
+
this.sigv4aSigner = new JsSigV4aSigner({
|
|
42959
|
+
...this.signerOptions
|
|
42960
|
+
});
|
|
42961
|
+
}
|
|
42962
|
+
}
|
|
42963
|
+
return this.sigv4aSigner;
|
|
43041
42964
|
}
|
|
43042
|
-
return options;
|
|
43043
|
-
};
|
|
43044
|
-
resolveHttpAuthSchemeConfig3 = (config) => {
|
|
43045
|
-
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
43046
|
-
return Object.assign(config_0, {
|
|
43047
|
-
authSchemePreference: normalizeProvider(config.authSchemePreference ?? [])
|
|
43048
|
-
});
|
|
43049
|
-
};
|
|
43050
|
-
}
|
|
43051
|
-
});
|
|
43052
|
-
|
|
43053
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/EndpointParameters.js
|
|
43054
|
-
var resolveClientEndpointParameters3, commonParams3;
|
|
43055
|
-
var init_EndpointParameters3 = __esm({
|
|
43056
|
-
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/EndpointParameters.js"() {
|
|
43057
|
-
resolveClientEndpointParameters3 = (options) => {
|
|
43058
|
-
return Object.assign(options, {
|
|
43059
|
-
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
43060
|
-
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
43061
|
-
defaultSigningName: "signin"
|
|
43062
|
-
});
|
|
43063
|
-
};
|
|
43064
|
-
commonParams3 = {
|
|
43065
|
-
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
43066
|
-
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
43067
|
-
Region: { type: "builtInParams", name: "region" },
|
|
43068
|
-
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
43069
42965
|
};
|
|
42966
|
+
exports2.SignatureV4MultiRegion = SignatureV4MultiRegion3;
|
|
42967
|
+
exports2.SignatureV4SignWithCredentials = SignatureV4SignWithCredentials;
|
|
42968
|
+
exports2.signatureV4CrtContainer = signatureV4CrtContainer;
|
|
43070
42969
|
}
|
|
43071
42970
|
});
|
|
43072
42971
|
|
|
43073
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
43074
|
-
var
|
|
42972
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/bdd.js
|
|
42973
|
+
var q, a3, b3, c3, d3, e3, f3, g3, h3, i3, j3, k3, l, m, n, o, p, _data3, root3, r3, nodes3, bdd3;
|
|
43075
42974
|
var init_bdd3 = __esm({
|
|
43076
|
-
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
42975
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/bdd.js"() {
|
|
43077
42976
|
init_endpoints();
|
|
43078
|
-
|
|
42977
|
+
q = "ref";
|
|
43079
42978
|
a3 = -1;
|
|
43080
42979
|
b3 = true;
|
|
43081
42980
|
c3 = "isSet";
|
|
43082
|
-
d3 = "
|
|
43083
|
-
e3 = "
|
|
42981
|
+
d3 = "PartitionResult";
|
|
42982
|
+
e3 = "booleanEquals";
|
|
43084
42983
|
f3 = "stringEquals";
|
|
43085
42984
|
g3 = "getAttr";
|
|
43086
|
-
h3 = "
|
|
43087
|
-
i3 =
|
|
43088
|
-
j3 =
|
|
43089
|
-
k3 = {
|
|
43090
|
-
l = { [
|
|
43091
|
-
m = {
|
|
43092
|
-
n = {};
|
|
43093
|
-
o =
|
|
42985
|
+
h3 = "us-east-1";
|
|
42986
|
+
i3 = "sigv4";
|
|
42987
|
+
j3 = "sts";
|
|
42988
|
+
k3 = "https://sts.{Region}.{PartitionResult#dnsSuffix}";
|
|
42989
|
+
l = { [q]: "Endpoint" };
|
|
42990
|
+
m = { [q]: "Region" };
|
|
42991
|
+
n = { [q]: d3 };
|
|
42992
|
+
o = {};
|
|
42993
|
+
p = [m];
|
|
43094
42994
|
_data3 = {
|
|
43095
42995
|
conditions: [
|
|
43096
|
-
[c3,
|
|
43097
|
-
[
|
|
43098
|
-
[
|
|
43099
|
-
["
|
|
43100
|
-
[
|
|
43101
|
-
[
|
|
43102
|
-
[
|
|
43103
|
-
[f3, [
|
|
43104
|
-
[
|
|
43105
|
-
[
|
|
43106
|
-
[f3, [
|
|
43107
|
-
[
|
|
43108
|
-
[f3, [
|
|
43109
|
-
[f3, [
|
|
43110
|
-
[f3, [
|
|
43111
|
-
[f3, [
|
|
43112
|
-
[f3, [
|
|
42996
|
+
[c3, [l]],
|
|
42997
|
+
[c3, p],
|
|
42998
|
+
["aws.partition", p, d3],
|
|
42999
|
+
[e3, [{ [q]: "UseFIPS" }, b3]],
|
|
43000
|
+
[e3, [{ [q]: "UseDualStack" }, b3]],
|
|
43001
|
+
[f3, [m, "aws-global"]],
|
|
43002
|
+
[e3, [{ [q]: "UseGlobalEndpoint" }, b3]],
|
|
43003
|
+
[f3, [m, "eu-central-1"]],
|
|
43004
|
+
[e3, [{ fn: g3, argv: [n, "supportsDualStack"] }, b3]],
|
|
43005
|
+
[e3, [{ fn: g3, argv: [n, "supportsFIPS"] }, b3]],
|
|
43006
|
+
[f3, [m, "ap-south-1"]],
|
|
43007
|
+
[f3, [m, "eu-north-1"]],
|
|
43008
|
+
[f3, [m, "eu-west-1"]],
|
|
43009
|
+
[f3, [m, "eu-west-2"]],
|
|
43010
|
+
[f3, [m, "eu-west-3"]],
|
|
43011
|
+
[f3, [m, "sa-east-1"]],
|
|
43012
|
+
[f3, [m, h3]],
|
|
43013
|
+
[f3, [m, "us-east-2"]],
|
|
43014
|
+
[f3, [m, "us-west-2"]],
|
|
43015
|
+
[f3, [m, "us-west-1"]],
|
|
43016
|
+
[f3, [m, "ca-central-1"]],
|
|
43017
|
+
[f3, [m, "ap-southeast-1"]],
|
|
43018
|
+
[f3, [m, "ap-northeast-1"]],
|
|
43019
|
+
[f3, [m, "ap-southeast-2"]],
|
|
43020
|
+
[f3, [{ fn: g3, argv: [n, "name"] }, "aws-us-gov"]]
|
|
43113
43021
|
],
|
|
43114
43022
|
results: [
|
|
43115
43023
|
[a3],
|
|
43116
|
-
["https://
|
|
43117
|
-
["
|
|
43118
|
-
[h3, m],
|
|
43119
|
-
["https://{Region}.signin.aws.amazon.com", n],
|
|
43120
|
-
["https://{Region}.signin.amazonaws.cn", n],
|
|
43121
|
-
["https://{Region}.signin.amazonaws-us-gov.com", n],
|
|
43122
|
-
["https://{Region}.signin.c2shome.ic.gov", n],
|
|
43123
|
-
["https://{Region}.signin.sc2shome.sgov.gov", n],
|
|
43124
|
-
["https://{Region}.signin.csphome.hci.ic.gov", n],
|
|
43125
|
-
["https://{Region}.signin.csphome.adc-e.uk", n],
|
|
43126
|
-
["https://{Region}.signin.amazonaws-eusc.eu", n],
|
|
43127
|
-
["https://signin-fips.amazonaws-us-gov.com", n],
|
|
43128
|
-
["https://{Region}.signin-fips.amazonaws-us-gov.com", n],
|
|
43129
|
-
["https://{Region}.signin.{PartitionResult#dnsSuffix}", n],
|
|
43024
|
+
["https://sts.amazonaws.com", { authSchemes: [{ name: i3, signingName: j3, signingRegion: h3 }] }],
|
|
43025
|
+
[k3, { authSchemes: [{ name: i3, signingName: j3, signingRegion: "{Region}" }] }],
|
|
43130
43026
|
[a3, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
43131
43027
|
[a3, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
43132
|
-
[
|
|
43133
|
-
["https://
|
|
43028
|
+
[l, o],
|
|
43029
|
+
["https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", o],
|
|
43134
43030
|
[a3, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
43135
|
-
["https://
|
|
43031
|
+
["https://sts.{Region}.amazonaws.com", o],
|
|
43032
|
+
["https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", o],
|
|
43136
43033
|
[a3, "FIPS is enabled but this partition does not support FIPS"],
|
|
43137
|
-
[
|
|
43034
|
+
["https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", o],
|
|
43138
43035
|
[a3, "DualStack is enabled but this partition does not support DualStack"],
|
|
43139
|
-
[
|
|
43036
|
+
[k3, o],
|
|
43140
43037
|
[a3, "Invalid Configuration: Missing Region"]
|
|
43141
43038
|
]
|
|
43142
43039
|
};
|
|
@@ -43147,116 +43044,110 @@ var init_bdd3 = __esm({
|
|
|
43147
43044
|
1,
|
|
43148
43045
|
-1,
|
|
43149
43046
|
0,
|
|
43150
|
-
4,
|
|
43151
|
-
3,
|
|
43152
|
-
2,
|
|
43153
43047
|
30,
|
|
43154
|
-
|
|
43048
|
+
3,
|
|
43155
43049
|
1,
|
|
43156
|
-
|
|
43157
|
-
|
|
43050
|
+
4,
|
|
43051
|
+
r3 + 14,
|
|
43158
43052
|
2,
|
|
43159
|
-
|
|
43160
|
-
|
|
43053
|
+
5,
|
|
43054
|
+
r3 + 14,
|
|
43161
43055
|
3,
|
|
43162
|
-
|
|
43163
|
-
|
|
43056
|
+
25,
|
|
43057
|
+
6,
|
|
43164
43058
|
4,
|
|
43165
|
-
|
|
43166
|
-
|
|
43059
|
+
24,
|
|
43060
|
+
7,
|
|
43167
43061
|
5,
|
|
43168
|
-
|
|
43169
|
-
|
|
43062
|
+
r3 + 1,
|
|
43063
|
+
8,
|
|
43170
43064
|
6,
|
|
43171
|
-
|
|
43172
|
-
|
|
43065
|
+
9,
|
|
43066
|
+
r3 + 13,
|
|
43173
43067
|
7,
|
|
43174
|
-
r3 +
|
|
43175
|
-
11,
|
|
43068
|
+
r3 + 1,
|
|
43176
43069
|
10,
|
|
43177
|
-
|
|
43070
|
+
10,
|
|
43071
|
+
r3 + 1,
|
|
43072
|
+
11,
|
|
43073
|
+
11,
|
|
43074
|
+
r3 + 1,
|
|
43178
43075
|
12,
|
|
43179
43076
|
12,
|
|
43180
|
-
r3 +
|
|
43077
|
+
r3 + 1,
|
|
43181
43078
|
13,
|
|
43182
43079
|
13,
|
|
43183
|
-
r3 +
|
|
43080
|
+
r3 + 1,
|
|
43184
43081
|
14,
|
|
43185
43082
|
14,
|
|
43186
|
-
r3 +
|
|
43083
|
+
r3 + 1,
|
|
43187
43084
|
15,
|
|
43188
43085
|
15,
|
|
43189
|
-
r3 +
|
|
43086
|
+
r3 + 1,
|
|
43190
43087
|
16,
|
|
43191
43088
|
16,
|
|
43192
|
-
r3 +
|
|
43193
|
-
|
|
43194
|
-
|
|
43195
|
-
r3 +
|
|
43196
|
-
|
|
43197
|
-
|
|
43198
|
-
|
|
43089
|
+
r3 + 1,
|
|
43090
|
+
17,
|
|
43091
|
+
17,
|
|
43092
|
+
r3 + 1,
|
|
43093
|
+
18,
|
|
43094
|
+
18,
|
|
43095
|
+
r3 + 1,
|
|
43199
43096
|
19,
|
|
43200
|
-
|
|
43201
|
-
r3 +
|
|
43097
|
+
19,
|
|
43098
|
+
r3 + 1,
|
|
43202
43099
|
20,
|
|
43203
|
-
|
|
43204
|
-
r3 +
|
|
43100
|
+
20,
|
|
43101
|
+
r3 + 1,
|
|
43205
43102
|
21,
|
|
43206
|
-
|
|
43207
|
-
r3 +
|
|
43208
|
-
|
|
43209
|
-
|
|
43103
|
+
21,
|
|
43104
|
+
r3 + 1,
|
|
43105
|
+
22,
|
|
43106
|
+
22,
|
|
43107
|
+
r3 + 1,
|
|
43210
43108
|
23,
|
|
43211
|
-
|
|
43212
|
-
|
|
43213
|
-
r3 +
|
|
43214
|
-
|
|
43215
|
-
|
|
43216
|
-
|
|
43217
|
-
25,
|
|
43218
|
-
3,
|
|
43219
|
-
32,
|
|
43220
|
-
26,
|
|
43109
|
+
23,
|
|
43110
|
+
r3 + 1,
|
|
43111
|
+
r3 + 2,
|
|
43112
|
+
8,
|
|
43113
|
+
r3 + 11,
|
|
43114
|
+
r3 + 12,
|
|
43221
43115
|
4,
|
|
43222
|
-
27,
|
|
43223
|
-
r3 + 25,
|
|
43224
|
-
5,
|
|
43225
|
-
r3 + 25,
|
|
43226
43116
|
28,
|
|
43117
|
+
26,
|
|
43227
43118
|
9,
|
|
43228
|
-
|
|
43229
|
-
r3 +
|
|
43119
|
+
27,
|
|
43120
|
+
r3 + 10,
|
|
43121
|
+
24,
|
|
43122
|
+
r3 + 8,
|
|
43123
|
+
r3 + 9,
|
|
43124
|
+
8,
|
|
43125
|
+
29,
|
|
43126
|
+
r3 + 7,
|
|
43127
|
+
9,
|
|
43128
|
+
r3 + 6,
|
|
43129
|
+
r3 + 7,
|
|
43230
43130
|
3,
|
|
43231
|
-
|
|
43232
|
-
30,
|
|
43233
|
-
4,
|
|
43234
|
-
r3 + 15,
|
|
43131
|
+
r3 + 3,
|
|
43235
43132
|
31,
|
|
43236
|
-
|
|
43237
|
-
r3 +
|
|
43238
|
-
r3 +
|
|
43239
|
-
6,
|
|
43240
|
-
r3 + 1,
|
|
43241
|
-
33,
|
|
43242
|
-
7,
|
|
43243
|
-
r3 + 2,
|
|
43244
|
-
r3 + 3
|
|
43133
|
+
4,
|
|
43134
|
+
r3 + 4,
|
|
43135
|
+
r3 + 5
|
|
43245
43136
|
]);
|
|
43246
43137
|
bdd3 = BinaryDecisionDiagram.from(nodes3, root3, _data3.conditions, _data3.results);
|
|
43247
43138
|
}
|
|
43248
43139
|
});
|
|
43249
43140
|
|
|
43250
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
43141
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/endpointResolver.js
|
|
43251
43142
|
var cache3, defaultEndpointResolver3;
|
|
43252
43143
|
var init_endpointResolver3 = __esm({
|
|
43253
|
-
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
43144
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/endpointResolver.js"() {
|
|
43254
43145
|
init_client3();
|
|
43255
43146
|
init_endpoints();
|
|
43256
43147
|
init_bdd3();
|
|
43257
43148
|
cache3 = new EndpointCache({
|
|
43258
43149
|
size: 50,
|
|
43259
|
-
params: ["Endpoint", "
|
|
43150
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS", "UseGlobalEndpoint"]
|
|
43260
43151
|
});
|
|
43261
43152
|
defaultEndpointResolver3 = (endpointParams, context = {}) => {
|
|
43262
43153
|
return cache3.get(endpointParams, () => decideEndpoint(bdd3, {
|
|
@@ -43268,237 +43159,536 @@ var init_endpointResolver3 = __esm({
|
|
|
43268
43159
|
}
|
|
43269
43160
|
});
|
|
43270
43161
|
|
|
43271
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
43272
|
-
|
|
43273
|
-
|
|
43274
|
-
|
|
43162
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js
|
|
43163
|
+
function createAwsAuthSigv4HttpAuthOption3(authParameters) {
|
|
43164
|
+
return {
|
|
43165
|
+
schemeId: "aws.auth#sigv4",
|
|
43166
|
+
signingProperties: {
|
|
43167
|
+
name: "sts",
|
|
43168
|
+
region: authParameters.region
|
|
43169
|
+
},
|
|
43170
|
+
propertiesExtractor: (config, context) => ({
|
|
43171
|
+
signingProperties: {
|
|
43172
|
+
config,
|
|
43173
|
+
context
|
|
43174
|
+
}
|
|
43175
|
+
})
|
|
43176
|
+
};
|
|
43177
|
+
}
|
|
43178
|
+
function createAwsAuthSigv4aHttpAuthOption(authParameters) {
|
|
43179
|
+
return {
|
|
43180
|
+
schemeId: "aws.auth#sigv4a",
|
|
43181
|
+
signingProperties: {
|
|
43182
|
+
name: "sts",
|
|
43183
|
+
region: authParameters.region
|
|
43184
|
+
},
|
|
43185
|
+
propertiesExtractor: (config, context) => ({
|
|
43186
|
+
signingProperties: {
|
|
43187
|
+
config,
|
|
43188
|
+
context
|
|
43189
|
+
}
|
|
43190
|
+
})
|
|
43191
|
+
};
|
|
43192
|
+
}
|
|
43193
|
+
function createSmithyApiNoAuthHttpAuthOption3(authParameters) {
|
|
43194
|
+
return {
|
|
43195
|
+
schemeId: "smithy.api#noAuth"
|
|
43196
|
+
};
|
|
43197
|
+
}
|
|
43198
|
+
var import_signature_v4_multi_region, createEndpointRuleSetHttpAuthSchemeParametersProvider, _defaultSTSHttpAuthSchemeParametersProvider, defaultSTSHttpAuthSchemeParametersProvider, createEndpointRuleSetHttpAuthSchemeProvider, _defaultSTSHttpAuthSchemeProvider, defaultSTSHttpAuthSchemeProvider, resolveHttpAuthSchemeConfig3;
|
|
43199
|
+
var init_httpAuthSchemeProvider3 = __esm({
|
|
43200
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js"() {
|
|
43201
|
+
init_httpAuthSchemes2();
|
|
43202
|
+
import_signature_v4_multi_region = __toESM(require_dist_cjs10());
|
|
43275
43203
|
init_client2();
|
|
43276
|
-
|
|
43204
|
+
init_endpoints();
|
|
43205
|
+
init_endpointResolver3();
|
|
43206
|
+
createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSchemeParametersProvider) => async (config, context, input) => {
|
|
43207
|
+
if (!input) {
|
|
43208
|
+
throw new Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");
|
|
43209
|
+
}
|
|
43210
|
+
const defaultParameters = await defaultHttpAuthSchemeParametersProvider(config, context, input);
|
|
43211
|
+
const instructionsFn = getSmithyContext(context)?.commandInstance?.constructor?.getEndpointParameterInstructions;
|
|
43212
|
+
if (!instructionsFn) {
|
|
43213
|
+
throw new Error(`getEndpointParameterInstructions() is not defined on '${context.commandName}'`);
|
|
43214
|
+
}
|
|
43215
|
+
const endpointParameters = await resolveParams(input, { getEndpointParameterInstructions: instructionsFn }, config);
|
|
43216
|
+
return Object.assign(defaultParameters, endpointParameters);
|
|
43217
|
+
};
|
|
43218
|
+
_defaultSTSHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
43219
|
+
return {
|
|
43220
|
+
operation: getSmithyContext(context).operation,
|
|
43221
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
43222
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
43223
|
+
})()
|
|
43224
|
+
};
|
|
43225
|
+
};
|
|
43226
|
+
defaultSTSHttpAuthSchemeParametersProvider = createEndpointRuleSetHttpAuthSchemeParametersProvider(_defaultSTSHttpAuthSchemeParametersProvider);
|
|
43227
|
+
createEndpointRuleSetHttpAuthSchemeProvider = (defaultEndpointResolver5, defaultHttpAuthSchemeResolver, createHttpAuthOptionFunctions) => {
|
|
43228
|
+
const endpointRuleSetHttpAuthSchemeProvider = (authParameters) => {
|
|
43229
|
+
const endpoint = defaultEndpointResolver5(authParameters);
|
|
43230
|
+
const authSchemes = endpoint.properties?.authSchemes;
|
|
43231
|
+
if (!authSchemes) {
|
|
43232
|
+
return defaultHttpAuthSchemeResolver(authParameters);
|
|
43233
|
+
}
|
|
43234
|
+
const options = [];
|
|
43235
|
+
for (const scheme of authSchemes) {
|
|
43236
|
+
const { name: resolvedName, properties = {}, ...rest } = scheme;
|
|
43237
|
+
const name = resolvedName.toLowerCase();
|
|
43238
|
+
if (resolvedName !== name) {
|
|
43239
|
+
console.warn(`HttpAuthScheme has been normalized with lowercasing: '${resolvedName}' to '${name}'`);
|
|
43240
|
+
}
|
|
43241
|
+
let schemeId;
|
|
43242
|
+
if (name === "sigv4a") {
|
|
43243
|
+
schemeId = "aws.auth#sigv4a";
|
|
43244
|
+
const sigv4Present = authSchemes.find((s) => {
|
|
43245
|
+
const name2 = s.name.toLowerCase();
|
|
43246
|
+
return name2 !== "sigv4a" && name2.startsWith("sigv4");
|
|
43247
|
+
});
|
|
43248
|
+
if (import_signature_v4_multi_region.SignatureV4MultiRegion.sigv4aDependency() === "none" && sigv4Present) {
|
|
43249
|
+
continue;
|
|
43250
|
+
}
|
|
43251
|
+
} else if (name.startsWith("sigv4")) {
|
|
43252
|
+
schemeId = "aws.auth#sigv4";
|
|
43253
|
+
} else {
|
|
43254
|
+
throw new Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${name}'`);
|
|
43255
|
+
}
|
|
43256
|
+
const createOption = createHttpAuthOptionFunctions[schemeId];
|
|
43257
|
+
if (!createOption) {
|
|
43258
|
+
throw new Error(`Could not find HttpAuthOption create function for '${schemeId}'`);
|
|
43259
|
+
}
|
|
43260
|
+
const option = createOption(authParameters);
|
|
43261
|
+
option.schemeId = schemeId;
|
|
43262
|
+
option.signingProperties = { ...option.signingProperties || {}, ...rest, ...properties };
|
|
43263
|
+
options.push(option);
|
|
43264
|
+
}
|
|
43265
|
+
return options;
|
|
43266
|
+
};
|
|
43267
|
+
return endpointRuleSetHttpAuthSchemeProvider;
|
|
43268
|
+
};
|
|
43269
|
+
_defaultSTSHttpAuthSchemeProvider = (authParameters) => {
|
|
43270
|
+
const options = [];
|
|
43271
|
+
switch (authParameters.operation) {
|
|
43272
|
+
case "AssumeRoleWithWebIdentity": {
|
|
43273
|
+
options.push(createSmithyApiNoAuthHttpAuthOption3(authParameters));
|
|
43274
|
+
options.push(createAwsAuthSigv4aHttpAuthOption(authParameters));
|
|
43275
|
+
break;
|
|
43276
|
+
}
|
|
43277
|
+
default: {
|
|
43278
|
+
options.push(createAwsAuthSigv4HttpAuthOption3(authParameters));
|
|
43279
|
+
options.push(createAwsAuthSigv4aHttpAuthOption(authParameters));
|
|
43280
|
+
}
|
|
43281
|
+
}
|
|
43282
|
+
return options;
|
|
43283
|
+
};
|
|
43284
|
+
defaultSTSHttpAuthSchemeProvider = createEndpointRuleSetHttpAuthSchemeProvider(defaultEndpointResolver3, _defaultSTSHttpAuthSchemeProvider, {
|
|
43285
|
+
"aws.auth#sigv4": createAwsAuthSigv4HttpAuthOption3,
|
|
43286
|
+
"aws.auth#sigv4a": createAwsAuthSigv4aHttpAuthOption,
|
|
43287
|
+
"smithy.api#noAuth": createSmithyApiNoAuthHttpAuthOption3
|
|
43288
|
+
});
|
|
43289
|
+
resolveHttpAuthSchemeConfig3 = (config) => {
|
|
43290
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
43291
|
+
const config_1 = resolveAwsSdkSigV4AConfig(config_0);
|
|
43292
|
+
return Object.assign(config_1, {
|
|
43293
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? [])
|
|
43294
|
+
});
|
|
43295
|
+
};
|
|
43296
|
+
}
|
|
43297
|
+
});
|
|
43298
|
+
|
|
43299
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/EndpointParameters.js
|
|
43300
|
+
var resolveClientEndpointParameters3, commonParams3;
|
|
43301
|
+
var init_EndpointParameters3 = __esm({
|
|
43302
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/EndpointParameters.js"() {
|
|
43303
|
+
resolveClientEndpointParameters3 = (options) => {
|
|
43304
|
+
return Object.assign(options, {
|
|
43305
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
43306
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
43307
|
+
useGlobalEndpoint: options.useGlobalEndpoint ?? false,
|
|
43308
|
+
defaultSigningName: "sts"
|
|
43309
|
+
});
|
|
43310
|
+
};
|
|
43311
|
+
commonParams3 = {
|
|
43312
|
+
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
43313
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
43314
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
43315
|
+
Region: { type: "builtInParams", name: "region" },
|
|
43316
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
43317
|
+
};
|
|
43318
|
+
}
|
|
43319
|
+
});
|
|
43320
|
+
|
|
43321
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/STSServiceException.js
|
|
43322
|
+
var STSServiceException;
|
|
43323
|
+
var init_STSServiceException = __esm({
|
|
43324
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/STSServiceException.js"() {
|
|
43325
|
+
init_client2();
|
|
43326
|
+
STSServiceException = class _STSServiceException extends ServiceException {
|
|
43277
43327
|
constructor(options) {
|
|
43278
43328
|
super(options);
|
|
43279
|
-
Object.setPrototypeOf(this,
|
|
43329
|
+
Object.setPrototypeOf(this, _STSServiceException.prototype);
|
|
43280
43330
|
}
|
|
43281
43331
|
};
|
|
43282
43332
|
}
|
|
43283
43333
|
});
|
|
43284
43334
|
|
|
43285
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
43286
|
-
var
|
|
43335
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/errors.js
|
|
43336
|
+
var ExpiredTokenException2, MalformedPolicyDocumentException, PackedPolicyTooLargeException, RegionDisabledException, IDPRejectedClaimException, InvalidIdentityTokenException, IDPCommunicationErrorException;
|
|
43287
43337
|
var init_errors3 = __esm({
|
|
43288
|
-
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
43289
|
-
|
|
43290
|
-
|
|
43291
|
-
name = "
|
|
43338
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/errors.js"() {
|
|
43339
|
+
init_STSServiceException();
|
|
43340
|
+
ExpiredTokenException2 = class _ExpiredTokenException extends STSServiceException {
|
|
43341
|
+
name = "ExpiredTokenException";
|
|
43292
43342
|
$fault = "client";
|
|
43293
|
-
error;
|
|
43294
43343
|
constructor(opts) {
|
|
43295
43344
|
super({
|
|
43296
|
-
name: "
|
|
43345
|
+
name: "ExpiredTokenException",
|
|
43297
43346
|
$fault: "client",
|
|
43298
43347
|
...opts
|
|
43299
43348
|
});
|
|
43300
|
-
Object.setPrototypeOf(this,
|
|
43301
|
-
this.error = opts.error;
|
|
43349
|
+
Object.setPrototypeOf(this, _ExpiredTokenException.prototype);
|
|
43302
43350
|
}
|
|
43303
43351
|
};
|
|
43304
|
-
|
|
43305
|
-
name = "
|
|
43306
|
-
$fault = "
|
|
43307
|
-
error;
|
|
43352
|
+
MalformedPolicyDocumentException = class _MalformedPolicyDocumentException extends STSServiceException {
|
|
43353
|
+
name = "MalformedPolicyDocumentException";
|
|
43354
|
+
$fault = "client";
|
|
43308
43355
|
constructor(opts) {
|
|
43309
43356
|
super({
|
|
43310
|
-
name: "
|
|
43311
|
-
$fault: "
|
|
43357
|
+
name: "MalformedPolicyDocumentException",
|
|
43358
|
+
$fault: "client",
|
|
43312
43359
|
...opts
|
|
43313
43360
|
});
|
|
43314
|
-
Object.setPrototypeOf(this,
|
|
43315
|
-
this.error = opts.error;
|
|
43361
|
+
Object.setPrototypeOf(this, _MalformedPolicyDocumentException.prototype);
|
|
43316
43362
|
}
|
|
43317
43363
|
};
|
|
43318
|
-
|
|
43319
|
-
name = "
|
|
43364
|
+
PackedPolicyTooLargeException = class _PackedPolicyTooLargeException extends STSServiceException {
|
|
43365
|
+
name = "PackedPolicyTooLargeException";
|
|
43320
43366
|
$fault = "client";
|
|
43321
|
-
error;
|
|
43322
43367
|
constructor(opts) {
|
|
43323
43368
|
super({
|
|
43324
|
-
name: "
|
|
43369
|
+
name: "PackedPolicyTooLargeException",
|
|
43325
43370
|
$fault: "client",
|
|
43326
43371
|
...opts
|
|
43327
43372
|
});
|
|
43328
|
-
Object.setPrototypeOf(this,
|
|
43329
|
-
this.error = opts.error;
|
|
43373
|
+
Object.setPrototypeOf(this, _PackedPolicyTooLargeException.prototype);
|
|
43330
43374
|
}
|
|
43331
43375
|
};
|
|
43332
|
-
|
|
43333
|
-
name = "
|
|
43376
|
+
RegionDisabledException = class _RegionDisabledException extends STSServiceException {
|
|
43377
|
+
name = "RegionDisabledException";
|
|
43334
43378
|
$fault = "client";
|
|
43335
|
-
error;
|
|
43336
43379
|
constructor(opts) {
|
|
43337
43380
|
super({
|
|
43338
|
-
name: "
|
|
43381
|
+
name: "RegionDisabledException",
|
|
43339
43382
|
$fault: "client",
|
|
43340
43383
|
...opts
|
|
43341
43384
|
});
|
|
43342
|
-
Object.setPrototypeOf(this,
|
|
43343
|
-
|
|
43385
|
+
Object.setPrototypeOf(this, _RegionDisabledException.prototype);
|
|
43386
|
+
}
|
|
43387
|
+
};
|
|
43388
|
+
IDPRejectedClaimException = class _IDPRejectedClaimException extends STSServiceException {
|
|
43389
|
+
name = "IDPRejectedClaimException";
|
|
43390
|
+
$fault = "client";
|
|
43391
|
+
constructor(opts) {
|
|
43392
|
+
super({
|
|
43393
|
+
name: "IDPRejectedClaimException",
|
|
43394
|
+
$fault: "client",
|
|
43395
|
+
...opts
|
|
43396
|
+
});
|
|
43397
|
+
Object.setPrototypeOf(this, _IDPRejectedClaimException.prototype);
|
|
43398
|
+
}
|
|
43399
|
+
};
|
|
43400
|
+
InvalidIdentityTokenException = class _InvalidIdentityTokenException extends STSServiceException {
|
|
43401
|
+
name = "InvalidIdentityTokenException";
|
|
43402
|
+
$fault = "client";
|
|
43403
|
+
constructor(opts) {
|
|
43404
|
+
super({
|
|
43405
|
+
name: "InvalidIdentityTokenException",
|
|
43406
|
+
$fault: "client",
|
|
43407
|
+
...opts
|
|
43408
|
+
});
|
|
43409
|
+
Object.setPrototypeOf(this, _InvalidIdentityTokenException.prototype);
|
|
43410
|
+
}
|
|
43411
|
+
};
|
|
43412
|
+
IDPCommunicationErrorException = class _IDPCommunicationErrorException extends STSServiceException {
|
|
43413
|
+
name = "IDPCommunicationErrorException";
|
|
43414
|
+
$fault = "client";
|
|
43415
|
+
$retryable = {};
|
|
43416
|
+
constructor(opts) {
|
|
43417
|
+
super({
|
|
43418
|
+
name: "IDPCommunicationErrorException",
|
|
43419
|
+
$fault: "client",
|
|
43420
|
+
...opts
|
|
43421
|
+
});
|
|
43422
|
+
Object.setPrototypeOf(this, _IDPCommunicationErrorException.prototype);
|
|
43344
43423
|
}
|
|
43345
43424
|
};
|
|
43346
43425
|
}
|
|
43347
43426
|
});
|
|
43348
43427
|
|
|
43349
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
43350
|
-
var
|
|
43428
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js
|
|
43429
|
+
var _A, _AKI, _AR, _ARI, _ARR, _ARRs, _ARU, _ARWWI, _ARWWIR, _ARWWIRs, _Au, _C, _CA, _DS, _E, _EI, _ETE2, _IDPCEE, _IDPRCE, _IITE, _K, _MPDE, _P, _PA, _PAr, _PC, _PCLT, _PCr, _PDT, _PI, _PPS, _PPTLE, _Pr, _RA, _RDE, _RSN, _SAK, _SFWIT, _SI, _SN, _ST, _T, _TC, _TTK, _Ta, _V, _WIT, _a, _aKST, _aQE, _c3, _cTT, _e3, _hE3, _m2, _pDLT, _s3, _tLT, n03, _s_registry3, STSServiceException$, n0_registry3, ExpiredTokenException$2, IDPCommunicationErrorException$, IDPRejectedClaimException$, InvalidIdentityTokenException$, MalformedPolicyDocumentException$, PackedPolicyTooLargeException$, RegionDisabledException$, errorTypeRegistries3, accessKeySecretType, clientTokenType, AssumedRoleUser$, AssumeRoleRequest$, AssumeRoleResponse$, AssumeRoleWithWebIdentityRequest$, AssumeRoleWithWebIdentityResponse$, Credentials$, PolicyDescriptorType$, ProvidedContext$, Tag$, policyDescriptorListType, ProvidedContextsListType, tagKeyListType, tagListType, AssumeRole$, AssumeRoleWithWebIdentity$;
|
|
43351
43430
|
var init_schemas_03 = __esm({
|
|
43352
|
-
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
43431
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js"() {
|
|
43353
43432
|
init_schema();
|
|
43354
43433
|
init_errors3();
|
|
43355
|
-
|
|
43356
|
-
|
|
43357
|
-
|
|
43358
|
-
|
|
43359
|
-
|
|
43360
|
-
|
|
43361
|
-
|
|
43362
|
-
|
|
43363
|
-
|
|
43364
|
-
|
|
43365
|
-
|
|
43366
|
-
|
|
43367
|
-
|
|
43368
|
-
|
|
43434
|
+
init_STSServiceException();
|
|
43435
|
+
_A = "Arn";
|
|
43436
|
+
_AKI = "AccessKeyId";
|
|
43437
|
+
_AR = "AssumeRole";
|
|
43438
|
+
_ARI = "AssumedRoleId";
|
|
43439
|
+
_ARR = "AssumeRoleRequest";
|
|
43440
|
+
_ARRs = "AssumeRoleResponse";
|
|
43441
|
+
_ARU = "AssumedRoleUser";
|
|
43442
|
+
_ARWWI = "AssumeRoleWithWebIdentity";
|
|
43443
|
+
_ARWWIR = "AssumeRoleWithWebIdentityRequest";
|
|
43444
|
+
_ARWWIRs = "AssumeRoleWithWebIdentityResponse";
|
|
43445
|
+
_Au = "Audience";
|
|
43446
|
+
_C = "Credentials";
|
|
43447
|
+
_CA = "ContextAssertion";
|
|
43448
|
+
_DS = "DurationSeconds";
|
|
43449
|
+
_E = "Expiration";
|
|
43450
|
+
_EI = "ExternalId";
|
|
43451
|
+
_ETE2 = "ExpiredTokenException";
|
|
43452
|
+
_IDPCEE = "IDPCommunicationErrorException";
|
|
43453
|
+
_IDPRCE = "IDPRejectedClaimException";
|
|
43454
|
+
_IITE = "InvalidIdentityTokenException";
|
|
43455
|
+
_K = "Key";
|
|
43456
|
+
_MPDE = "MalformedPolicyDocumentException";
|
|
43457
|
+
_P = "Policy";
|
|
43458
|
+
_PA = "PolicyArns";
|
|
43459
|
+
_PAr = "ProviderArn";
|
|
43460
|
+
_PC = "ProvidedContexts";
|
|
43461
|
+
_PCLT = "ProvidedContextsListType";
|
|
43462
|
+
_PCr = "ProvidedContext";
|
|
43463
|
+
_PDT = "PolicyDescriptorType";
|
|
43464
|
+
_PI = "ProviderId";
|
|
43465
|
+
_PPS = "PackedPolicySize";
|
|
43466
|
+
_PPTLE = "PackedPolicyTooLargeException";
|
|
43467
|
+
_Pr = "Provider";
|
|
43468
|
+
_RA = "RoleArn";
|
|
43469
|
+
_RDE = "RegionDisabledException";
|
|
43470
|
+
_RSN = "RoleSessionName";
|
|
43471
|
+
_SAK = "SecretAccessKey";
|
|
43472
|
+
_SFWIT = "SubjectFromWebIdentityToken";
|
|
43473
|
+
_SI = "SourceIdentity";
|
|
43474
|
+
_SN = "SerialNumber";
|
|
43475
|
+
_ST = "SessionToken";
|
|
43476
|
+
_T = "Tags";
|
|
43477
|
+
_TC = "TokenCode";
|
|
43478
|
+
_TTK = "TransitiveTagKeys";
|
|
43479
|
+
_Ta = "Tag";
|
|
43480
|
+
_V = "Value";
|
|
43481
|
+
_WIT = "WebIdentityToken";
|
|
43482
|
+
_a = "arn";
|
|
43483
|
+
_aKST = "accessKeySecretType";
|
|
43484
|
+
_aQE = "awsQueryError";
|
|
43369
43485
|
_c3 = "client";
|
|
43370
|
-
|
|
43371
|
-
_cV2 = "codeVerifier";
|
|
43372
|
-
_co2 = "code";
|
|
43486
|
+
_cTT = "clientTokenType";
|
|
43373
43487
|
_e3 = "error";
|
|
43374
|
-
_eI2 = "expiresIn";
|
|
43375
|
-
_gT2 = "grantType";
|
|
43376
|
-
_h3 = "http";
|
|
43377
43488
|
_hE3 = "httpError";
|
|
43378
|
-
_iT2 = "idToken";
|
|
43379
|
-
_jN = "jsonName";
|
|
43380
43489
|
_m2 = "message";
|
|
43381
|
-
|
|
43382
|
-
|
|
43383
|
-
|
|
43384
|
-
|
|
43385
|
-
_sT2 = "sessionToken";
|
|
43386
|
-
_se2 = "server";
|
|
43387
|
-
_tI = "tokenInput";
|
|
43388
|
-
_tO = "tokenOutput";
|
|
43389
|
-
_tT2 = "tokenType";
|
|
43390
|
-
n03 = "com.amazonaws.signin";
|
|
43490
|
+
_pDLT = "policyDescriptorListType";
|
|
43491
|
+
_s3 = "smithy.ts.sdk.synthetic.com.amazonaws.sts";
|
|
43492
|
+
_tLT = "tagListType";
|
|
43493
|
+
n03 = "com.amazonaws.sts";
|
|
43391
43494
|
_s_registry3 = TypeRegistry.for(_s3);
|
|
43392
|
-
|
|
43393
|
-
_s_registry3.registerError(
|
|
43495
|
+
STSServiceException$ = [-3, _s3, "STSServiceException", 0, [], []];
|
|
43496
|
+
_s_registry3.registerError(STSServiceException$, STSServiceException);
|
|
43394
43497
|
n0_registry3 = TypeRegistry.for(n03);
|
|
43395
|
-
|
|
43498
|
+
ExpiredTokenException$2 = [
|
|
43396
43499
|
-3,
|
|
43397
43500
|
n03,
|
|
43398
|
-
|
|
43399
|
-
{ [_e3]: _c3 },
|
|
43400
|
-
[
|
|
43401
|
-
[0
|
|
43402
|
-
2
|
|
43501
|
+
_ETE2,
|
|
43502
|
+
{ [_aQE]: [`ExpiredTokenException`, 400], [_e3]: _c3, [_hE3]: 400 },
|
|
43503
|
+
[_m2],
|
|
43504
|
+
[0]
|
|
43403
43505
|
];
|
|
43404
|
-
n0_registry3.registerError(
|
|
43405
|
-
|
|
43506
|
+
n0_registry3.registerError(ExpiredTokenException$2, ExpiredTokenException2);
|
|
43507
|
+
IDPCommunicationErrorException$ = [
|
|
43406
43508
|
-3,
|
|
43407
43509
|
n03,
|
|
43408
|
-
|
|
43409
|
-
{ [_e3]:
|
|
43410
|
-
[
|
|
43411
|
-
[0
|
|
43412
|
-
2
|
|
43510
|
+
_IDPCEE,
|
|
43511
|
+
{ [_aQE]: [`IDPCommunicationError`, 400], [_e3]: _c3, [_hE3]: 400 },
|
|
43512
|
+
[_m2],
|
|
43513
|
+
[0]
|
|
43413
43514
|
];
|
|
43414
|
-
n0_registry3.registerError(
|
|
43415
|
-
|
|
43515
|
+
n0_registry3.registerError(IDPCommunicationErrorException$, IDPCommunicationErrorException);
|
|
43516
|
+
IDPRejectedClaimException$ = [
|
|
43416
43517
|
-3,
|
|
43417
43518
|
n03,
|
|
43418
|
-
|
|
43419
|
-
{ [_e3]: _c3, [_hE3]:
|
|
43420
|
-
[
|
|
43421
|
-
[0
|
|
43422
|
-
2
|
|
43519
|
+
_IDPRCE,
|
|
43520
|
+
{ [_aQE]: [`IDPRejectedClaim`, 403], [_e3]: _c3, [_hE3]: 403 },
|
|
43521
|
+
[_m2],
|
|
43522
|
+
[0]
|
|
43423
43523
|
];
|
|
43424
|
-
n0_registry3.registerError(
|
|
43425
|
-
|
|
43524
|
+
n0_registry3.registerError(IDPRejectedClaimException$, IDPRejectedClaimException);
|
|
43525
|
+
InvalidIdentityTokenException$ = [
|
|
43426
43526
|
-3,
|
|
43427
43527
|
n03,
|
|
43428
|
-
|
|
43429
|
-
{ [_e3]: _c3, [_hE3]: 400 },
|
|
43430
|
-
[
|
|
43431
|
-
[0
|
|
43432
|
-
|
|
43528
|
+
_IITE,
|
|
43529
|
+
{ [_aQE]: [`InvalidIdentityToken`, 400], [_e3]: _c3, [_hE3]: 400 },
|
|
43530
|
+
[_m2],
|
|
43531
|
+
[0]
|
|
43532
|
+
];
|
|
43533
|
+
n0_registry3.registerError(InvalidIdentityTokenException$, InvalidIdentityTokenException);
|
|
43534
|
+
MalformedPolicyDocumentException$ = [
|
|
43535
|
+
-3,
|
|
43536
|
+
n03,
|
|
43537
|
+
_MPDE,
|
|
43538
|
+
{ [_aQE]: [`MalformedPolicyDocument`, 400], [_e3]: _c3, [_hE3]: 400 },
|
|
43539
|
+
[_m2],
|
|
43540
|
+
[0]
|
|
43541
|
+
];
|
|
43542
|
+
n0_registry3.registerError(MalformedPolicyDocumentException$, MalformedPolicyDocumentException);
|
|
43543
|
+
PackedPolicyTooLargeException$ = [
|
|
43544
|
+
-3,
|
|
43545
|
+
n03,
|
|
43546
|
+
_PPTLE,
|
|
43547
|
+
{ [_aQE]: [`PackedPolicyTooLarge`, 400], [_e3]: _c3, [_hE3]: 400 },
|
|
43548
|
+
[_m2],
|
|
43549
|
+
[0]
|
|
43550
|
+
];
|
|
43551
|
+
n0_registry3.registerError(PackedPolicyTooLargeException$, PackedPolicyTooLargeException);
|
|
43552
|
+
RegionDisabledException$ = [
|
|
43553
|
+
-3,
|
|
43554
|
+
n03,
|
|
43555
|
+
_RDE,
|
|
43556
|
+
{ [_aQE]: [`RegionDisabledException`, 403], [_e3]: _c3, [_hE3]: 403 },
|
|
43557
|
+
[_m2],
|
|
43558
|
+
[0]
|
|
43433
43559
|
];
|
|
43434
|
-
n0_registry3.registerError(
|
|
43560
|
+
n0_registry3.registerError(RegionDisabledException$, RegionDisabledException);
|
|
43435
43561
|
errorTypeRegistries3 = [
|
|
43436
43562
|
_s_registry3,
|
|
43437
43563
|
n0_registry3
|
|
43438
43564
|
];
|
|
43439
|
-
|
|
43440
|
-
|
|
43565
|
+
accessKeySecretType = [0, n03, _aKST, 8, 0];
|
|
43566
|
+
clientTokenType = [0, n03, _cTT, 8, 0];
|
|
43567
|
+
AssumedRoleUser$ = [
|
|
43441
43568
|
3,
|
|
43442
43569
|
n03,
|
|
43443
|
-
|
|
43444
|
-
|
|
43445
|
-
[
|
|
43446
|
-
[
|
|
43447
|
-
|
|
43570
|
+
_ARU,
|
|
43571
|
+
0,
|
|
43572
|
+
[_ARI, _A],
|
|
43573
|
+
[0, 0],
|
|
43574
|
+
2
|
|
43448
43575
|
];
|
|
43449
|
-
|
|
43576
|
+
AssumeRoleRequest$ = [
|
|
43450
43577
|
3,
|
|
43451
43578
|
n03,
|
|
43452
|
-
|
|
43579
|
+
_ARR,
|
|
43453
43580
|
0,
|
|
43454
|
-
[
|
|
43455
|
-
[
|
|
43456
|
-
|
|
43581
|
+
[_RA, _RSN, _PA, _P, _DS, _T, _TTK, _EI, _SN, _TC, _SI, _PC],
|
|
43582
|
+
[0, 0, () => policyDescriptorListType, 0, 1, () => tagListType, 64 | 0, 0, 0, 0, 0, () => ProvidedContextsListType],
|
|
43583
|
+
2
|
|
43457
43584
|
];
|
|
43458
|
-
|
|
43585
|
+
AssumeRoleResponse$ = [
|
|
43459
43586
|
3,
|
|
43460
43587
|
n03,
|
|
43461
|
-
|
|
43588
|
+
_ARRs,
|
|
43462
43589
|
0,
|
|
43463
|
-
[
|
|
43464
|
-
[[
|
|
43465
|
-
2
|
|
43590
|
+
[_C, _ARU, _PPS, _SI],
|
|
43591
|
+
[[() => Credentials$, 0], () => AssumedRoleUser$, 1, 0]
|
|
43466
43592
|
];
|
|
43467
|
-
|
|
43593
|
+
AssumeRoleWithWebIdentityRequest$ = [
|
|
43468
43594
|
3,
|
|
43469
43595
|
n03,
|
|
43470
|
-
|
|
43596
|
+
_ARWWIR,
|
|
43471
43597
|
0,
|
|
43472
|
-
[
|
|
43473
|
-
[[() =>
|
|
43474
|
-
|
|
43598
|
+
[_RA, _RSN, _WIT, _PI, _PA, _P, _DS],
|
|
43599
|
+
[0, 0, [() => clientTokenType, 0], 0, () => policyDescriptorListType, 0, 1],
|
|
43600
|
+
3
|
|
43475
43601
|
];
|
|
43476
|
-
|
|
43602
|
+
AssumeRoleWithWebIdentityResponse$ = [
|
|
43477
43603
|
3,
|
|
43478
43604
|
n03,
|
|
43479
|
-
|
|
43605
|
+
_ARWWIRs,
|
|
43480
43606
|
0,
|
|
43481
|
-
[
|
|
43482
|
-
[[() =>
|
|
43607
|
+
[_C, _SFWIT, _ARU, _PPS, _Pr, _Au, _SI],
|
|
43608
|
+
[[() => Credentials$, 0], 0, () => AssumedRoleUser$, 1, 0, 0, 0]
|
|
43609
|
+
];
|
|
43610
|
+
Credentials$ = [
|
|
43611
|
+
3,
|
|
43612
|
+
n03,
|
|
43613
|
+
_C,
|
|
43614
|
+
0,
|
|
43615
|
+
[_AKI, _SAK, _ST, _E],
|
|
43616
|
+
[0, [() => accessKeySecretType, 0], 0, 4],
|
|
43483
43617
|
4
|
|
43484
43618
|
];
|
|
43485
|
-
|
|
43619
|
+
PolicyDescriptorType$ = [
|
|
43620
|
+
3,
|
|
43621
|
+
n03,
|
|
43622
|
+
_PDT,
|
|
43623
|
+
0,
|
|
43624
|
+
[_a],
|
|
43625
|
+
[0]
|
|
43626
|
+
];
|
|
43627
|
+
ProvidedContext$ = [
|
|
43628
|
+
3,
|
|
43629
|
+
n03,
|
|
43630
|
+
_PCr,
|
|
43631
|
+
0,
|
|
43632
|
+
[_PAr, _CA],
|
|
43633
|
+
[0, 0]
|
|
43634
|
+
];
|
|
43635
|
+
Tag$ = [
|
|
43636
|
+
3,
|
|
43637
|
+
n03,
|
|
43638
|
+
_Ta,
|
|
43639
|
+
0,
|
|
43640
|
+
[_K, _V],
|
|
43641
|
+
[0, 0],
|
|
43642
|
+
2
|
|
43643
|
+
];
|
|
43644
|
+
policyDescriptorListType = [
|
|
43645
|
+
1,
|
|
43646
|
+
n03,
|
|
43647
|
+
_pDLT,
|
|
43648
|
+
0,
|
|
43649
|
+
() => PolicyDescriptorType$
|
|
43650
|
+
];
|
|
43651
|
+
ProvidedContextsListType = [
|
|
43652
|
+
1,
|
|
43653
|
+
n03,
|
|
43654
|
+
_PCLT,
|
|
43655
|
+
0,
|
|
43656
|
+
() => ProvidedContext$
|
|
43657
|
+
];
|
|
43658
|
+
tagKeyListType = 64 | 0;
|
|
43659
|
+
tagListType = [
|
|
43660
|
+
1,
|
|
43661
|
+
n03,
|
|
43662
|
+
_tLT,
|
|
43663
|
+
0,
|
|
43664
|
+
() => Tag$
|
|
43665
|
+
];
|
|
43666
|
+
AssumeRole$ = [
|
|
43486
43667
|
9,
|
|
43487
43668
|
n03,
|
|
43488
|
-
|
|
43489
|
-
|
|
43490
|
-
() =>
|
|
43491
|
-
() =>
|
|
43669
|
+
_AR,
|
|
43670
|
+
0,
|
|
43671
|
+
() => AssumeRoleRequest$,
|
|
43672
|
+
() => AssumeRoleResponse$
|
|
43673
|
+
];
|
|
43674
|
+
AssumeRoleWithWebIdentity$ = [
|
|
43675
|
+
9,
|
|
43676
|
+
n03,
|
|
43677
|
+
_ARWWI,
|
|
43678
|
+
0,
|
|
43679
|
+
() => AssumeRoleWithWebIdentityRequest$,
|
|
43680
|
+
() => AssumeRoleWithWebIdentityResponse$
|
|
43492
43681
|
];
|
|
43493
43682
|
}
|
|
43494
43683
|
});
|
|
43495
43684
|
|
|
43496
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
43497
|
-
var getRuntimeConfig5;
|
|
43685
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js
|
|
43686
|
+
var import_signature_v4_multi_region2, getRuntimeConfig5;
|
|
43498
43687
|
var init_runtimeConfig_shared3 = __esm({
|
|
43499
|
-
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
43688
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js"() {
|
|
43500
43689
|
init_httpAuthSchemes2();
|
|
43501
43690
|
init_protocols2();
|
|
43691
|
+
import_signature_v4_multi_region2 = __toESM(require_dist_cjs10());
|
|
43502
43692
|
init_dist_es();
|
|
43503
43693
|
init_checksum2();
|
|
43504
43694
|
init_client2();
|
|
@@ -43509,19 +43699,24 @@ var init_runtimeConfig_shared3 = __esm({
|
|
|
43509
43699
|
init_schemas_03();
|
|
43510
43700
|
getRuntimeConfig5 = (config) => {
|
|
43511
43701
|
return {
|
|
43512
|
-
apiVersion: "
|
|
43702
|
+
apiVersion: "2011-06-15",
|
|
43513
43703
|
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
43514
43704
|
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
43515
43705
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
43516
43706
|
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver3,
|
|
43517
43707
|
extensions: config?.extensions ?? [],
|
|
43518
|
-
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ??
|
|
43708
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSTSHttpAuthSchemeProvider,
|
|
43519
43709
|
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
43520
43710
|
{
|
|
43521
43711
|
schemeId: "aws.auth#sigv4",
|
|
43522
43712
|
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
43523
43713
|
signer: new AwsSdkSigV4Signer()
|
|
43524
43714
|
},
|
|
43715
|
+
{
|
|
43716
|
+
schemeId: "aws.auth#sigv4a",
|
|
43717
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4a"),
|
|
43718
|
+
signer: new AwsSdkSigV4ASigner()
|
|
43719
|
+
},
|
|
43525
43720
|
{
|
|
43526
43721
|
schemeId: "smithy.api#noAuth",
|
|
43527
43722
|
identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
|
|
@@ -43529,15 +43724,17 @@ var init_runtimeConfig_shared3 = __esm({
|
|
|
43529
43724
|
}
|
|
43530
43725
|
],
|
|
43531
43726
|
logger: config?.logger ?? new NoOpLogger(),
|
|
43532
|
-
protocol: config?.protocol ??
|
|
43727
|
+
protocol: config?.protocol ?? AwsQueryProtocol,
|
|
43533
43728
|
protocolSettings: config?.protocolSettings ?? {
|
|
43534
|
-
defaultNamespace: "com.amazonaws.
|
|
43729
|
+
defaultNamespace: "com.amazonaws.sts",
|
|
43535
43730
|
errorTypeRegistries: errorTypeRegistries3,
|
|
43536
|
-
|
|
43537
|
-
|
|
43731
|
+
xmlNamespace: "https://sts.amazonaws.com/doc/2011-06-15/",
|
|
43732
|
+
version: "2011-06-15",
|
|
43733
|
+
serviceTarget: "AWSSecurityTokenServiceV20110615"
|
|
43538
43734
|
},
|
|
43539
|
-
serviceId: config?.serviceId ?? "
|
|
43735
|
+
serviceId: config?.serviceId ?? "STS",
|
|
43540
43736
|
sha256: config?.sha256 ?? Sha256Node,
|
|
43737
|
+
signerConstructor: config?.signerConstructor ?? import_signature_v4_multi_region2.SignatureV4MultiRegion,
|
|
43541
43738
|
urlParser: config?.urlParser ?? parseUrl,
|
|
43542
43739
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
43543
43740
|
utf8Encoder: config?.utf8Encoder ?? toUtf8
|
|
@@ -43546,13 +43743,14 @@ var init_runtimeConfig_shared3 = __esm({
|
|
|
43546
43743
|
}
|
|
43547
43744
|
});
|
|
43548
43745
|
|
|
43549
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
43746
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js
|
|
43550
43747
|
var import_node_http_handler3, getRuntimeConfig6;
|
|
43551
43748
|
var init_runtimeConfig3 = __esm({
|
|
43552
|
-
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
43749
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js"() {
|
|
43553
43750
|
init_package();
|
|
43554
43751
|
init_client3();
|
|
43555
43752
|
init_httpAuthSchemes2();
|
|
43753
|
+
init_dist_es();
|
|
43556
43754
|
init_client2();
|
|
43557
43755
|
init_config2();
|
|
43558
43756
|
init_retry2();
|
|
@@ -43577,6 +43775,23 @@ var init_runtimeConfig3 = __esm({
|
|
|
43577
43775
|
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
43578
43776
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
43579
43777
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: package_default.version }),
|
|
43778
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
43779
|
+
{
|
|
43780
|
+
schemeId: "aws.auth#sigv4",
|
|
43781
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4") || (async (idProps) => await config.credentialDefaultProvider(idProps?.__config || {})()),
|
|
43782
|
+
signer: new AwsSdkSigV4Signer()
|
|
43783
|
+
},
|
|
43784
|
+
{
|
|
43785
|
+
schemeId: "aws.auth#sigv4a",
|
|
43786
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4a"),
|
|
43787
|
+
signer: new AwsSdkSigV4ASigner()
|
|
43788
|
+
},
|
|
43789
|
+
{
|
|
43790
|
+
schemeId: "smithy.api#noAuth",
|
|
43791
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
|
|
43792
|
+
signer: new NoAuthSigner()
|
|
43793
|
+
}
|
|
43794
|
+
],
|
|
43580
43795
|
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
43581
43796
|
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
43582
43797
|
requestHandler: import_node_http_handler3.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
@@ -43584,6 +43799,7 @@ var init_runtimeConfig3 = __esm({
|
|
|
43584
43799
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
43585
43800
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE
|
|
43586
43801
|
}, config),
|
|
43802
|
+
sigv4aSigningRegionSet: config?.sigv4aSigningRegionSet ?? loadConfig(NODE_SIGV4A_CONFIG_OPTIONS, loaderConfig),
|
|
43587
43803
|
streamCollector: config?.streamCollector ?? import_node_http_handler3.streamCollector,
|
|
43588
43804
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
43589
43805
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -43593,10 +43809,10 @@ var init_runtimeConfig3 = __esm({
|
|
|
43593
43809
|
}
|
|
43594
43810
|
});
|
|
43595
43811
|
|
|
43596
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
43812
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthExtensionConfiguration.js
|
|
43597
43813
|
var getHttpAuthExtensionConfiguration3, resolveHttpAuthRuntimeConfig3;
|
|
43598
43814
|
var init_httpAuthExtensionConfiguration3 = __esm({
|
|
43599
|
-
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
43815
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthExtensionConfiguration.js"() {
|
|
43600
43816
|
getHttpAuthExtensionConfiguration3 = (runtimeConfig) => {
|
|
43601
43817
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
43602
43818
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -43637,10 +43853,10 @@ var init_httpAuthExtensionConfiguration3 = __esm({
|
|
|
43637
43853
|
}
|
|
43638
43854
|
});
|
|
43639
43855
|
|
|
43640
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
43856
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeExtensions.js
|
|
43641
43857
|
var resolveRuntimeExtensions3;
|
|
43642
43858
|
var init_runtimeExtensions3 = __esm({
|
|
43643
|
-
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
43859
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeExtensions.js"() {
|
|
43644
43860
|
init_client3();
|
|
43645
43861
|
init_client2();
|
|
43646
43862
|
init_protocols();
|
|
@@ -43653,10 +43869,10 @@ var init_runtimeExtensions3 = __esm({
|
|
|
43653
43869
|
}
|
|
43654
43870
|
});
|
|
43655
43871
|
|
|
43656
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
43657
|
-
var
|
|
43658
|
-
var
|
|
43659
|
-
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
43872
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js
|
|
43873
|
+
var STSClient;
|
|
43874
|
+
var init_STSClient = __esm({
|
|
43875
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js"() {
|
|
43660
43876
|
init_client3();
|
|
43661
43877
|
init_dist_es();
|
|
43662
43878
|
init_client2();
|
|
@@ -43669,7 +43885,7 @@ var init_SigninClient = __esm({
|
|
|
43669
43885
|
init_EndpointParameters3();
|
|
43670
43886
|
init_runtimeConfig3();
|
|
43671
43887
|
init_runtimeExtensions3();
|
|
43672
|
-
|
|
43888
|
+
STSClient = class extends Client {
|
|
43673
43889
|
config;
|
|
43674
43890
|
constructor(...[configuration]) {
|
|
43675
43891
|
const _config_0 = getRuntimeConfig6(configuration || {});
|
|
@@ -43692,9 +43908,10 @@ var init_SigninClient = __esm({
|
|
|
43692
43908
|
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
43693
43909
|
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
43694
43910
|
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
43695
|
-
httpAuthSchemeParametersProvider:
|
|
43911
|
+
httpAuthSchemeParametersProvider: defaultSTSHttpAuthSchemeParametersProvider,
|
|
43696
43912
|
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
|
|
43697
|
-
"aws.auth#sigv4": config.credentials
|
|
43913
|
+
"aws.auth#sigv4": config.credentials,
|
|
43914
|
+
"aws.auth#sigv4a": config.credentials
|
|
43698
43915
|
})
|
|
43699
43916
|
}));
|
|
43700
43917
|
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
@@ -43706,594 +43923,408 @@ var init_SigninClient = __esm({
|
|
|
43706
43923
|
}
|
|
43707
43924
|
});
|
|
43708
43925
|
|
|
43709
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
43926
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commandBuilder.js
|
|
43710
43927
|
var command3, _ep03, _mw03;
|
|
43711
43928
|
var init_commandBuilder3 = __esm({
|
|
43712
|
-
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
43929
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commandBuilder.js"() {
|
|
43713
43930
|
init_client2();
|
|
43714
43931
|
init_endpoints();
|
|
43715
43932
|
init_EndpointParameters3();
|
|
43716
|
-
command3 = makeBuilder(commonParams3, "
|
|
43717
|
-
_ep03 = {
|
|
43718
|
-
IsControlPlane: { type: "staticContextParams", value: false }
|
|
43719
|
-
};
|
|
43933
|
+
command3 = makeBuilder(commonParams3, "AWSSecurityTokenServiceV20110615", "STSClient", getEndpointPlugin);
|
|
43934
|
+
_ep03 = {};
|
|
43720
43935
|
_mw03 = (Command2, cs, config, o3) => [];
|
|
43721
43936
|
}
|
|
43722
43937
|
});
|
|
43723
43938
|
|
|
43724
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
43725
|
-
var
|
|
43726
|
-
var
|
|
43727
|
-
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
43939
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js
|
|
43940
|
+
var AssumeRoleCommand;
|
|
43941
|
+
var init_AssumeRoleCommand = __esm({
|
|
43942
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js"() {
|
|
43728
43943
|
init_commandBuilder3();
|
|
43729
43944
|
init_schemas_03();
|
|
43730
|
-
|
|
43945
|
+
AssumeRoleCommand = class extends command3(_ep03, _mw03, "AssumeRole", AssumeRole$) {
|
|
43731
43946
|
};
|
|
43732
43947
|
}
|
|
43733
43948
|
});
|
|
43734
43949
|
|
|
43735
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
43736
|
-
var
|
|
43737
|
-
var
|
|
43738
|
-
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
43950
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js
|
|
43951
|
+
var AssumeRoleWithWebIdentityCommand;
|
|
43952
|
+
var init_AssumeRoleWithWebIdentityCommand = __esm({
|
|
43953
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js"() {
|
|
43954
|
+
init_commandBuilder3();
|
|
43955
|
+
init_schemas_03();
|
|
43956
|
+
AssumeRoleWithWebIdentityCommand = class extends command3(_ep03, _mw03, "AssumeRoleWithWebIdentity", AssumeRoleWithWebIdentity$) {
|
|
43957
|
+
};
|
|
43958
|
+
}
|
|
43959
|
+
});
|
|
43960
|
+
|
|
43961
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js
|
|
43962
|
+
var commands3, STS;
|
|
43963
|
+
var init_STS = __esm({
|
|
43964
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js"() {
|
|
43739
43965
|
init_client2();
|
|
43740
|
-
|
|
43741
|
-
|
|
43966
|
+
init_AssumeRoleCommand();
|
|
43967
|
+
init_AssumeRoleWithWebIdentityCommand();
|
|
43968
|
+
init_STSClient();
|
|
43742
43969
|
commands3 = {
|
|
43743
|
-
|
|
43970
|
+
AssumeRoleCommand,
|
|
43971
|
+
AssumeRoleWithWebIdentityCommand
|
|
43744
43972
|
};
|
|
43745
|
-
|
|
43973
|
+
STS = class extends STSClient {
|
|
43746
43974
|
};
|
|
43747
|
-
createAggregatedClient(commands3,
|
|
43975
|
+
createAggregatedClient(commands3, STS);
|
|
43748
43976
|
}
|
|
43749
43977
|
});
|
|
43750
43978
|
|
|
43751
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
43979
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/index.js
|
|
43752
43980
|
var init_commands3 = __esm({
|
|
43753
|
-
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
43754
|
-
|
|
43981
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/index.js"() {
|
|
43982
|
+
init_AssumeRoleCommand();
|
|
43983
|
+
init_AssumeRoleWithWebIdentityCommand();
|
|
43755
43984
|
}
|
|
43756
43985
|
});
|
|
43757
43986
|
|
|
43758
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
43759
|
-
var
|
|
43760
|
-
|
|
43761
|
-
|
|
43762
|
-
|
|
43763
|
-
|
|
43764
|
-
|
|
43765
|
-
|
|
43766
|
-
|
|
43767
|
-
|
|
43768
|
-
|
|
43769
|
-
|
|
43770
|
-
|
|
43771
|
-
|
|
43987
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/models_0.js
|
|
43988
|
+
var init_models_03 = __esm({
|
|
43989
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/models_0.js"() {
|
|
43990
|
+
}
|
|
43991
|
+
});
|
|
43992
|
+
|
|
43993
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js
|
|
43994
|
+
var getAccountIdFromAssumedRoleUser, resolveRegion, getDefaultRoleAssumer, getDefaultRoleAssumerWithWebIdentity, isH2;
|
|
43995
|
+
var init_defaultStsRoleAssumers = __esm({
|
|
43996
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js"() {
|
|
43997
|
+
init_client3();
|
|
43998
|
+
init_AssumeRoleCommand();
|
|
43999
|
+
init_AssumeRoleWithWebIdentityCommand();
|
|
44000
|
+
getAccountIdFromAssumedRoleUser = (assumedRoleUser) => {
|
|
44001
|
+
if (typeof assumedRoleUser?.Arn === "string") {
|
|
44002
|
+
const arnComponents = assumedRoleUser.Arn.split(":");
|
|
44003
|
+
if (arnComponents.length > 4 && arnComponents[4] !== "") {
|
|
44004
|
+
return arnComponents[4];
|
|
44005
|
+
}
|
|
44006
|
+
}
|
|
44007
|
+
return void 0;
|
|
44008
|
+
};
|
|
44009
|
+
resolveRegion = async (_region, _parentRegion, credentialProviderLogger, loaderConfig = {}) => {
|
|
44010
|
+
const region = typeof _region === "function" ? await _region() : _region;
|
|
44011
|
+
const parentRegion = typeof _parentRegion === "function" ? await _parentRegion() : _parentRegion;
|
|
44012
|
+
let stsDefaultRegion = "";
|
|
44013
|
+
const resolvedRegion = region ?? parentRegion ?? (stsDefaultRegion = await stsRegionDefaultResolver(loaderConfig)());
|
|
44014
|
+
credentialProviderLogger?.debug?.("@aws-sdk/client-sts::resolveRegion", "accepting first of:", `${region} (credential provider clientConfig)`, `${parentRegion} (contextual client)`, `${stsDefaultRegion} (STS default: AWS_REGION, profile region, or us-east-1)`);
|
|
44015
|
+
return resolvedRegion;
|
|
44016
|
+
};
|
|
44017
|
+
getDefaultRoleAssumer = (stsOptions, STSClient2) => {
|
|
44018
|
+
let stsClient;
|
|
44019
|
+
let closureSourceCreds;
|
|
44020
|
+
return async (sourceCreds, params) => {
|
|
44021
|
+
closureSourceCreds = sourceCreds;
|
|
44022
|
+
if (!stsClient) {
|
|
44023
|
+
const { logger: logger2 = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, userAgentAppId = stsOptions?.parentClientConfig?.userAgentAppId } = stsOptions;
|
|
44024
|
+
const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, {
|
|
44025
|
+
logger: logger2,
|
|
44026
|
+
profile
|
|
44027
|
+
});
|
|
44028
|
+
const isCompatibleRequestHandler = !isH2(requestHandler);
|
|
44029
|
+
stsClient = new STSClient2({
|
|
44030
|
+
...stsOptions,
|
|
44031
|
+
userAgentAppId,
|
|
44032
|
+
profile,
|
|
44033
|
+
credentialDefaultProvider: () => async () => closureSourceCreds,
|
|
44034
|
+
region: resolvedRegion,
|
|
44035
|
+
requestHandler: isCompatibleRequestHandler ? requestHandler : void 0,
|
|
44036
|
+
logger: logger2
|
|
44037
|
+
});
|
|
44038
|
+
}
|
|
44039
|
+
const { Credentials, AssumedRoleUser } = await stsClient.send(new AssumeRoleCommand(params));
|
|
44040
|
+
if (!Credentials || !Credentials.AccessKeyId || !Credentials.SecretAccessKey) {
|
|
44041
|
+
throw new Error(`Invalid response from STS.assumeRole call with role ${params.RoleArn}`);
|
|
44042
|
+
}
|
|
44043
|
+
const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser);
|
|
44044
|
+
const credentials = {
|
|
44045
|
+
accessKeyId: Credentials.AccessKeyId,
|
|
44046
|
+
secretAccessKey: Credentials.SecretAccessKey,
|
|
44047
|
+
sessionToken: Credentials.SessionToken,
|
|
44048
|
+
expiration: Credentials.Expiration,
|
|
44049
|
+
...Credentials.CredentialScope && { credentialScope: Credentials.CredentialScope },
|
|
44050
|
+
...accountId && { accountId }
|
|
44051
|
+
};
|
|
44052
|
+
setCredentialFeature(credentials, "CREDENTIALS_STS_ASSUME_ROLE", "i");
|
|
44053
|
+
return credentials;
|
|
44054
|
+
};
|
|
44055
|
+
};
|
|
44056
|
+
getDefaultRoleAssumerWithWebIdentity = (stsOptions, STSClient2) => {
|
|
44057
|
+
let stsClient;
|
|
44058
|
+
return async (params) => {
|
|
44059
|
+
if (!stsClient) {
|
|
44060
|
+
const { logger: logger2 = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, userAgentAppId = stsOptions?.parentClientConfig?.userAgentAppId } = stsOptions;
|
|
44061
|
+
const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, {
|
|
44062
|
+
logger: logger2,
|
|
44063
|
+
profile
|
|
44064
|
+
});
|
|
44065
|
+
const isCompatibleRequestHandler = !isH2(requestHandler);
|
|
44066
|
+
stsClient = new STSClient2({
|
|
44067
|
+
...stsOptions,
|
|
44068
|
+
userAgentAppId,
|
|
44069
|
+
profile,
|
|
44070
|
+
region: resolvedRegion,
|
|
44071
|
+
requestHandler: isCompatibleRequestHandler ? requestHandler : void 0,
|
|
44072
|
+
logger: logger2
|
|
44073
|
+
});
|
|
44074
|
+
}
|
|
44075
|
+
const { Credentials, AssumedRoleUser } = await stsClient.send(new AssumeRoleWithWebIdentityCommand(params));
|
|
44076
|
+
if (!Credentials || !Credentials.AccessKeyId || !Credentials.SecretAccessKey) {
|
|
44077
|
+
throw new Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${params.RoleArn}`);
|
|
44078
|
+
}
|
|
44079
|
+
const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser);
|
|
44080
|
+
const credentials = {
|
|
44081
|
+
accessKeyId: Credentials.AccessKeyId,
|
|
44082
|
+
secretAccessKey: Credentials.SecretAccessKey,
|
|
44083
|
+
sessionToken: Credentials.SessionToken,
|
|
44084
|
+
expiration: Credentials.Expiration,
|
|
44085
|
+
...Credentials.CredentialScope && { credentialScope: Credentials.CredentialScope },
|
|
44086
|
+
...accountId && { accountId }
|
|
44087
|
+
};
|
|
44088
|
+
if (accountId) {
|
|
44089
|
+
setCredentialFeature(credentials, "RESOLVED_ACCOUNT_ID", "T");
|
|
44090
|
+
}
|
|
44091
|
+
setCredentialFeature(credentials, "CREDENTIALS_STS_ASSUME_ROLE_WEB_ID", "k");
|
|
44092
|
+
return credentials;
|
|
44093
|
+
};
|
|
44094
|
+
};
|
|
44095
|
+
isH2 = (requestHandler) => {
|
|
44096
|
+
return requestHandler?.metadata?.handlerProtocol === "h2";
|
|
43772
44097
|
};
|
|
43773
44098
|
}
|
|
43774
44099
|
});
|
|
43775
44100
|
|
|
43776
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
43777
|
-
var
|
|
43778
|
-
|
|
44101
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultRoleAssumers.js
|
|
44102
|
+
var getCustomizableStsClientCtor, getDefaultRoleAssumer2, getDefaultRoleAssumerWithWebIdentity2, decorateDefaultCredentialProvider;
|
|
44103
|
+
var init_defaultRoleAssumers = __esm({
|
|
44104
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultRoleAssumers.js"() {
|
|
44105
|
+
init_defaultStsRoleAssumers();
|
|
44106
|
+
init_STSClient();
|
|
44107
|
+
getCustomizableStsClientCtor = (baseCtor, customizations) => {
|
|
44108
|
+
if (!customizations)
|
|
44109
|
+
return baseCtor;
|
|
44110
|
+
else
|
|
44111
|
+
return class CustomizableSTSClient extends baseCtor {
|
|
44112
|
+
constructor(config) {
|
|
44113
|
+
super(config);
|
|
44114
|
+
for (const customization of customizations) {
|
|
44115
|
+
this.middlewareStack.use(customization);
|
|
44116
|
+
}
|
|
44117
|
+
}
|
|
44118
|
+
};
|
|
44119
|
+
};
|
|
44120
|
+
getDefaultRoleAssumer2 = (stsOptions = {}, stsPlugins) => getDefaultRoleAssumer(stsOptions, getCustomizableStsClientCtor(STSClient, stsPlugins));
|
|
44121
|
+
getDefaultRoleAssumerWithWebIdentity2 = (stsOptions = {}, stsPlugins) => getDefaultRoleAssumerWithWebIdentity(stsOptions, getCustomizableStsClientCtor(STSClient, stsPlugins));
|
|
44122
|
+
decorateDefaultCredentialProvider = (provider) => (input) => provider({
|
|
44123
|
+
roleAssumer: getDefaultRoleAssumer2(input),
|
|
44124
|
+
roleAssumerWithWebIdentity: getDefaultRoleAssumerWithWebIdentity2(input),
|
|
44125
|
+
...input
|
|
44126
|
+
});
|
|
43779
44127
|
}
|
|
43780
44128
|
});
|
|
43781
44129
|
|
|
43782
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
43783
|
-
var
|
|
43784
|
-
__export(
|
|
44130
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/index.js
|
|
44131
|
+
var sts_exports = {};
|
|
44132
|
+
__export(sts_exports, {
|
|
43785
44133
|
$Command: () => Command,
|
|
43786
|
-
|
|
43787
|
-
|
|
43788
|
-
|
|
43789
|
-
|
|
43790
|
-
|
|
43791
|
-
|
|
43792
|
-
|
|
43793
|
-
|
|
43794
|
-
|
|
43795
|
-
|
|
43796
|
-
|
|
43797
|
-
|
|
43798
|
-
|
|
43799
|
-
|
|
43800
|
-
|
|
43801
|
-
|
|
43802
|
-
|
|
43803
|
-
|
|
43804
|
-
|
|
43805
|
-
|
|
44134
|
+
AssumeRole$: () => AssumeRole$,
|
|
44135
|
+
AssumeRoleCommand: () => AssumeRoleCommand,
|
|
44136
|
+
AssumeRoleRequest$: () => AssumeRoleRequest$,
|
|
44137
|
+
AssumeRoleResponse$: () => AssumeRoleResponse$,
|
|
44138
|
+
AssumeRoleWithWebIdentity$: () => AssumeRoleWithWebIdentity$,
|
|
44139
|
+
AssumeRoleWithWebIdentityCommand: () => AssumeRoleWithWebIdentityCommand,
|
|
44140
|
+
AssumeRoleWithWebIdentityRequest$: () => AssumeRoleWithWebIdentityRequest$,
|
|
44141
|
+
AssumeRoleWithWebIdentityResponse$: () => AssumeRoleWithWebIdentityResponse$,
|
|
44142
|
+
AssumedRoleUser$: () => AssumedRoleUser$,
|
|
44143
|
+
Credentials$: () => Credentials$,
|
|
44144
|
+
ExpiredTokenException: () => ExpiredTokenException2,
|
|
44145
|
+
ExpiredTokenException$: () => ExpiredTokenException$2,
|
|
44146
|
+
IDPCommunicationErrorException: () => IDPCommunicationErrorException,
|
|
44147
|
+
IDPCommunicationErrorException$: () => IDPCommunicationErrorException$,
|
|
44148
|
+
IDPRejectedClaimException: () => IDPRejectedClaimException,
|
|
44149
|
+
IDPRejectedClaimException$: () => IDPRejectedClaimException$,
|
|
44150
|
+
InvalidIdentityTokenException: () => InvalidIdentityTokenException,
|
|
44151
|
+
InvalidIdentityTokenException$: () => InvalidIdentityTokenException$,
|
|
44152
|
+
MalformedPolicyDocumentException: () => MalformedPolicyDocumentException,
|
|
44153
|
+
MalformedPolicyDocumentException$: () => MalformedPolicyDocumentException$,
|
|
44154
|
+
PackedPolicyTooLargeException: () => PackedPolicyTooLargeException,
|
|
44155
|
+
PackedPolicyTooLargeException$: () => PackedPolicyTooLargeException$,
|
|
44156
|
+
PolicyDescriptorType$: () => PolicyDescriptorType$,
|
|
44157
|
+
ProvidedContext$: () => ProvidedContext$,
|
|
44158
|
+
RegionDisabledException: () => RegionDisabledException,
|
|
44159
|
+
RegionDisabledException$: () => RegionDisabledException$,
|
|
44160
|
+
STS: () => STS,
|
|
44161
|
+
STSClient: () => STSClient,
|
|
44162
|
+
STSServiceException: () => STSServiceException,
|
|
44163
|
+
STSServiceException$: () => STSServiceException$,
|
|
44164
|
+
Tag$: () => Tag$,
|
|
43806
44165
|
__Client: () => Client,
|
|
43807
|
-
|
|
44166
|
+
decorateDefaultCredentialProvider: () => decorateDefaultCredentialProvider,
|
|
44167
|
+
errorTypeRegistries: () => errorTypeRegistries3,
|
|
44168
|
+
getDefaultRoleAssumer: () => getDefaultRoleAssumer2,
|
|
44169
|
+
getDefaultRoleAssumerWithWebIdentity: () => getDefaultRoleAssumerWithWebIdentity2
|
|
43808
44170
|
});
|
|
43809
|
-
var
|
|
43810
|
-
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
43811
|
-
|
|
43812
|
-
|
|
44171
|
+
var init_sts = __esm({
|
|
44172
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/index.js"() {
|
|
44173
|
+
init_STSClient();
|
|
44174
|
+
init_STS();
|
|
43813
44175
|
init_commands3();
|
|
43814
44176
|
init_client2();
|
|
43815
44177
|
init_schemas_03();
|
|
43816
|
-
init_enums2();
|
|
43817
44178
|
init_errors3();
|
|
43818
44179
|
init_models_03();
|
|
43819
|
-
|
|
44180
|
+
init_defaultRoleAssumers();
|
|
44181
|
+
init_STSServiceException();
|
|
43820
44182
|
}
|
|
43821
44183
|
});
|
|
43822
44184
|
|
|
43823
|
-
// ../../node_modules/@aws-sdk/
|
|
43824
|
-
|
|
43825
|
-
|
|
43826
|
-
|
|
43827
|
-
|
|
43828
|
-
|
|
43829
|
-
|
|
43830
|
-
|
|
43831
|
-
|
|
43832
|
-
|
|
43833
|
-
|
|
43834
|
-
|
|
43835
|
-
init;
|
|
43836
|
-
callerClientConfig;
|
|
43837
|
-
static REFRESH_THRESHOLD = 5 * 60 * 1e3;
|
|
43838
|
-
constructor(profileData, init, callerClientConfig) {
|
|
43839
|
-
this.profileData = profileData;
|
|
43840
|
-
this.init = init;
|
|
43841
|
-
this.callerClientConfig = callerClientConfig;
|
|
43842
|
-
}
|
|
43843
|
-
async loadCredentials() {
|
|
43844
|
-
const token = await this.loadToken();
|
|
43845
|
-
if (!token) {
|
|
43846
|
-
throw new CredentialsProviderError2(`Failed to load a token for session ${this.loginSession}, please re-authenticate using aws login`, { tryNextLink: false, logger: this.logger });
|
|
43847
|
-
}
|
|
43848
|
-
const accessToken = token.accessToken;
|
|
43849
|
-
const now = Date.now();
|
|
43850
|
-
const expiryTime = new Date(accessToken.expiresAt).getTime();
|
|
43851
|
-
const timeUntilExpiry = expiryTime - now;
|
|
43852
|
-
if (timeUntilExpiry <= _LoginCredentialsFetcher.REFRESH_THRESHOLD) {
|
|
43853
|
-
return this.refresh(token);
|
|
43854
|
-
}
|
|
43855
|
-
return {
|
|
43856
|
-
accessKeyId: accessToken.accessKeyId,
|
|
43857
|
-
secretAccessKey: accessToken.secretAccessKey,
|
|
43858
|
-
sessionToken: accessToken.sessionToken,
|
|
43859
|
-
accountId: accessToken.accountId,
|
|
43860
|
-
expiration: new Date(accessToken.expiresAt)
|
|
43861
|
-
};
|
|
43862
|
-
}
|
|
43863
|
-
get logger() {
|
|
43864
|
-
return this.init?.logger;
|
|
44185
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js
|
|
44186
|
+
function createAwsAuthSigv4HttpAuthOption4(authParameters) {
|
|
44187
|
+
return {
|
|
44188
|
+
schemeId: "aws.auth#sigv4",
|
|
44189
|
+
signingProperties: {
|
|
44190
|
+
name: "signin",
|
|
44191
|
+
region: authParameters.region
|
|
44192
|
+
},
|
|
44193
|
+
propertiesExtractor: (config, context) => ({
|
|
44194
|
+
signingProperties: {
|
|
44195
|
+
config,
|
|
44196
|
+
context
|
|
43865
44197
|
}
|
|
43866
|
-
|
|
43867
|
-
|
|
43868
|
-
|
|
43869
|
-
|
|
43870
|
-
|
|
43871
|
-
|
|
43872
|
-
|
|
43873
|
-
|
|
43874
|
-
|
|
43875
|
-
|
|
43876
|
-
|
|
43877
|
-
|
|
43878
|
-
|
|
43879
|
-
|
|
43880
|
-
|
|
43881
|
-
|
|
43882
|
-
|
|
43883
|
-
|
|
43884
|
-
|
|
43885
|
-
|
|
43886
|
-
|
|
43887
|
-
|
|
43888
|
-
|
|
43889
|
-
|
|
43890
|
-
|
|
43891
|
-
|
|
43892
|
-
|
|
43893
|
-
grantType: "refresh_token"
|
|
43894
|
-
}
|
|
43895
|
-
};
|
|
43896
|
-
try {
|
|
43897
|
-
const response = await client.send(new CreateOAuth2TokenCommand2(commandInput));
|
|
43898
|
-
const { accessKeyId, secretAccessKey, sessionToken } = response.tokenOutput?.accessToken ?? {};
|
|
43899
|
-
const { refreshToken, expiresIn } = response.tokenOutput ?? {};
|
|
43900
|
-
if (!accessKeyId || !secretAccessKey || !sessionToken || !refreshToken) {
|
|
43901
|
-
throw new CredentialsProviderError2("Token refresh response missing required fields", {
|
|
43902
|
-
logger: this.logger,
|
|
43903
|
-
tryNextLink: false
|
|
43904
|
-
});
|
|
43905
|
-
}
|
|
43906
|
-
const expiresInMs = (expiresIn ?? 900) * 1e3;
|
|
43907
|
-
const expiration = new Date(Date.now() + expiresInMs);
|
|
43908
|
-
const updatedToken = {
|
|
43909
|
-
...token,
|
|
43910
|
-
accessToken: {
|
|
43911
|
-
...token.accessToken,
|
|
43912
|
-
accessKeyId,
|
|
43913
|
-
secretAccessKey,
|
|
43914
|
-
sessionToken,
|
|
43915
|
-
expiresAt: expiration.toISOString()
|
|
43916
|
-
},
|
|
43917
|
-
refreshToken
|
|
43918
|
-
};
|
|
43919
|
-
await this.saveToken(updatedToken);
|
|
43920
|
-
const newAccessToken = updatedToken.accessToken;
|
|
43921
|
-
return {
|
|
43922
|
-
accessKeyId: newAccessToken.accessKeyId,
|
|
43923
|
-
secretAccessKey: newAccessToken.secretAccessKey,
|
|
43924
|
-
sessionToken: newAccessToken.sessionToken,
|
|
43925
|
-
accountId: newAccessToken.accountId,
|
|
43926
|
-
expiration
|
|
43927
|
-
};
|
|
43928
|
-
} catch (error3) {
|
|
43929
|
-
if (error3.name === "AccessDeniedException") {
|
|
43930
|
-
const errorType = error3.error;
|
|
43931
|
-
let message;
|
|
43932
|
-
switch (errorType) {
|
|
43933
|
-
case "TOKEN_EXPIRED":
|
|
43934
|
-
message = "Your session has expired. Please reauthenticate.";
|
|
43935
|
-
break;
|
|
43936
|
-
case "USER_CREDENTIALS_CHANGED":
|
|
43937
|
-
message = "Unable to refresh credentials because of a change in your password. Please reauthenticate with your new password.";
|
|
43938
|
-
break;
|
|
43939
|
-
case "INSUFFICIENT_PERMISSIONS":
|
|
43940
|
-
message = "Unable to refresh credentials due to insufficient permissions. You may be missing permission for the 'CreateOAuth2Token' action.";
|
|
43941
|
-
break;
|
|
43942
|
-
default:
|
|
43943
|
-
message = `Failed to refresh token: ${String(error3)}. Please re-authenticate using \`aws login\``;
|
|
43944
|
-
}
|
|
43945
|
-
throw new CredentialsProviderError2(message, { logger: this.logger, tryNextLink: false });
|
|
43946
|
-
}
|
|
43947
|
-
throw new CredentialsProviderError2(`Failed to refresh token: ${String(error3)}. Please re-authenticate using aws login`, { logger: this.logger });
|
|
43948
|
-
}
|
|
43949
|
-
}
|
|
43950
|
-
async loadToken() {
|
|
43951
|
-
const tokenFilePath = this.getTokenFilePath();
|
|
43952
|
-
try {
|
|
43953
|
-
let tokenData;
|
|
43954
|
-
try {
|
|
43955
|
-
tokenData = await readFile4(tokenFilePath, { ignoreCache: this.init?.ignoreCache });
|
|
43956
|
-
} catch {
|
|
43957
|
-
tokenData = await promises.readFile(tokenFilePath, "utf8");
|
|
43958
|
-
}
|
|
43959
|
-
const token = JSON.parse(tokenData);
|
|
43960
|
-
const missingFields = ["accessToken", "clientId", "refreshToken", "dpopKey"].filter((k5) => !token[k5]);
|
|
43961
|
-
if (!token.accessToken?.accountId) {
|
|
43962
|
-
missingFields.push("accountId");
|
|
43963
|
-
}
|
|
43964
|
-
if (missingFields.length > 0) {
|
|
43965
|
-
throw new CredentialsProviderError2(`Token validation failed, missing fields: ${missingFields.join(", ")}`, {
|
|
43966
|
-
logger: this.logger,
|
|
43967
|
-
tryNextLink: false
|
|
43968
|
-
});
|
|
43969
|
-
}
|
|
43970
|
-
return token;
|
|
43971
|
-
} catch (error3) {
|
|
43972
|
-
throw new CredentialsProviderError2(`Failed to load token from ${tokenFilePath}: ${String(error3)}`, {
|
|
43973
|
-
logger: this.logger,
|
|
43974
|
-
tryNextLink: false
|
|
43975
|
-
});
|
|
43976
|
-
}
|
|
43977
|
-
}
|
|
43978
|
-
async saveToken(token) {
|
|
43979
|
-
const tokenFilePath = this.getTokenFilePath();
|
|
43980
|
-
const directory = dirname(tokenFilePath);
|
|
43981
|
-
try {
|
|
43982
|
-
await promises.mkdir(directory, { recursive: true });
|
|
43983
|
-
} catch (error3) {
|
|
43984
|
-
}
|
|
43985
|
-
await promises.writeFile(tokenFilePath, JSON.stringify(token, null, 2), "utf8");
|
|
43986
|
-
}
|
|
43987
|
-
getTokenFilePath() {
|
|
43988
|
-
const directory = process.env.AWS_LOGIN_CACHE_DIRECTORY ?? join6(homedir2(), ".aws", "login", "cache");
|
|
43989
|
-
const loginSessionBytes = Buffer.from(this.loginSession, "utf8");
|
|
43990
|
-
const loginSessionSha256 = createHash5("sha256").update(loginSessionBytes).digest("hex");
|
|
43991
|
-
return join6(directory, `${loginSessionSha256}.json`);
|
|
43992
|
-
}
|
|
43993
|
-
derToRawSignature(derSignature) {
|
|
43994
|
-
let offset = 2;
|
|
43995
|
-
if (derSignature[offset] !== 2) {
|
|
43996
|
-
throw new Error("Invalid DER signature");
|
|
43997
|
-
}
|
|
43998
|
-
offset++;
|
|
43999
|
-
const rLength = derSignature[offset++];
|
|
44000
|
-
let r5 = derSignature.subarray(offset, offset + rLength);
|
|
44001
|
-
offset += rLength;
|
|
44002
|
-
if (derSignature[offset] !== 2) {
|
|
44003
|
-
throw new Error("Invalid DER signature");
|
|
44198
|
+
})
|
|
44199
|
+
};
|
|
44200
|
+
}
|
|
44201
|
+
function createSmithyApiNoAuthHttpAuthOption4(authParameters) {
|
|
44202
|
+
return {
|
|
44203
|
+
schemeId: "smithy.api#noAuth"
|
|
44204
|
+
};
|
|
44205
|
+
}
|
|
44206
|
+
var defaultSigninHttpAuthSchemeParametersProvider, defaultSigninHttpAuthSchemeProvider, resolveHttpAuthSchemeConfig4;
|
|
44207
|
+
var init_httpAuthSchemeProvider4 = __esm({
|
|
44208
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js"() {
|
|
44209
|
+
init_httpAuthSchemes2();
|
|
44210
|
+
init_client2();
|
|
44211
|
+
defaultSigninHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
44212
|
+
return {
|
|
44213
|
+
operation: getSmithyContext(context).operation,
|
|
44214
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
44215
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
44216
|
+
})()
|
|
44217
|
+
};
|
|
44218
|
+
};
|
|
44219
|
+
defaultSigninHttpAuthSchemeProvider = (authParameters) => {
|
|
44220
|
+
const options = [];
|
|
44221
|
+
switch (authParameters.operation) {
|
|
44222
|
+
case "CreateOAuth2Token": {
|
|
44223
|
+
options.push(createSmithyApiNoAuthHttpAuthOption4(authParameters));
|
|
44224
|
+
break;
|
|
44004
44225
|
}
|
|
44005
|
-
|
|
44006
|
-
|
|
44007
|
-
let s = derSignature.subarray(offset, offset + sLength);
|
|
44008
|
-
r5 = r5[0] === 0 ? r5.subarray(1) : r5;
|
|
44009
|
-
s = s[0] === 0 ? s.subarray(1) : s;
|
|
44010
|
-
const rPadded = Buffer.concat([Buffer.alloc(32 - r5.length), r5]);
|
|
44011
|
-
const sPadded = Buffer.concat([Buffer.alloc(32 - s.length), s]);
|
|
44012
|
-
return Buffer.concat([rPadded, sPadded]);
|
|
44013
|
-
}
|
|
44014
|
-
createDPoPInterceptor(middlewareStack) {
|
|
44015
|
-
middlewareStack.add((next) => async (args) => {
|
|
44016
|
-
if (HttpRequest2.isInstance(args.request)) {
|
|
44017
|
-
const request = args.request;
|
|
44018
|
-
const actualEndpoint = `${request.protocol}//${request.hostname}${request.port ? `:${request.port}` : ""}${request.path}`;
|
|
44019
|
-
const dpop = await this.generateDpop(request.method, actualEndpoint);
|
|
44020
|
-
request.headers = {
|
|
44021
|
-
...request.headers,
|
|
44022
|
-
DPoP: dpop
|
|
44023
|
-
};
|
|
44024
|
-
}
|
|
44025
|
-
return next(args);
|
|
44026
|
-
}, {
|
|
44027
|
-
step: "finalizeRequest",
|
|
44028
|
-
name: "dpopInterceptor",
|
|
44029
|
-
override: true
|
|
44030
|
-
});
|
|
44031
|
-
}
|
|
44032
|
-
async generateDpop(method = "POST", endpoint) {
|
|
44033
|
-
const token = await this.loadToken();
|
|
44034
|
-
try {
|
|
44035
|
-
const privateKey = createPrivateKey({
|
|
44036
|
-
key: token.dpopKey,
|
|
44037
|
-
format: "pem",
|
|
44038
|
-
type: "sec1"
|
|
44039
|
-
});
|
|
44040
|
-
const publicKey = createPublicKey(privateKey);
|
|
44041
|
-
const publicDer = publicKey.export({ format: "der", type: "spki" });
|
|
44042
|
-
let pointStart = -1;
|
|
44043
|
-
for (let i5 = 0; i5 < publicDer.length; i5++) {
|
|
44044
|
-
if (publicDer[i5] === 4) {
|
|
44045
|
-
pointStart = i5;
|
|
44046
|
-
break;
|
|
44047
|
-
}
|
|
44048
|
-
}
|
|
44049
|
-
const x = publicDer.slice(pointStart + 1, pointStart + 33);
|
|
44050
|
-
const y = publicDer.slice(pointStart + 33, pointStart + 65);
|
|
44051
|
-
const header = {
|
|
44052
|
-
alg: "ES256",
|
|
44053
|
-
typ: "dpop+jwt",
|
|
44054
|
-
jwk: {
|
|
44055
|
-
kty: "EC",
|
|
44056
|
-
crv: "P-256",
|
|
44057
|
-
x: x.toString("base64url"),
|
|
44058
|
-
y: y.toString("base64url")
|
|
44059
|
-
}
|
|
44060
|
-
};
|
|
44061
|
-
const payload2 = {
|
|
44062
|
-
jti: crypto.randomUUID(),
|
|
44063
|
-
htm: method,
|
|
44064
|
-
htu: endpoint,
|
|
44065
|
-
iat: Math.floor(Date.now() / 1e3)
|
|
44066
|
-
};
|
|
44067
|
-
const headerB64 = Buffer.from(JSON.stringify(header)).toString("base64url");
|
|
44068
|
-
const payloadB64 = Buffer.from(JSON.stringify(payload2)).toString("base64url");
|
|
44069
|
-
const message = `${headerB64}.${payloadB64}`;
|
|
44070
|
-
const asn1Signature = sign2("sha256", Buffer.from(message), privateKey);
|
|
44071
|
-
const rawSignature = this.derToRawSignature(asn1Signature);
|
|
44072
|
-
const signatureB64 = rawSignature.toString("base64url");
|
|
44073
|
-
return `${message}.${signatureB64}`;
|
|
44074
|
-
} catch (error3) {
|
|
44075
|
-
throw new CredentialsProviderError2(`Failed to generate Dpop proof: ${error3 instanceof Error ? error3.message : String(error3)}`, { logger: this.logger, tryNextLink: false });
|
|
44226
|
+
default: {
|
|
44227
|
+
options.push(createAwsAuthSigv4HttpAuthOption4(authParameters));
|
|
44076
44228
|
}
|
|
44077
44229
|
}
|
|
44230
|
+
return options;
|
|
44078
44231
|
};
|
|
44079
|
-
|
|
44080
|
-
|
|
44081
|
-
|
|
44082
|
-
|
|
44083
|
-
profile: init?.profile ?? callerClientConfig?.profile
|
|
44232
|
+
resolveHttpAuthSchemeConfig4 = (config) => {
|
|
44233
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
44234
|
+
return Object.assign(config_0, {
|
|
44235
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? [])
|
|
44084
44236
|
});
|
|
44085
|
-
const profile = profiles[profileName];
|
|
44086
|
-
if (!profile?.login_session) {
|
|
44087
|
-
throw new CredentialsProviderError2(`Profile ${profileName} does not contain login_session.`, {
|
|
44088
|
-
tryNextLink: true,
|
|
44089
|
-
logger: init?.logger
|
|
44090
|
-
});
|
|
44091
|
-
}
|
|
44092
|
-
const fetcher = new LoginCredentialsFetcher(profile, init, callerClientConfig);
|
|
44093
|
-
const credentials = await fetcher.loadCredentials();
|
|
44094
|
-
return setCredentialFeature2(credentials, "CREDENTIALS_LOGIN", "AD");
|
|
44095
44237
|
};
|
|
44096
|
-
exports2.fromLoginCredentials = fromLoginCredentials;
|
|
44097
44238
|
}
|
|
44098
44239
|
});
|
|
44099
44240
|
|
|
44100
|
-
// ../../node_modules/@aws-sdk/
|
|
44101
|
-
var
|
|
44102
|
-
|
|
44103
|
-
|
|
44104
|
-
|
|
44105
|
-
|
|
44106
|
-
|
|
44107
|
-
|
|
44108
|
-
|
|
44109
|
-
|
|
44110
|
-
async signWithCredentials(requestToSign, credentials, options) {
|
|
44111
|
-
const credentialsWithoutSessionToken = getCredentialsWithoutSessionToken(credentials);
|
|
44112
|
-
requestToSign.headers[SESSION_TOKEN_HEADER] = credentials.sessionToken;
|
|
44113
|
-
const privateAccess = this;
|
|
44114
|
-
setSingleOverride(privateAccess, credentialsWithoutSessionToken);
|
|
44115
|
-
return privateAccess.signRequest(requestToSign, options ?? {});
|
|
44116
|
-
}
|
|
44117
|
-
async presignWithCredentials(requestToSign, credentials, options) {
|
|
44118
|
-
const credentialsWithoutSessionToken = getCredentialsWithoutSessionToken(credentials);
|
|
44119
|
-
delete requestToSign.headers[SESSION_TOKEN_HEADER];
|
|
44120
|
-
requestToSign.headers[SESSION_TOKEN_QUERY_PARAM] = credentials.sessionToken;
|
|
44121
|
-
requestToSign.query = requestToSign.query ?? {};
|
|
44122
|
-
requestToSign.query[SESSION_TOKEN_QUERY_PARAM] = credentials.sessionToken;
|
|
44123
|
-
const privateAccess = this;
|
|
44124
|
-
setSingleOverride(privateAccess, credentialsWithoutSessionToken);
|
|
44125
|
-
return this.presign(requestToSign, options);
|
|
44126
|
-
}
|
|
44241
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/EndpointParameters.js
|
|
44242
|
+
var resolveClientEndpointParameters4, commonParams4;
|
|
44243
|
+
var init_EndpointParameters4 = __esm({
|
|
44244
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/EndpointParameters.js"() {
|
|
44245
|
+
resolveClientEndpointParameters4 = (options) => {
|
|
44246
|
+
return Object.assign(options, {
|
|
44247
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
44248
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
44249
|
+
defaultSigningName: "signin"
|
|
44250
|
+
});
|
|
44127
44251
|
};
|
|
44128
|
-
|
|
44129
|
-
|
|
44130
|
-
|
|
44131
|
-
|
|
44132
|
-
|
|
44133
|
-
};
|
|
44134
|
-
}
|
|
44135
|
-
function setSingleOverride(privateAccess, credentialsWithoutSessionToken) {
|
|
44136
|
-
const currentCredentialProvider = privateAccess.credentialProvider;
|
|
44137
|
-
privateAccess.credentialProvider = () => {
|
|
44138
|
-
privateAccess.credentialProvider = currentCredentialProvider;
|
|
44139
|
-
return Promise.resolve(credentialsWithoutSessionToken);
|
|
44140
|
-
};
|
|
44141
|
-
}
|
|
44142
|
-
var SignatureV4MultiRegion3 = class {
|
|
44143
|
-
sigv4aSigner;
|
|
44144
|
-
sigv4Signer;
|
|
44145
|
-
signerOptions;
|
|
44146
|
-
static sigv4aDependency() {
|
|
44147
|
-
if (typeof signatureV4CrtContainer.CrtSignerV4 === "function") {
|
|
44148
|
-
return "crt";
|
|
44149
|
-
} else if (typeof signatureV4aContainer.SignatureV4a === "function") {
|
|
44150
|
-
return "js";
|
|
44151
|
-
}
|
|
44152
|
-
return "none";
|
|
44153
|
-
}
|
|
44154
|
-
constructor(options) {
|
|
44155
|
-
this.sigv4Signer = new SignatureV4SignWithCredentials(options);
|
|
44156
|
-
this.signerOptions = options;
|
|
44157
|
-
}
|
|
44158
|
-
async sign(requestToSign, options = {}) {
|
|
44159
|
-
if (options.signingRegion === "*") {
|
|
44160
|
-
return this.getSigv4aSigner().sign(requestToSign, options);
|
|
44161
|
-
}
|
|
44162
|
-
return this.sigv4Signer.sign(requestToSign, options);
|
|
44163
|
-
}
|
|
44164
|
-
async signWithCredentials(requestToSign, credentials, options = {}) {
|
|
44165
|
-
if (options.signingRegion === "*") {
|
|
44166
|
-
const signer = this.getSigv4aSigner();
|
|
44167
|
-
const CrtSignerV4 = signatureV4CrtContainer.CrtSignerV4;
|
|
44168
|
-
if (CrtSignerV4 && signer instanceof CrtSignerV4) {
|
|
44169
|
-
return signer.signWithCredentials(requestToSign, credentials, options);
|
|
44170
|
-
} else {
|
|
44171
|
-
throw new Error(`signWithCredentials with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`);
|
|
44172
|
-
}
|
|
44173
|
-
}
|
|
44174
|
-
return this.sigv4Signer.signWithCredentials(requestToSign, credentials, options);
|
|
44175
|
-
}
|
|
44176
|
-
async presign(originalRequest, options = {}) {
|
|
44177
|
-
if (options.signingRegion === "*") {
|
|
44178
|
-
const signer = this.getSigv4aSigner();
|
|
44179
|
-
const CrtSignerV4 = signatureV4CrtContainer.CrtSignerV4;
|
|
44180
|
-
if (CrtSignerV4 && signer instanceof CrtSignerV4) {
|
|
44181
|
-
return signer.presign(originalRequest, options);
|
|
44182
|
-
} else {
|
|
44183
|
-
throw new Error(`presign with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`);
|
|
44184
|
-
}
|
|
44185
|
-
}
|
|
44186
|
-
return this.sigv4Signer.presign(originalRequest, options);
|
|
44187
|
-
}
|
|
44188
|
-
async presignWithCredentials(originalRequest, credentials, options = {}) {
|
|
44189
|
-
if (options.signingRegion === "*") {
|
|
44190
|
-
throw new Error("Method presignWithCredentials is not supported for [signingRegion=*].");
|
|
44191
|
-
}
|
|
44192
|
-
return this.sigv4Signer.presignWithCredentials(originalRequest, credentials, options);
|
|
44193
|
-
}
|
|
44194
|
-
getSigv4aSigner() {
|
|
44195
|
-
if (!this.sigv4aSigner) {
|
|
44196
|
-
const CrtSignerV4 = signatureV4CrtContainer.CrtSignerV4;
|
|
44197
|
-
const JsSigV4aSigner = signatureV4aContainer.SignatureV4a;
|
|
44198
|
-
if (this.signerOptions.runtime === "node") {
|
|
44199
|
-
if (!CrtSignerV4 && !JsSigV4aSigner) {
|
|
44200
|
-
throw new Error("Neither CRT nor JS SigV4a implementation is available. Please load either @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt");
|
|
44201
|
-
}
|
|
44202
|
-
if (CrtSignerV4 && typeof CrtSignerV4 === "function") {
|
|
44203
|
-
this.sigv4aSigner = new CrtSignerV4({
|
|
44204
|
-
...this.signerOptions,
|
|
44205
|
-
signingAlgorithm: 1
|
|
44206
|
-
});
|
|
44207
|
-
} else if (JsSigV4aSigner && typeof JsSigV4aSigner === "function") {
|
|
44208
|
-
this.sigv4aSigner = new JsSigV4aSigner({
|
|
44209
|
-
...this.signerOptions
|
|
44210
|
-
});
|
|
44211
|
-
} else {
|
|
44212
|
-
throw new Error("Available SigV4a implementation is not a valid constructor. Please ensure you've properly imported @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a.For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt");
|
|
44213
|
-
}
|
|
44214
|
-
} else {
|
|
44215
|
-
if (!JsSigV4aSigner || typeof JsSigV4aSigner !== "function") {
|
|
44216
|
-
throw new Error("JS SigV4a implementation is not available or not a valid constructor. Please check whether you have installed the @aws-sdk/signature-v4a package explicitly. The CRT implementation is not available for browsers. You must also register the package by calling [require('@aws-sdk/signature-v4a');] or an ESM equivalent such as [import '@aws-sdk/signature-v4a';]. For more information please go to https://github.com/aws/aws-sdk-js-v3#using-javascript-non-crt-implementation-of-sigv4a");
|
|
44217
|
-
}
|
|
44218
|
-
this.sigv4aSigner = new JsSigV4aSigner({
|
|
44219
|
-
...this.signerOptions
|
|
44220
|
-
});
|
|
44221
|
-
}
|
|
44222
|
-
}
|
|
44223
|
-
return this.sigv4aSigner;
|
|
44224
|
-
}
|
|
44252
|
+
commonParams4 = {
|
|
44253
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
44254
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
44255
|
+
Region: { type: "builtInParams", name: "region" },
|
|
44256
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
44225
44257
|
};
|
|
44226
|
-
exports2.SignatureV4MultiRegion = SignatureV4MultiRegion3;
|
|
44227
|
-
exports2.SignatureV4SignWithCredentials = SignatureV4SignWithCredentials;
|
|
44228
|
-
exports2.signatureV4CrtContainer = signatureV4CrtContainer;
|
|
44229
44258
|
}
|
|
44230
44259
|
});
|
|
44231
44260
|
|
|
44232
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
44233
|
-
var
|
|
44261
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js
|
|
44262
|
+
var p2, a4, b4, c4, d4, e4, f4, g4, h4, i4, j4, k4, l2, m2, n2, o2, _data4, root4, r4, nodes4, bdd4;
|
|
44234
44263
|
var init_bdd4 = __esm({
|
|
44235
|
-
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
44264
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js"() {
|
|
44236
44265
|
init_endpoints();
|
|
44237
|
-
|
|
44266
|
+
p2 = "ref";
|
|
44238
44267
|
a4 = -1;
|
|
44239
44268
|
b4 = true;
|
|
44240
44269
|
c4 = "isSet";
|
|
44241
|
-
d4 = "
|
|
44242
|
-
e4 = "
|
|
44270
|
+
d4 = "booleanEquals";
|
|
44271
|
+
e4 = "PartitionResult";
|
|
44243
44272
|
f4 = "stringEquals";
|
|
44244
44273
|
g4 = "getAttr";
|
|
44245
|
-
h4 = "
|
|
44246
|
-
i4 = "
|
|
44247
|
-
j4 = "
|
|
44248
|
-
k4 =
|
|
44249
|
-
l2 = { [
|
|
44250
|
-
m2 = { [
|
|
44251
|
-
n2 = {
|
|
44252
|
-
o2 =
|
|
44253
|
-
p2 = [m2];
|
|
44274
|
+
h4 = "https://signin.{Region}.{PartitionResult#dualStackDnsSuffix}";
|
|
44275
|
+
i4 = { [p2]: "Endpoint" };
|
|
44276
|
+
j4 = { "fn": g4, "argv": [{ [p2]: e4 }, "name"] };
|
|
44277
|
+
k4 = { [p2]: e4 };
|
|
44278
|
+
l2 = { [p2]: "Region" };
|
|
44279
|
+
m2 = { "authSchemes": [{ "name": "sigv4", "signingName": "signin", "signingRegion": "{Region}" }] };
|
|
44280
|
+
n2 = {};
|
|
44281
|
+
o2 = [l2];
|
|
44254
44282
|
_data4 = {
|
|
44255
44283
|
conditions: [
|
|
44256
|
-
[c4,
|
|
44257
|
-
[
|
|
44258
|
-
[
|
|
44259
|
-
[
|
|
44260
|
-
[
|
|
44261
|
-
[
|
|
44262
|
-
[
|
|
44263
|
-
[f4, [
|
|
44264
|
-
[
|
|
44265
|
-
[
|
|
44266
|
-
[f4, [
|
|
44267
|
-
[
|
|
44268
|
-
[f4, [
|
|
44269
|
-
[f4, [
|
|
44270
|
-
[f4, [
|
|
44271
|
-
[f4, [
|
|
44272
|
-
[f4, [
|
|
44273
|
-
[f4, [m2, "us-east-2"]],
|
|
44274
|
-
[f4, [m2, "us-west-2"]],
|
|
44275
|
-
[f4, [m2, "us-west-1"]],
|
|
44276
|
-
[f4, [m2, "ca-central-1"]],
|
|
44277
|
-
[f4, [m2, "ap-southeast-1"]],
|
|
44278
|
-
[f4, [m2, "ap-northeast-1"]],
|
|
44279
|
-
[f4, [m2, "ap-southeast-2"]],
|
|
44280
|
-
[f4, [{ fn: g4, argv: [n2, "name"] }, "aws-us-gov"]]
|
|
44284
|
+
[c4, o2],
|
|
44285
|
+
[d4, [{ fn: "coalesce", argv: [{ [p2]: "IsControlPlane" }, false] }, b4]],
|
|
44286
|
+
[c4, [i4]],
|
|
44287
|
+
["aws.partition", o2, e4],
|
|
44288
|
+
[d4, [{ [p2]: "UseFIPS" }, b4]],
|
|
44289
|
+
[d4, [{ [p2]: "UseDualStack" }, b4]],
|
|
44290
|
+
[f4, [j4, "aws"]],
|
|
44291
|
+
[f4, [j4, "aws-cn"]],
|
|
44292
|
+
[d4, [{ fn: g4, argv: [k4, "supportsDualStack"] }, b4]],
|
|
44293
|
+
[f4, [l2, "us-gov-west-1"]],
|
|
44294
|
+
[f4, [j4, "aws-us-gov"]],
|
|
44295
|
+
[d4, [{ fn: g4, argv: [k4, "supportsFIPS"] }, b4]],
|
|
44296
|
+
[f4, [j4, "aws-iso"]],
|
|
44297
|
+
[f4, [j4, "aws-iso-b"]],
|
|
44298
|
+
[f4, [j4, "aws-iso-f"]],
|
|
44299
|
+
[f4, [j4, "aws-iso-e"]],
|
|
44300
|
+
[f4, [j4, "aws-eusc"]]
|
|
44281
44301
|
],
|
|
44282
44302
|
results: [
|
|
44283
44303
|
[a4],
|
|
44284
|
-
["https://
|
|
44285
|
-
[
|
|
44304
|
+
["https://signin.{Region}.api.aws", m2],
|
|
44305
|
+
["https://signin.{Region}.api.amazonwebservices.com.cn", m2],
|
|
44306
|
+
[h4, m2],
|
|
44307
|
+
["https://{Region}.signin.aws.amazon.com", n2],
|
|
44308
|
+
["https://{Region}.signin.amazonaws.cn", n2],
|
|
44309
|
+
["https://{Region}.signin.amazonaws-us-gov.com", n2],
|
|
44310
|
+
["https://{Region}.signin.c2shome.ic.gov", n2],
|
|
44311
|
+
["https://{Region}.signin.sc2shome.sgov.gov", n2],
|
|
44312
|
+
["https://{Region}.signin.csphome.hci.ic.gov", n2],
|
|
44313
|
+
["https://{Region}.signin.csphome.adc-e.uk", n2],
|
|
44314
|
+
["https://{Region}.signin.amazonaws-eusc.eu", n2],
|
|
44315
|
+
["https://signin-fips.amazonaws-us-gov.com", n2],
|
|
44316
|
+
["https://{Region}.signin-fips.amazonaws-us-gov.com", n2],
|
|
44317
|
+
["https://{Region}.signin.{PartitionResult#dnsSuffix}", n2],
|
|
44286
44318
|
[a4, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
44287
44319
|
[a4, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
44288
|
-
[
|
|
44289
|
-
["https://
|
|
44320
|
+
[i4, n2],
|
|
44321
|
+
["https://signin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", n2],
|
|
44290
44322
|
[a4, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
44291
|
-
["https://
|
|
44292
|
-
["https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", o2],
|
|
44323
|
+
["https://signin-fips.{Region}.{PartitionResult#dnsSuffix}", n2],
|
|
44293
44324
|
[a4, "FIPS is enabled but this partition does not support FIPS"],
|
|
44294
|
-
[
|
|
44325
|
+
[h4, n2],
|
|
44295
44326
|
[a4, "DualStack is enabled but this partition does not support DualStack"],
|
|
44296
|
-
[
|
|
44327
|
+
["https://signin.{Region}.{PartitionResult#dnsSuffix}", n2],
|
|
44297
44328
|
[a4, "Invalid Configuration: Missing Region"]
|
|
44298
44329
|
]
|
|
44299
44330
|
};
|
|
@@ -44304,110 +44335,116 @@ var init_bdd4 = __esm({
|
|
|
44304
44335
|
1,
|
|
44305
44336
|
-1,
|
|
44306
44337
|
0,
|
|
44307
|
-
30,
|
|
44308
|
-
3,
|
|
44309
|
-
1,
|
|
44310
44338
|
4,
|
|
44311
|
-
|
|
44339
|
+
3,
|
|
44312
44340
|
2,
|
|
44341
|
+
30,
|
|
44342
|
+
r4 + 25,
|
|
44343
|
+
1,
|
|
44344
|
+
24,
|
|
44313
44345
|
5,
|
|
44314
|
-
|
|
44315
|
-
|
|
44316
|
-
25,
|
|
44346
|
+
2,
|
|
44347
|
+
30,
|
|
44317
44348
|
6,
|
|
44318
|
-
|
|
44319
|
-
24,
|
|
44349
|
+
3,
|
|
44320
44350
|
7,
|
|
44321
|
-
|
|
44322
|
-
|
|
44351
|
+
26,
|
|
44352
|
+
4,
|
|
44353
|
+
18,
|
|
44323
44354
|
8,
|
|
44324
|
-
|
|
44355
|
+
5,
|
|
44356
|
+
17,
|
|
44325
44357
|
9,
|
|
44326
|
-
|
|
44327
|
-
|
|
44328
|
-
r4 + 1,
|
|
44329
|
-
10,
|
|
44358
|
+
6,
|
|
44359
|
+
r4 + 4,
|
|
44330
44360
|
10,
|
|
44331
|
-
|
|
44332
|
-
|
|
44361
|
+
7,
|
|
44362
|
+
r4 + 5,
|
|
44333
44363
|
11,
|
|
44334
|
-
|
|
44364
|
+
10,
|
|
44365
|
+
r4 + 6,
|
|
44335
44366
|
12,
|
|
44336
44367
|
12,
|
|
44337
|
-
r4 +
|
|
44368
|
+
r4 + 7,
|
|
44338
44369
|
13,
|
|
44339
44370
|
13,
|
|
44340
|
-
r4 +
|
|
44371
|
+
r4 + 8,
|
|
44341
44372
|
14,
|
|
44342
44373
|
14,
|
|
44343
|
-
r4 +
|
|
44374
|
+
r4 + 9,
|
|
44344
44375
|
15,
|
|
44345
44376
|
15,
|
|
44346
|
-
r4 +
|
|
44377
|
+
r4 + 10,
|
|
44347
44378
|
16,
|
|
44348
44379
|
16,
|
|
44349
|
-
r4 +
|
|
44350
|
-
|
|
44351
|
-
|
|
44352
|
-
r4 +
|
|
44353
|
-
|
|
44354
|
-
|
|
44355
|
-
|
|
44356
|
-
19,
|
|
44380
|
+
r4 + 11,
|
|
44381
|
+
r4 + 14,
|
|
44382
|
+
8,
|
|
44383
|
+
r4 + 22,
|
|
44384
|
+
r4 + 23,
|
|
44385
|
+
5,
|
|
44386
|
+
22,
|
|
44357
44387
|
19,
|
|
44358
|
-
|
|
44359
|
-
|
|
44388
|
+
9,
|
|
44389
|
+
r4 + 12,
|
|
44360
44390
|
20,
|
|
44361
|
-
|
|
44362
|
-
|
|
44391
|
+
10,
|
|
44392
|
+
r4 + 13,
|
|
44363
44393
|
21,
|
|
44364
|
-
|
|
44365
|
-
|
|
44366
|
-
|
|
44367
|
-
r4 + 1,
|
|
44368
|
-
23,
|
|
44369
|
-
23,
|
|
44370
|
-
r4 + 1,
|
|
44371
|
-
r4 + 2,
|
|
44394
|
+
11,
|
|
44395
|
+
r4 + 20,
|
|
44396
|
+
r4 + 21,
|
|
44372
44397
|
8,
|
|
44373
|
-
|
|
44374
|
-
r4 +
|
|
44375
|
-
|
|
44376
|
-
|
|
44398
|
+
23,
|
|
44399
|
+
r4 + 19,
|
|
44400
|
+
11,
|
|
44401
|
+
r4 + 18,
|
|
44402
|
+
r4 + 19,
|
|
44403
|
+
2,
|
|
44404
|
+
29,
|
|
44405
|
+
25,
|
|
44406
|
+
3,
|
|
44407
|
+
32,
|
|
44377
44408
|
26,
|
|
44378
|
-
|
|
44409
|
+
4,
|
|
44379
44410
|
27,
|
|
44380
|
-
r4 +
|
|
44381
|
-
|
|
44382
|
-
r4 +
|
|
44383
|
-
|
|
44384
|
-
8,
|
|
44385
|
-
29,
|
|
44386
|
-
r4 + 7,
|
|
44411
|
+
r4 + 25,
|
|
44412
|
+
5,
|
|
44413
|
+
r4 + 25,
|
|
44414
|
+
28,
|
|
44387
44415
|
9,
|
|
44388
|
-
r4 +
|
|
44389
|
-
r4 +
|
|
44416
|
+
r4 + 12,
|
|
44417
|
+
r4 + 25,
|
|
44390
44418
|
3,
|
|
44391
|
-
|
|
44392
|
-
|
|
44419
|
+
32,
|
|
44420
|
+
30,
|
|
44393
44421
|
4,
|
|
44394
|
-
r4 +
|
|
44395
|
-
|
|
44422
|
+
r4 + 15,
|
|
44423
|
+
31,
|
|
44424
|
+
5,
|
|
44425
|
+
r4 + 16,
|
|
44426
|
+
r4 + 17,
|
|
44427
|
+
6,
|
|
44428
|
+
r4 + 1,
|
|
44429
|
+
33,
|
|
44430
|
+
7,
|
|
44431
|
+
r4 + 2,
|
|
44432
|
+
r4 + 3
|
|
44396
44433
|
]);
|
|
44397
44434
|
bdd4 = BinaryDecisionDiagram.from(nodes4, root4, _data4.conditions, _data4.results);
|
|
44398
44435
|
}
|
|
44399
44436
|
});
|
|
44400
44437
|
|
|
44401
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
44438
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js
|
|
44402
44439
|
var cache4, defaultEndpointResolver4;
|
|
44403
44440
|
var init_endpointResolver4 = __esm({
|
|
44404
|
-
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
44441
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js"() {
|
|
44405
44442
|
init_client3();
|
|
44406
44443
|
init_endpoints();
|
|
44407
44444
|
init_bdd4();
|
|
44408
44445
|
cache4 = new EndpointCache({
|
|
44409
44446
|
size: 50,
|
|
44410
|
-
params: ["Endpoint", "
|
|
44447
|
+
params: ["Endpoint", "IsControlPlane", "Region", "UseDualStack", "UseFIPS"]
|
|
44411
44448
|
});
|
|
44412
44449
|
defaultEndpointResolver4 = (endpointParams, context = {}) => {
|
|
44413
44450
|
return cache4.get(endpointParams, () => decideEndpoint(bdd4, {
|
|
@@ -44419,536 +44456,237 @@ var init_endpointResolver4 = __esm({
|
|
|
44419
44456
|
}
|
|
44420
44457
|
});
|
|
44421
44458
|
|
|
44422
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
44423
|
-
|
|
44424
|
-
|
|
44425
|
-
|
|
44426
|
-
signingProperties: {
|
|
44427
|
-
name: "sts",
|
|
44428
|
-
region: authParameters.region
|
|
44429
|
-
},
|
|
44430
|
-
propertiesExtractor: (config, context) => ({
|
|
44431
|
-
signingProperties: {
|
|
44432
|
-
config,
|
|
44433
|
-
context
|
|
44434
|
-
}
|
|
44435
|
-
})
|
|
44436
|
-
};
|
|
44437
|
-
}
|
|
44438
|
-
function createAwsAuthSigv4aHttpAuthOption(authParameters) {
|
|
44439
|
-
return {
|
|
44440
|
-
schemeId: "aws.auth#sigv4a",
|
|
44441
|
-
signingProperties: {
|
|
44442
|
-
name: "sts",
|
|
44443
|
-
region: authParameters.region
|
|
44444
|
-
},
|
|
44445
|
-
propertiesExtractor: (config, context) => ({
|
|
44446
|
-
signingProperties: {
|
|
44447
|
-
config,
|
|
44448
|
-
context
|
|
44449
|
-
}
|
|
44450
|
-
})
|
|
44451
|
-
};
|
|
44452
|
-
}
|
|
44453
|
-
function createSmithyApiNoAuthHttpAuthOption4(authParameters) {
|
|
44454
|
-
return {
|
|
44455
|
-
schemeId: "smithy.api#noAuth"
|
|
44456
|
-
};
|
|
44457
|
-
}
|
|
44458
|
-
var import_signature_v4_multi_region, createEndpointRuleSetHttpAuthSchemeParametersProvider, _defaultSTSHttpAuthSchemeParametersProvider, defaultSTSHttpAuthSchemeParametersProvider, createEndpointRuleSetHttpAuthSchemeProvider, _defaultSTSHttpAuthSchemeProvider, defaultSTSHttpAuthSchemeProvider, resolveHttpAuthSchemeConfig4;
|
|
44459
|
-
var init_httpAuthSchemeProvider4 = __esm({
|
|
44460
|
-
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js"() {
|
|
44461
|
-
init_httpAuthSchemes2();
|
|
44462
|
-
import_signature_v4_multi_region = __toESM(require_dist_cjs11());
|
|
44463
|
-
init_client2();
|
|
44464
|
-
init_endpoints();
|
|
44465
|
-
init_endpointResolver4();
|
|
44466
|
-
createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSchemeParametersProvider) => async (config, context, input) => {
|
|
44467
|
-
if (!input) {
|
|
44468
|
-
throw new Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");
|
|
44469
|
-
}
|
|
44470
|
-
const defaultParameters = await defaultHttpAuthSchemeParametersProvider(config, context, input);
|
|
44471
|
-
const instructionsFn = getSmithyContext(context)?.commandInstance?.constructor?.getEndpointParameterInstructions;
|
|
44472
|
-
if (!instructionsFn) {
|
|
44473
|
-
throw new Error(`getEndpointParameterInstructions() is not defined on '${context.commandName}'`);
|
|
44474
|
-
}
|
|
44475
|
-
const endpointParameters = await resolveParams(input, { getEndpointParameterInstructions: instructionsFn }, config);
|
|
44476
|
-
return Object.assign(defaultParameters, endpointParameters);
|
|
44477
|
-
};
|
|
44478
|
-
_defaultSTSHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
44479
|
-
return {
|
|
44480
|
-
operation: getSmithyContext(context).operation,
|
|
44481
|
-
region: await normalizeProvider(config.region)() || (() => {
|
|
44482
|
-
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
44483
|
-
})()
|
|
44484
|
-
};
|
|
44485
|
-
};
|
|
44486
|
-
defaultSTSHttpAuthSchemeParametersProvider = createEndpointRuleSetHttpAuthSchemeParametersProvider(_defaultSTSHttpAuthSchemeParametersProvider);
|
|
44487
|
-
createEndpointRuleSetHttpAuthSchemeProvider = (defaultEndpointResolver5, defaultHttpAuthSchemeResolver, createHttpAuthOptionFunctions) => {
|
|
44488
|
-
const endpointRuleSetHttpAuthSchemeProvider = (authParameters) => {
|
|
44489
|
-
const endpoint = defaultEndpointResolver5(authParameters);
|
|
44490
|
-
const authSchemes = endpoint.properties?.authSchemes;
|
|
44491
|
-
if (!authSchemes) {
|
|
44492
|
-
return defaultHttpAuthSchemeResolver(authParameters);
|
|
44493
|
-
}
|
|
44494
|
-
const options = [];
|
|
44495
|
-
for (const scheme of authSchemes) {
|
|
44496
|
-
const { name: resolvedName, properties = {}, ...rest } = scheme;
|
|
44497
|
-
const name = resolvedName.toLowerCase();
|
|
44498
|
-
if (resolvedName !== name) {
|
|
44499
|
-
console.warn(`HttpAuthScheme has been normalized with lowercasing: '${resolvedName}' to '${name}'`);
|
|
44500
|
-
}
|
|
44501
|
-
let schemeId;
|
|
44502
|
-
if (name === "sigv4a") {
|
|
44503
|
-
schemeId = "aws.auth#sigv4a";
|
|
44504
|
-
const sigv4Present = authSchemes.find((s) => {
|
|
44505
|
-
const name2 = s.name.toLowerCase();
|
|
44506
|
-
return name2 !== "sigv4a" && name2.startsWith("sigv4");
|
|
44507
|
-
});
|
|
44508
|
-
if (import_signature_v4_multi_region.SignatureV4MultiRegion.sigv4aDependency() === "none" && sigv4Present) {
|
|
44509
|
-
continue;
|
|
44510
|
-
}
|
|
44511
|
-
} else if (name.startsWith("sigv4")) {
|
|
44512
|
-
schemeId = "aws.auth#sigv4";
|
|
44513
|
-
} else {
|
|
44514
|
-
throw new Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${name}'`);
|
|
44515
|
-
}
|
|
44516
|
-
const createOption = createHttpAuthOptionFunctions[schemeId];
|
|
44517
|
-
if (!createOption) {
|
|
44518
|
-
throw new Error(`Could not find HttpAuthOption create function for '${schemeId}'`);
|
|
44519
|
-
}
|
|
44520
|
-
const option = createOption(authParameters);
|
|
44521
|
-
option.schemeId = schemeId;
|
|
44522
|
-
option.signingProperties = { ...option.signingProperties || {}, ...rest, ...properties };
|
|
44523
|
-
options.push(option);
|
|
44524
|
-
}
|
|
44525
|
-
return options;
|
|
44526
|
-
};
|
|
44527
|
-
return endpointRuleSetHttpAuthSchemeProvider;
|
|
44528
|
-
};
|
|
44529
|
-
_defaultSTSHttpAuthSchemeProvider = (authParameters) => {
|
|
44530
|
-
const options = [];
|
|
44531
|
-
switch (authParameters.operation) {
|
|
44532
|
-
case "AssumeRoleWithWebIdentity": {
|
|
44533
|
-
options.push(createSmithyApiNoAuthHttpAuthOption4(authParameters));
|
|
44534
|
-
options.push(createAwsAuthSigv4aHttpAuthOption(authParameters));
|
|
44535
|
-
break;
|
|
44536
|
-
}
|
|
44537
|
-
default: {
|
|
44538
|
-
options.push(createAwsAuthSigv4HttpAuthOption4(authParameters));
|
|
44539
|
-
options.push(createAwsAuthSigv4aHttpAuthOption(authParameters));
|
|
44540
|
-
}
|
|
44541
|
-
}
|
|
44542
|
-
return options;
|
|
44543
|
-
};
|
|
44544
|
-
defaultSTSHttpAuthSchemeProvider = createEndpointRuleSetHttpAuthSchemeProvider(defaultEndpointResolver4, _defaultSTSHttpAuthSchemeProvider, {
|
|
44545
|
-
"aws.auth#sigv4": createAwsAuthSigv4HttpAuthOption4,
|
|
44546
|
-
"aws.auth#sigv4a": createAwsAuthSigv4aHttpAuthOption,
|
|
44547
|
-
"smithy.api#noAuth": createSmithyApiNoAuthHttpAuthOption4
|
|
44548
|
-
});
|
|
44549
|
-
resolveHttpAuthSchemeConfig4 = (config) => {
|
|
44550
|
-
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
44551
|
-
const config_1 = resolveAwsSdkSigV4AConfig(config_0);
|
|
44552
|
-
return Object.assign(config_1, {
|
|
44553
|
-
authSchemePreference: normalizeProvider(config.authSchemePreference ?? [])
|
|
44554
|
-
});
|
|
44555
|
-
};
|
|
44556
|
-
}
|
|
44557
|
-
});
|
|
44558
|
-
|
|
44559
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/EndpointParameters.js
|
|
44560
|
-
var resolveClientEndpointParameters4, commonParams4;
|
|
44561
|
-
var init_EndpointParameters4 = __esm({
|
|
44562
|
-
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/EndpointParameters.js"() {
|
|
44563
|
-
resolveClientEndpointParameters4 = (options) => {
|
|
44564
|
-
return Object.assign(options, {
|
|
44565
|
-
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
44566
|
-
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
44567
|
-
useGlobalEndpoint: options.useGlobalEndpoint ?? false,
|
|
44568
|
-
defaultSigningName: "sts"
|
|
44569
|
-
});
|
|
44570
|
-
};
|
|
44571
|
-
commonParams4 = {
|
|
44572
|
-
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
44573
|
-
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
44574
|
-
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
44575
|
-
Region: { type: "builtInParams", name: "region" },
|
|
44576
|
-
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
44577
|
-
};
|
|
44578
|
-
}
|
|
44579
|
-
});
|
|
44580
|
-
|
|
44581
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/STSServiceException.js
|
|
44582
|
-
var STSServiceException;
|
|
44583
|
-
var init_STSServiceException = __esm({
|
|
44584
|
-
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/STSServiceException.js"() {
|
|
44459
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/SigninServiceException.js
|
|
44460
|
+
var SigninServiceException;
|
|
44461
|
+
var init_SigninServiceException = __esm({
|
|
44462
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/SigninServiceException.js"() {
|
|
44585
44463
|
init_client2();
|
|
44586
|
-
|
|
44464
|
+
SigninServiceException = class _SigninServiceException extends ServiceException {
|
|
44587
44465
|
constructor(options) {
|
|
44588
44466
|
super(options);
|
|
44589
|
-
Object.setPrototypeOf(this,
|
|
44467
|
+
Object.setPrototypeOf(this, _SigninServiceException.prototype);
|
|
44590
44468
|
}
|
|
44591
44469
|
};
|
|
44592
44470
|
}
|
|
44593
44471
|
});
|
|
44594
44472
|
|
|
44595
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
44596
|
-
var
|
|
44473
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/errors.js
|
|
44474
|
+
var AccessDeniedException2, InternalServerException2, TooManyRequestsError, ValidationException;
|
|
44597
44475
|
var init_errors4 = __esm({
|
|
44598
|
-
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
44599
|
-
|
|
44600
|
-
|
|
44601
|
-
name = "
|
|
44602
|
-
$fault = "client";
|
|
44603
|
-
constructor(opts) {
|
|
44604
|
-
super({
|
|
44605
|
-
name: "ExpiredTokenException",
|
|
44606
|
-
$fault: "client",
|
|
44607
|
-
...opts
|
|
44608
|
-
});
|
|
44609
|
-
Object.setPrototypeOf(this, _ExpiredTokenException.prototype);
|
|
44610
|
-
}
|
|
44611
|
-
};
|
|
44612
|
-
MalformedPolicyDocumentException = class _MalformedPolicyDocumentException extends STSServiceException {
|
|
44613
|
-
name = "MalformedPolicyDocumentException";
|
|
44614
|
-
$fault = "client";
|
|
44615
|
-
constructor(opts) {
|
|
44616
|
-
super({
|
|
44617
|
-
name: "MalformedPolicyDocumentException",
|
|
44618
|
-
$fault: "client",
|
|
44619
|
-
...opts
|
|
44620
|
-
});
|
|
44621
|
-
Object.setPrototypeOf(this, _MalformedPolicyDocumentException.prototype);
|
|
44622
|
-
}
|
|
44623
|
-
};
|
|
44624
|
-
PackedPolicyTooLargeException = class _PackedPolicyTooLargeException extends STSServiceException {
|
|
44625
|
-
name = "PackedPolicyTooLargeException";
|
|
44626
|
-
$fault = "client";
|
|
44627
|
-
constructor(opts) {
|
|
44628
|
-
super({
|
|
44629
|
-
name: "PackedPolicyTooLargeException",
|
|
44630
|
-
$fault: "client",
|
|
44631
|
-
...opts
|
|
44632
|
-
});
|
|
44633
|
-
Object.setPrototypeOf(this, _PackedPolicyTooLargeException.prototype);
|
|
44634
|
-
}
|
|
44635
|
-
};
|
|
44636
|
-
RegionDisabledException = class _RegionDisabledException extends STSServiceException {
|
|
44637
|
-
name = "RegionDisabledException";
|
|
44476
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/errors.js"() {
|
|
44477
|
+
init_SigninServiceException();
|
|
44478
|
+
AccessDeniedException2 = class _AccessDeniedException extends SigninServiceException {
|
|
44479
|
+
name = "AccessDeniedException";
|
|
44638
44480
|
$fault = "client";
|
|
44481
|
+
error;
|
|
44639
44482
|
constructor(opts) {
|
|
44640
44483
|
super({
|
|
44641
|
-
name: "
|
|
44484
|
+
name: "AccessDeniedException",
|
|
44642
44485
|
$fault: "client",
|
|
44643
44486
|
...opts
|
|
44644
44487
|
});
|
|
44645
|
-
Object.setPrototypeOf(this,
|
|
44488
|
+
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
44489
|
+
this.error = opts.error;
|
|
44646
44490
|
}
|
|
44647
44491
|
};
|
|
44648
|
-
|
|
44649
|
-
name = "
|
|
44650
|
-
$fault = "
|
|
44492
|
+
InternalServerException2 = class _InternalServerException extends SigninServiceException {
|
|
44493
|
+
name = "InternalServerException";
|
|
44494
|
+
$fault = "server";
|
|
44495
|
+
error;
|
|
44651
44496
|
constructor(opts) {
|
|
44652
44497
|
super({
|
|
44653
|
-
name: "
|
|
44654
|
-
$fault: "
|
|
44498
|
+
name: "InternalServerException",
|
|
44499
|
+
$fault: "server",
|
|
44655
44500
|
...opts
|
|
44656
44501
|
});
|
|
44657
|
-
Object.setPrototypeOf(this,
|
|
44502
|
+
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
44503
|
+
this.error = opts.error;
|
|
44658
44504
|
}
|
|
44659
44505
|
};
|
|
44660
|
-
|
|
44661
|
-
name = "
|
|
44506
|
+
TooManyRequestsError = class _TooManyRequestsError extends SigninServiceException {
|
|
44507
|
+
name = "TooManyRequestsError";
|
|
44662
44508
|
$fault = "client";
|
|
44509
|
+
error;
|
|
44663
44510
|
constructor(opts) {
|
|
44664
44511
|
super({
|
|
44665
|
-
name: "
|
|
44512
|
+
name: "TooManyRequestsError",
|
|
44666
44513
|
$fault: "client",
|
|
44667
44514
|
...opts
|
|
44668
44515
|
});
|
|
44669
|
-
Object.setPrototypeOf(this,
|
|
44516
|
+
Object.setPrototypeOf(this, _TooManyRequestsError.prototype);
|
|
44517
|
+
this.error = opts.error;
|
|
44670
44518
|
}
|
|
44671
44519
|
};
|
|
44672
|
-
|
|
44673
|
-
name = "
|
|
44520
|
+
ValidationException = class _ValidationException extends SigninServiceException {
|
|
44521
|
+
name = "ValidationException";
|
|
44674
44522
|
$fault = "client";
|
|
44675
|
-
|
|
44523
|
+
error;
|
|
44676
44524
|
constructor(opts) {
|
|
44677
44525
|
super({
|
|
44678
|
-
name: "
|
|
44526
|
+
name: "ValidationException",
|
|
44679
44527
|
$fault: "client",
|
|
44680
44528
|
...opts
|
|
44681
44529
|
});
|
|
44682
|
-
Object.setPrototypeOf(this,
|
|
44530
|
+
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
44531
|
+
this.error = opts.error;
|
|
44683
44532
|
}
|
|
44684
44533
|
};
|
|
44685
44534
|
}
|
|
44686
44535
|
});
|
|
44687
44536
|
|
|
44688
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
44689
|
-
var
|
|
44537
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js
|
|
44538
|
+
var _ADE2, _AT2, _COAT, _COATR, _COATRB, _COATRBr, _COATRr, _ISE2, _RT2, _TMRE2, _VE, _aKI2, _aT3, _c4, _cI2, _cV2, _co2, _e4, _eI2, _gT2, _h3, _hE4, _iT2, _jN, _m3, _rT2, _rU2, _s4, _sAK2, _sT2, _se2, _tI, _tO, _tT2, n04, _s_registry4, SigninServiceException$, n0_registry4, AccessDeniedException$2, InternalServerException$2, TooManyRequestsError$, ValidationException$, errorTypeRegistries4, RefreshToken2, AccessToken$, CreateOAuth2TokenRequest$, CreateOAuth2TokenRequestBody$, CreateOAuth2TokenResponse$, CreateOAuth2TokenResponseBody$, CreateOAuth2Token$;
|
|
44690
44539
|
var init_schemas_04 = __esm({
|
|
44691
|
-
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
44540
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js"() {
|
|
44692
44541
|
init_schema();
|
|
44693
44542
|
init_errors4();
|
|
44694
|
-
|
|
44695
|
-
|
|
44696
|
-
|
|
44697
|
-
|
|
44698
|
-
|
|
44699
|
-
|
|
44700
|
-
|
|
44701
|
-
|
|
44702
|
-
|
|
44703
|
-
|
|
44704
|
-
|
|
44705
|
-
|
|
44706
|
-
|
|
44707
|
-
|
|
44708
|
-
_DS = "DurationSeconds";
|
|
44709
|
-
_E = "Expiration";
|
|
44710
|
-
_EI = "ExternalId";
|
|
44711
|
-
_ETE2 = "ExpiredTokenException";
|
|
44712
|
-
_IDPCEE = "IDPCommunicationErrorException";
|
|
44713
|
-
_IDPRCE = "IDPRejectedClaimException";
|
|
44714
|
-
_IITE = "InvalidIdentityTokenException";
|
|
44715
|
-
_K = "Key";
|
|
44716
|
-
_MPDE = "MalformedPolicyDocumentException";
|
|
44717
|
-
_P = "Policy";
|
|
44718
|
-
_PA = "PolicyArns";
|
|
44719
|
-
_PAr = "ProviderArn";
|
|
44720
|
-
_PC = "ProvidedContexts";
|
|
44721
|
-
_PCLT = "ProvidedContextsListType";
|
|
44722
|
-
_PCr = "ProvidedContext";
|
|
44723
|
-
_PDT = "PolicyDescriptorType";
|
|
44724
|
-
_PI = "ProviderId";
|
|
44725
|
-
_PPS = "PackedPolicySize";
|
|
44726
|
-
_PPTLE = "PackedPolicyTooLargeException";
|
|
44727
|
-
_Pr = "Provider";
|
|
44728
|
-
_RA = "RoleArn";
|
|
44729
|
-
_RDE = "RegionDisabledException";
|
|
44730
|
-
_RSN = "RoleSessionName";
|
|
44731
|
-
_SAK = "SecretAccessKey";
|
|
44732
|
-
_SFWIT = "SubjectFromWebIdentityToken";
|
|
44733
|
-
_SI = "SourceIdentity";
|
|
44734
|
-
_SN = "SerialNumber";
|
|
44735
|
-
_ST = "SessionToken";
|
|
44736
|
-
_T = "Tags";
|
|
44737
|
-
_TC = "TokenCode";
|
|
44738
|
-
_TTK = "TransitiveTagKeys";
|
|
44739
|
-
_Ta = "Tag";
|
|
44740
|
-
_V = "Value";
|
|
44741
|
-
_WIT = "WebIdentityToken";
|
|
44742
|
-
_a = "arn";
|
|
44743
|
-
_aKST = "accessKeySecretType";
|
|
44744
|
-
_aQE = "awsQueryError";
|
|
44543
|
+
init_SigninServiceException();
|
|
44544
|
+
_ADE2 = "AccessDeniedException";
|
|
44545
|
+
_AT2 = "AccessToken";
|
|
44546
|
+
_COAT = "CreateOAuth2Token";
|
|
44547
|
+
_COATR = "CreateOAuth2TokenRequest";
|
|
44548
|
+
_COATRB = "CreateOAuth2TokenRequestBody";
|
|
44549
|
+
_COATRBr = "CreateOAuth2TokenResponseBody";
|
|
44550
|
+
_COATRr = "CreateOAuth2TokenResponse";
|
|
44551
|
+
_ISE2 = "InternalServerException";
|
|
44552
|
+
_RT2 = "RefreshToken";
|
|
44553
|
+
_TMRE2 = "TooManyRequestsError";
|
|
44554
|
+
_VE = "ValidationException";
|
|
44555
|
+
_aKI2 = "accessKeyId";
|
|
44556
|
+
_aT3 = "accessToken";
|
|
44745
44557
|
_c4 = "client";
|
|
44746
|
-
|
|
44558
|
+
_cI2 = "clientId";
|
|
44559
|
+
_cV2 = "codeVerifier";
|
|
44560
|
+
_co2 = "code";
|
|
44747
44561
|
_e4 = "error";
|
|
44562
|
+
_eI2 = "expiresIn";
|
|
44563
|
+
_gT2 = "grantType";
|
|
44564
|
+
_h3 = "http";
|
|
44748
44565
|
_hE4 = "httpError";
|
|
44566
|
+
_iT2 = "idToken";
|
|
44567
|
+
_jN = "jsonName";
|
|
44749
44568
|
_m3 = "message";
|
|
44750
|
-
|
|
44751
|
-
|
|
44752
|
-
|
|
44753
|
-
|
|
44569
|
+
_rT2 = "refreshToken";
|
|
44570
|
+
_rU2 = "redirectUri";
|
|
44571
|
+
_s4 = "smithy.ts.sdk.synthetic.com.amazonaws.signin";
|
|
44572
|
+
_sAK2 = "secretAccessKey";
|
|
44573
|
+
_sT2 = "sessionToken";
|
|
44574
|
+
_se2 = "server";
|
|
44575
|
+
_tI = "tokenInput";
|
|
44576
|
+
_tO = "tokenOutput";
|
|
44577
|
+
_tT2 = "tokenType";
|
|
44578
|
+
n04 = "com.amazonaws.signin";
|
|
44754
44579
|
_s_registry4 = TypeRegistry.for(_s4);
|
|
44755
|
-
|
|
44756
|
-
_s_registry4.registerError(
|
|
44580
|
+
SigninServiceException$ = [-3, _s4, "SigninServiceException", 0, [], []];
|
|
44581
|
+
_s_registry4.registerError(SigninServiceException$, SigninServiceException);
|
|
44757
44582
|
n0_registry4 = TypeRegistry.for(n04);
|
|
44758
|
-
|
|
44759
|
-
-3,
|
|
44760
|
-
n04,
|
|
44761
|
-
_ETE2,
|
|
44762
|
-
{ [_aQE]: [`ExpiredTokenException`, 400], [_e4]: _c4, [_hE4]: 400 },
|
|
44763
|
-
[_m3],
|
|
44764
|
-
[0]
|
|
44765
|
-
];
|
|
44766
|
-
n0_registry4.registerError(ExpiredTokenException$2, ExpiredTokenException2);
|
|
44767
|
-
IDPCommunicationErrorException$ = [
|
|
44768
|
-
-3,
|
|
44769
|
-
n04,
|
|
44770
|
-
_IDPCEE,
|
|
44771
|
-
{ [_aQE]: [`IDPCommunicationError`, 400], [_e4]: _c4, [_hE4]: 400 },
|
|
44772
|
-
[_m3],
|
|
44773
|
-
[0]
|
|
44774
|
-
];
|
|
44775
|
-
n0_registry4.registerError(IDPCommunicationErrorException$, IDPCommunicationErrorException);
|
|
44776
|
-
IDPRejectedClaimException$ = [
|
|
44777
|
-
-3,
|
|
44778
|
-
n04,
|
|
44779
|
-
_IDPRCE,
|
|
44780
|
-
{ [_aQE]: [`IDPRejectedClaim`, 403], [_e4]: _c4, [_hE4]: 403 },
|
|
44781
|
-
[_m3],
|
|
44782
|
-
[0]
|
|
44783
|
-
];
|
|
44784
|
-
n0_registry4.registerError(IDPRejectedClaimException$, IDPRejectedClaimException);
|
|
44785
|
-
InvalidIdentityTokenException$ = [
|
|
44583
|
+
AccessDeniedException$2 = [
|
|
44786
44584
|
-3,
|
|
44787
44585
|
n04,
|
|
44788
|
-
|
|
44789
|
-
{ [
|
|
44790
|
-
[_m3],
|
|
44791
|
-
[0]
|
|
44586
|
+
_ADE2,
|
|
44587
|
+
{ [_e4]: _c4 },
|
|
44588
|
+
[_e4, _m3],
|
|
44589
|
+
[0, 0],
|
|
44590
|
+
2
|
|
44792
44591
|
];
|
|
44793
|
-
n0_registry4.registerError(
|
|
44794
|
-
|
|
44592
|
+
n0_registry4.registerError(AccessDeniedException$2, AccessDeniedException2);
|
|
44593
|
+
InternalServerException$2 = [
|
|
44795
44594
|
-3,
|
|
44796
44595
|
n04,
|
|
44797
|
-
|
|
44798
|
-
{ [
|
|
44799
|
-
[_m3],
|
|
44800
|
-
[0]
|
|
44596
|
+
_ISE2,
|
|
44597
|
+
{ [_e4]: _se2, [_hE4]: 500 },
|
|
44598
|
+
[_e4, _m3],
|
|
44599
|
+
[0, 0],
|
|
44600
|
+
2
|
|
44801
44601
|
];
|
|
44802
|
-
n0_registry4.registerError(
|
|
44803
|
-
|
|
44602
|
+
n0_registry4.registerError(InternalServerException$2, InternalServerException2);
|
|
44603
|
+
TooManyRequestsError$ = [
|
|
44804
44604
|
-3,
|
|
44805
44605
|
n04,
|
|
44806
|
-
|
|
44807
|
-
{ [
|
|
44808
|
-
[_m3],
|
|
44809
|
-
[0]
|
|
44606
|
+
_TMRE2,
|
|
44607
|
+
{ [_e4]: _c4, [_hE4]: 429 },
|
|
44608
|
+
[_e4, _m3],
|
|
44609
|
+
[0, 0],
|
|
44610
|
+
2
|
|
44810
44611
|
];
|
|
44811
|
-
n0_registry4.registerError(
|
|
44812
|
-
|
|
44612
|
+
n0_registry4.registerError(TooManyRequestsError$, TooManyRequestsError);
|
|
44613
|
+
ValidationException$ = [
|
|
44813
44614
|
-3,
|
|
44814
44615
|
n04,
|
|
44815
|
-
|
|
44816
|
-
{ [
|
|
44817
|
-
[_m3],
|
|
44818
|
-
[0]
|
|
44616
|
+
_VE,
|
|
44617
|
+
{ [_e4]: _c4, [_hE4]: 400 },
|
|
44618
|
+
[_e4, _m3],
|
|
44619
|
+
[0, 0],
|
|
44620
|
+
2
|
|
44819
44621
|
];
|
|
44820
|
-
n0_registry4.registerError(
|
|
44622
|
+
n0_registry4.registerError(ValidationException$, ValidationException);
|
|
44821
44623
|
errorTypeRegistries4 = [
|
|
44822
44624
|
_s_registry4,
|
|
44823
44625
|
n0_registry4
|
|
44824
44626
|
];
|
|
44825
|
-
|
|
44826
|
-
|
|
44827
|
-
AssumedRoleUser$ = [
|
|
44828
|
-
3,
|
|
44829
|
-
n04,
|
|
44830
|
-
_ARU,
|
|
44831
|
-
0,
|
|
44832
|
-
[_ARI, _A],
|
|
44833
|
-
[0, 0],
|
|
44834
|
-
2
|
|
44835
|
-
];
|
|
44836
|
-
AssumeRoleRequest$ = [
|
|
44837
|
-
3,
|
|
44838
|
-
n04,
|
|
44839
|
-
_ARR,
|
|
44840
|
-
0,
|
|
44841
|
-
[_RA, _RSN, _PA, _P, _DS, _T, _TTK, _EI, _SN, _TC, _SI, _PC],
|
|
44842
|
-
[0, 0, () => policyDescriptorListType, 0, 1, () => tagListType, 64 | 0, 0, 0, 0, 0, () => ProvidedContextsListType],
|
|
44843
|
-
2
|
|
44844
|
-
];
|
|
44845
|
-
AssumeRoleResponse$ = [
|
|
44846
|
-
3,
|
|
44847
|
-
n04,
|
|
44848
|
-
_ARRs,
|
|
44849
|
-
0,
|
|
44850
|
-
[_C, _ARU, _PPS, _SI],
|
|
44851
|
-
[[() => Credentials$, 0], () => AssumedRoleUser$, 1, 0]
|
|
44852
|
-
];
|
|
44853
|
-
AssumeRoleWithWebIdentityRequest$ = [
|
|
44627
|
+
RefreshToken2 = [0, n04, _RT2, 8, 0];
|
|
44628
|
+
AccessToken$ = [
|
|
44854
44629
|
3,
|
|
44855
44630
|
n04,
|
|
44856
|
-
|
|
44857
|
-
|
|
44858
|
-
[
|
|
44859
|
-
[0,
|
|
44631
|
+
_AT2,
|
|
44632
|
+
8,
|
|
44633
|
+
[_aKI2, _sAK2, _sT2],
|
|
44634
|
+
[[0, { [_jN]: _aKI2 }], [0, { [_jN]: _sAK2 }], [0, { [_jN]: _sT2 }]],
|
|
44860
44635
|
3
|
|
44861
44636
|
];
|
|
44862
|
-
|
|
44863
|
-
3,
|
|
44864
|
-
n04,
|
|
44865
|
-
_ARWWIRs,
|
|
44866
|
-
0,
|
|
44867
|
-
[_C, _SFWIT, _ARU, _PPS, _Pr, _Au, _SI],
|
|
44868
|
-
[[() => Credentials$, 0], 0, () => AssumedRoleUser$, 1, 0, 0, 0]
|
|
44869
|
-
];
|
|
44870
|
-
Credentials$ = [
|
|
44637
|
+
CreateOAuth2TokenRequest$ = [
|
|
44871
44638
|
3,
|
|
44872
44639
|
n04,
|
|
44873
|
-
|
|
44640
|
+
_COATR,
|
|
44874
44641
|
0,
|
|
44875
|
-
[
|
|
44876
|
-
[
|
|
44877
|
-
|
|
44642
|
+
[_tI],
|
|
44643
|
+
[[() => CreateOAuth2TokenRequestBody$, 16]],
|
|
44644
|
+
1
|
|
44878
44645
|
];
|
|
44879
|
-
|
|
44646
|
+
CreateOAuth2TokenRequestBody$ = [
|
|
44880
44647
|
3,
|
|
44881
44648
|
n04,
|
|
44882
|
-
|
|
44649
|
+
_COATRB,
|
|
44883
44650
|
0,
|
|
44884
|
-
[
|
|
44885
|
-
[0]
|
|
44651
|
+
[_cI2, _gT2, _co2, _rU2, _cV2, _rT2],
|
|
44652
|
+
[[0, { [_jN]: _cI2 }], [0, { [_jN]: _gT2 }], 0, [0, { [_jN]: _rU2 }], [0, { [_jN]: _cV2 }], [() => RefreshToken2, { [_jN]: _rT2 }]],
|
|
44653
|
+
2
|
|
44886
44654
|
];
|
|
44887
|
-
|
|
44655
|
+
CreateOAuth2TokenResponse$ = [
|
|
44888
44656
|
3,
|
|
44889
44657
|
n04,
|
|
44890
|
-
|
|
44658
|
+
_COATRr,
|
|
44891
44659
|
0,
|
|
44892
|
-
[
|
|
44893
|
-
[
|
|
44660
|
+
[_tO],
|
|
44661
|
+
[[() => CreateOAuth2TokenResponseBody$, 16]],
|
|
44662
|
+
1
|
|
44894
44663
|
];
|
|
44895
|
-
|
|
44664
|
+
CreateOAuth2TokenResponseBody$ = [
|
|
44896
44665
|
3,
|
|
44897
44666
|
n04,
|
|
44898
|
-
|
|
44899
|
-
0,
|
|
44900
|
-
[_K, _V],
|
|
44901
|
-
[0, 0],
|
|
44902
|
-
2
|
|
44903
|
-
];
|
|
44904
|
-
policyDescriptorListType = [
|
|
44905
|
-
1,
|
|
44906
|
-
n04,
|
|
44907
|
-
_pDLT,
|
|
44908
|
-
0,
|
|
44909
|
-
() => PolicyDescriptorType$
|
|
44910
|
-
];
|
|
44911
|
-
ProvidedContextsListType = [
|
|
44912
|
-
1,
|
|
44913
|
-
n04,
|
|
44914
|
-
_PCLT,
|
|
44915
|
-
0,
|
|
44916
|
-
() => ProvidedContext$
|
|
44917
|
-
];
|
|
44918
|
-
tagKeyListType = 64 | 0;
|
|
44919
|
-
tagListType = [
|
|
44920
|
-
1,
|
|
44921
|
-
n04,
|
|
44922
|
-
_tLT,
|
|
44667
|
+
_COATRBr,
|
|
44923
44668
|
0,
|
|
44924
|
-
|
|
44669
|
+
[_aT3, _tT2, _eI2, _rT2, _iT2],
|
|
44670
|
+
[[() => AccessToken$, { [_jN]: _aT3 }], [0, { [_jN]: _tT2 }], [1, { [_jN]: _eI2 }], [() => RefreshToken2, { [_jN]: _rT2 }], [0, { [_jN]: _iT2 }]],
|
|
44671
|
+
4
|
|
44925
44672
|
];
|
|
44926
|
-
|
|
44673
|
+
CreateOAuth2Token$ = [
|
|
44927
44674
|
9,
|
|
44928
44675
|
n04,
|
|
44929
|
-
|
|
44930
|
-
|
|
44931
|
-
() =>
|
|
44932
|
-
() =>
|
|
44933
|
-
];
|
|
44934
|
-
AssumeRoleWithWebIdentity$ = [
|
|
44935
|
-
9,
|
|
44936
|
-
n04,
|
|
44937
|
-
_ARWWI,
|
|
44938
|
-
0,
|
|
44939
|
-
() => AssumeRoleWithWebIdentityRequest$,
|
|
44940
|
-
() => AssumeRoleWithWebIdentityResponse$
|
|
44676
|
+
_COAT,
|
|
44677
|
+
{ [_h3]: ["POST", "/v1/token", 200] },
|
|
44678
|
+
() => CreateOAuth2TokenRequest$,
|
|
44679
|
+
() => CreateOAuth2TokenResponse$
|
|
44941
44680
|
];
|
|
44942
44681
|
}
|
|
44943
44682
|
});
|
|
44944
44683
|
|
|
44945
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
44946
|
-
var
|
|
44684
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js
|
|
44685
|
+
var getRuntimeConfig7;
|
|
44947
44686
|
var init_runtimeConfig_shared4 = __esm({
|
|
44948
|
-
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
44687
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js"() {
|
|
44949
44688
|
init_httpAuthSchemes2();
|
|
44950
44689
|
init_protocols2();
|
|
44951
|
-
import_signature_v4_multi_region2 = __toESM(require_dist_cjs11());
|
|
44952
44690
|
init_dist_es();
|
|
44953
44691
|
init_checksum2();
|
|
44954
44692
|
init_client2();
|
|
@@ -44959,24 +44697,19 @@ var init_runtimeConfig_shared4 = __esm({
|
|
|
44959
44697
|
init_schemas_04();
|
|
44960
44698
|
getRuntimeConfig7 = (config) => {
|
|
44961
44699
|
return {
|
|
44962
|
-
apiVersion: "
|
|
44700
|
+
apiVersion: "2023-01-01",
|
|
44963
44701
|
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
44964
44702
|
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
44965
44703
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
44966
44704
|
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver4,
|
|
44967
44705
|
extensions: config?.extensions ?? [],
|
|
44968
|
-
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ??
|
|
44706
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSigninHttpAuthSchemeProvider,
|
|
44969
44707
|
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
44970
44708
|
{
|
|
44971
44709
|
schemeId: "aws.auth#sigv4",
|
|
44972
44710
|
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
44973
44711
|
signer: new AwsSdkSigV4Signer()
|
|
44974
44712
|
},
|
|
44975
|
-
{
|
|
44976
|
-
schemeId: "aws.auth#sigv4a",
|
|
44977
|
-
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4a"),
|
|
44978
|
-
signer: new AwsSdkSigV4ASigner()
|
|
44979
|
-
},
|
|
44980
44713
|
{
|
|
44981
44714
|
schemeId: "smithy.api#noAuth",
|
|
44982
44715
|
identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
|
|
@@ -44984,17 +44717,15 @@ var init_runtimeConfig_shared4 = __esm({
|
|
|
44984
44717
|
}
|
|
44985
44718
|
],
|
|
44986
44719
|
logger: config?.logger ?? new NoOpLogger(),
|
|
44987
|
-
protocol: config?.protocol ??
|
|
44720
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
44988
44721
|
protocolSettings: config?.protocolSettings ?? {
|
|
44989
|
-
defaultNamespace: "com.amazonaws.
|
|
44722
|
+
defaultNamespace: "com.amazonaws.signin",
|
|
44990
44723
|
errorTypeRegistries: errorTypeRegistries4,
|
|
44991
|
-
|
|
44992
|
-
|
|
44993
|
-
serviceTarget: "AWSSecurityTokenServiceV20110615"
|
|
44724
|
+
version: "2023-01-01",
|
|
44725
|
+
serviceTarget: "Signin"
|
|
44994
44726
|
},
|
|
44995
|
-
serviceId: config?.serviceId ?? "
|
|
44727
|
+
serviceId: config?.serviceId ?? "Signin",
|
|
44996
44728
|
sha256: config?.sha256 ?? Sha256Node,
|
|
44997
|
-
signerConstructor: config?.signerConstructor ?? import_signature_v4_multi_region2.SignatureV4MultiRegion,
|
|
44998
44729
|
urlParser: config?.urlParser ?? parseUrl,
|
|
44999
44730
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
45000
44731
|
utf8Encoder: config?.utf8Encoder ?? toUtf8
|
|
@@ -45003,14 +44734,13 @@ var init_runtimeConfig_shared4 = __esm({
|
|
|
45003
44734
|
}
|
|
45004
44735
|
});
|
|
45005
44736
|
|
|
45006
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
44737
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js
|
|
45007
44738
|
var import_node_http_handler4, getRuntimeConfig8;
|
|
45008
44739
|
var init_runtimeConfig4 = __esm({
|
|
45009
|
-
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
44740
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js"() {
|
|
45010
44741
|
init_package();
|
|
45011
44742
|
init_client3();
|
|
45012
44743
|
init_httpAuthSchemes2();
|
|
45013
|
-
init_dist_es();
|
|
45014
44744
|
init_client2();
|
|
45015
44745
|
init_config2();
|
|
45016
44746
|
init_retry2();
|
|
@@ -45035,23 +44765,6 @@ var init_runtimeConfig4 = __esm({
|
|
|
45035
44765
|
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
45036
44766
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
45037
44767
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: package_default.version }),
|
|
45038
|
-
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
45039
|
-
{
|
|
45040
|
-
schemeId: "aws.auth#sigv4",
|
|
45041
|
-
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4") || (async (idProps) => await config.credentialDefaultProvider(idProps?.__config || {})()),
|
|
45042
|
-
signer: new AwsSdkSigV4Signer()
|
|
45043
|
-
},
|
|
45044
|
-
{
|
|
45045
|
-
schemeId: "aws.auth#sigv4a",
|
|
45046
|
-
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4a"),
|
|
45047
|
-
signer: new AwsSdkSigV4ASigner()
|
|
45048
|
-
},
|
|
45049
|
-
{
|
|
45050
|
-
schemeId: "smithy.api#noAuth",
|
|
45051
|
-
identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
|
|
45052
|
-
signer: new NoAuthSigner()
|
|
45053
|
-
}
|
|
45054
|
-
],
|
|
45055
44768
|
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
45056
44769
|
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
45057
44770
|
requestHandler: import_node_http_handler4.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
@@ -45059,7 +44772,6 @@ var init_runtimeConfig4 = __esm({
|
|
|
45059
44772
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
45060
44773
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE
|
|
45061
44774
|
}, config),
|
|
45062
|
-
sigv4aSigningRegionSet: config?.sigv4aSigningRegionSet ?? loadConfig(NODE_SIGV4A_CONFIG_OPTIONS, loaderConfig),
|
|
45063
44775
|
streamCollector: config?.streamCollector ?? import_node_http_handler4.streamCollector,
|
|
45064
44776
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
45065
44777
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -45069,10 +44781,10 @@ var init_runtimeConfig4 = __esm({
|
|
|
45069
44781
|
}
|
|
45070
44782
|
});
|
|
45071
44783
|
|
|
45072
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
44784
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthExtensionConfiguration.js
|
|
45073
44785
|
var getHttpAuthExtensionConfiguration4, resolveHttpAuthRuntimeConfig4;
|
|
45074
44786
|
var init_httpAuthExtensionConfiguration4 = __esm({
|
|
45075
|
-
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
44787
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthExtensionConfiguration.js"() {
|
|
45076
44788
|
getHttpAuthExtensionConfiguration4 = (runtimeConfig) => {
|
|
45077
44789
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
45078
44790
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -45113,10 +44825,10 @@ var init_httpAuthExtensionConfiguration4 = __esm({
|
|
|
45113
44825
|
}
|
|
45114
44826
|
});
|
|
45115
44827
|
|
|
45116
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
44828
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeExtensions.js
|
|
45117
44829
|
var resolveRuntimeExtensions4;
|
|
45118
44830
|
var init_runtimeExtensions4 = __esm({
|
|
45119
|
-
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
44831
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeExtensions.js"() {
|
|
45120
44832
|
init_client3();
|
|
45121
44833
|
init_client2();
|
|
45122
44834
|
init_protocols();
|
|
@@ -45129,10 +44841,10 @@ var init_runtimeExtensions4 = __esm({
|
|
|
45129
44841
|
}
|
|
45130
44842
|
});
|
|
45131
44843
|
|
|
45132
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
45133
|
-
var
|
|
45134
|
-
var
|
|
45135
|
-
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
44844
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js
|
|
44845
|
+
var SigninClient;
|
|
44846
|
+
var init_SigninClient = __esm({
|
|
44847
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js"() {
|
|
45136
44848
|
init_client3();
|
|
45137
44849
|
init_dist_es();
|
|
45138
44850
|
init_client2();
|
|
@@ -45145,7 +44857,7 @@ var init_STSClient = __esm({
|
|
|
45145
44857
|
init_EndpointParameters4();
|
|
45146
44858
|
init_runtimeConfig4();
|
|
45147
44859
|
init_runtimeExtensions4();
|
|
45148
|
-
|
|
44860
|
+
SigninClient = class extends Client {
|
|
45149
44861
|
config;
|
|
45150
44862
|
constructor(...[configuration]) {
|
|
45151
44863
|
const _config_0 = getRuntimeConfig8(configuration || {});
|
|
@@ -45168,10 +44880,9 @@ var init_STSClient = __esm({
|
|
|
45168
44880
|
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
45169
44881
|
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
45170
44882
|
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
45171
|
-
httpAuthSchemeParametersProvider:
|
|
44883
|
+
httpAuthSchemeParametersProvider: defaultSigninHttpAuthSchemeParametersProvider,
|
|
45172
44884
|
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
|
|
45173
|
-
"aws.auth#sigv4": config.credentials
|
|
45174
|
-
"aws.auth#sigv4a": config.credentials
|
|
44885
|
+
"aws.auth#sigv4": config.credentials
|
|
45175
44886
|
})
|
|
45176
44887
|
}));
|
|
45177
44888
|
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
@@ -45183,262 +44894,394 @@ var init_STSClient = __esm({
|
|
|
45183
44894
|
}
|
|
45184
44895
|
});
|
|
45185
44896
|
|
|
45186
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
44897
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commandBuilder.js
|
|
45187
44898
|
var command4, _ep04, _mw04;
|
|
45188
44899
|
var init_commandBuilder4 = __esm({
|
|
45189
|
-
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
44900
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commandBuilder.js"() {
|
|
45190
44901
|
init_client2();
|
|
45191
44902
|
init_endpoints();
|
|
45192
44903
|
init_EndpointParameters4();
|
|
45193
|
-
command4 = makeBuilder(commonParams4, "
|
|
45194
|
-
_ep04 = {
|
|
45195
|
-
|
|
45196
|
-
}
|
|
45197
|
-
});
|
|
45198
|
-
|
|
45199
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js
|
|
45200
|
-
var AssumeRoleCommand;
|
|
45201
|
-
var init_AssumeRoleCommand = __esm({
|
|
45202
|
-
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js"() {
|
|
45203
|
-
init_commandBuilder4();
|
|
45204
|
-
init_schemas_04();
|
|
45205
|
-
AssumeRoleCommand = class extends command4(_ep04, _mw04, "AssumeRole", AssumeRole$) {
|
|
44904
|
+
command4 = makeBuilder(commonParams4, "Signin", "SigninClient", getEndpointPlugin);
|
|
44905
|
+
_ep04 = {
|
|
44906
|
+
IsControlPlane: { type: "staticContextParams", value: false }
|
|
45206
44907
|
};
|
|
44908
|
+
_mw04 = (Command2, cs, config, o3) => [];
|
|
45207
44909
|
}
|
|
45208
44910
|
});
|
|
45209
44911
|
|
|
45210
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
45211
|
-
var
|
|
45212
|
-
var
|
|
45213
|
-
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
44912
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js
|
|
44913
|
+
var CreateOAuth2TokenCommand;
|
|
44914
|
+
var init_CreateOAuth2TokenCommand = __esm({
|
|
44915
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js"() {
|
|
45214
44916
|
init_commandBuilder4();
|
|
45215
44917
|
init_schemas_04();
|
|
45216
|
-
|
|
44918
|
+
CreateOAuth2TokenCommand = class extends command4(_ep04, _mw04, "CreateOAuth2Token", CreateOAuth2Token$) {
|
|
45217
44919
|
};
|
|
45218
44920
|
}
|
|
45219
44921
|
});
|
|
45220
44922
|
|
|
45221
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
45222
|
-
var commands4,
|
|
45223
|
-
var
|
|
45224
|
-
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
44923
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js
|
|
44924
|
+
var commands4, Signin;
|
|
44925
|
+
var init_Signin = __esm({
|
|
44926
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js"() {
|
|
45225
44927
|
init_client2();
|
|
45226
|
-
|
|
45227
|
-
|
|
45228
|
-
init_STSClient();
|
|
44928
|
+
init_CreateOAuth2TokenCommand();
|
|
44929
|
+
init_SigninClient();
|
|
45229
44930
|
commands4 = {
|
|
45230
|
-
|
|
45231
|
-
AssumeRoleWithWebIdentityCommand
|
|
44931
|
+
CreateOAuth2TokenCommand
|
|
45232
44932
|
};
|
|
45233
|
-
|
|
44933
|
+
Signin = class extends SigninClient {
|
|
45234
44934
|
};
|
|
45235
|
-
createAggregatedClient(commands4,
|
|
44935
|
+
createAggregatedClient(commands4, Signin);
|
|
45236
44936
|
}
|
|
45237
44937
|
});
|
|
45238
44938
|
|
|
45239
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
44939
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/index.js
|
|
45240
44940
|
var init_commands4 = __esm({
|
|
45241
|
-
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
45242
|
-
|
|
45243
|
-
init_AssumeRoleWithWebIdentityCommand();
|
|
45244
|
-
}
|
|
45245
|
-
});
|
|
45246
|
-
|
|
45247
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/models_0.js
|
|
45248
|
-
var init_models_04 = __esm({
|
|
45249
|
-
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/models_0.js"() {
|
|
44941
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/index.js"() {
|
|
44942
|
+
init_CreateOAuth2TokenCommand();
|
|
45250
44943
|
}
|
|
45251
44944
|
});
|
|
45252
44945
|
|
|
45253
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
45254
|
-
var
|
|
45255
|
-
var
|
|
45256
|
-
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
45257
|
-
|
|
45258
|
-
|
|
45259
|
-
|
|
45260
|
-
|
|
45261
|
-
|
|
45262
|
-
|
|
45263
|
-
|
|
45264
|
-
|
|
45265
|
-
|
|
45266
|
-
|
|
45267
|
-
return void 0;
|
|
45268
|
-
};
|
|
45269
|
-
resolveRegion = async (_region, _parentRegion, credentialProviderLogger, loaderConfig = {}) => {
|
|
45270
|
-
const region = typeof _region === "function" ? await _region() : _region;
|
|
45271
|
-
const parentRegion = typeof _parentRegion === "function" ? await _parentRegion() : _parentRegion;
|
|
45272
|
-
let stsDefaultRegion = "";
|
|
45273
|
-
const resolvedRegion = region ?? parentRegion ?? (stsDefaultRegion = await stsRegionDefaultResolver(loaderConfig)());
|
|
45274
|
-
credentialProviderLogger?.debug?.("@aws-sdk/client-sts::resolveRegion", "accepting first of:", `${region} (credential provider clientConfig)`, `${parentRegion} (contextual client)`, `${stsDefaultRegion} (STS default: AWS_REGION, profile region, or us-east-1)`);
|
|
45275
|
-
return resolvedRegion;
|
|
45276
|
-
};
|
|
45277
|
-
getDefaultRoleAssumer = (stsOptions, STSClient2) => {
|
|
45278
|
-
let stsClient;
|
|
45279
|
-
let closureSourceCreds;
|
|
45280
|
-
return async (sourceCreds, params) => {
|
|
45281
|
-
closureSourceCreds = sourceCreds;
|
|
45282
|
-
if (!stsClient) {
|
|
45283
|
-
const { logger: logger2 = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, userAgentAppId = stsOptions?.parentClientConfig?.userAgentAppId } = stsOptions;
|
|
45284
|
-
const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, {
|
|
45285
|
-
logger: logger2,
|
|
45286
|
-
profile
|
|
45287
|
-
});
|
|
45288
|
-
const isCompatibleRequestHandler = !isH2(requestHandler);
|
|
45289
|
-
stsClient = new STSClient2({
|
|
45290
|
-
...stsOptions,
|
|
45291
|
-
userAgentAppId,
|
|
45292
|
-
profile,
|
|
45293
|
-
credentialDefaultProvider: () => async () => closureSourceCreds,
|
|
45294
|
-
region: resolvedRegion,
|
|
45295
|
-
requestHandler: isCompatibleRequestHandler ? requestHandler : void 0,
|
|
45296
|
-
logger: logger2
|
|
45297
|
-
});
|
|
45298
|
-
}
|
|
45299
|
-
const { Credentials, AssumedRoleUser } = await stsClient.send(new AssumeRoleCommand(params));
|
|
45300
|
-
if (!Credentials || !Credentials.AccessKeyId || !Credentials.SecretAccessKey) {
|
|
45301
|
-
throw new Error(`Invalid response from STS.assumeRole call with role ${params.RoleArn}`);
|
|
45302
|
-
}
|
|
45303
|
-
const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser);
|
|
45304
|
-
const credentials = {
|
|
45305
|
-
accessKeyId: Credentials.AccessKeyId,
|
|
45306
|
-
secretAccessKey: Credentials.SecretAccessKey,
|
|
45307
|
-
sessionToken: Credentials.SessionToken,
|
|
45308
|
-
expiration: Credentials.Expiration,
|
|
45309
|
-
...Credentials.CredentialScope && { credentialScope: Credentials.CredentialScope },
|
|
45310
|
-
...accountId && { accountId }
|
|
45311
|
-
};
|
|
45312
|
-
setCredentialFeature(credentials, "CREDENTIALS_STS_ASSUME_ROLE", "i");
|
|
45313
|
-
return credentials;
|
|
45314
|
-
};
|
|
45315
|
-
};
|
|
45316
|
-
getDefaultRoleAssumerWithWebIdentity = (stsOptions, STSClient2) => {
|
|
45317
|
-
let stsClient;
|
|
45318
|
-
return async (params) => {
|
|
45319
|
-
if (!stsClient) {
|
|
45320
|
-
const { logger: logger2 = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, userAgentAppId = stsOptions?.parentClientConfig?.userAgentAppId } = stsOptions;
|
|
45321
|
-
const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, {
|
|
45322
|
-
logger: logger2,
|
|
45323
|
-
profile
|
|
45324
|
-
});
|
|
45325
|
-
const isCompatibleRequestHandler = !isH2(requestHandler);
|
|
45326
|
-
stsClient = new STSClient2({
|
|
45327
|
-
...stsOptions,
|
|
45328
|
-
userAgentAppId,
|
|
45329
|
-
profile,
|
|
45330
|
-
region: resolvedRegion,
|
|
45331
|
-
requestHandler: isCompatibleRequestHandler ? requestHandler : void 0,
|
|
45332
|
-
logger: logger2
|
|
45333
|
-
});
|
|
45334
|
-
}
|
|
45335
|
-
const { Credentials, AssumedRoleUser } = await stsClient.send(new AssumeRoleWithWebIdentityCommand(params));
|
|
45336
|
-
if (!Credentials || !Credentials.AccessKeyId || !Credentials.SecretAccessKey) {
|
|
45337
|
-
throw new Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${params.RoleArn}`);
|
|
45338
|
-
}
|
|
45339
|
-
const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser);
|
|
45340
|
-
const credentials = {
|
|
45341
|
-
accessKeyId: Credentials.AccessKeyId,
|
|
45342
|
-
secretAccessKey: Credentials.SecretAccessKey,
|
|
45343
|
-
sessionToken: Credentials.SessionToken,
|
|
45344
|
-
expiration: Credentials.Expiration,
|
|
45345
|
-
...Credentials.CredentialScope && { credentialScope: Credentials.CredentialScope },
|
|
45346
|
-
...accountId && { accountId }
|
|
45347
|
-
};
|
|
45348
|
-
if (accountId) {
|
|
45349
|
-
setCredentialFeature(credentials, "RESOLVED_ACCOUNT_ID", "T");
|
|
45350
|
-
}
|
|
45351
|
-
setCredentialFeature(credentials, "CREDENTIALS_STS_ASSUME_ROLE_WEB_ID", "k");
|
|
45352
|
-
return credentials;
|
|
45353
|
-
};
|
|
45354
|
-
};
|
|
45355
|
-
isH2 = (requestHandler) => {
|
|
45356
|
-
return requestHandler?.metadata?.handlerProtocol === "h2";
|
|
44946
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js
|
|
44947
|
+
var OAuth2ErrorCode;
|
|
44948
|
+
var init_enums2 = __esm({
|
|
44949
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js"() {
|
|
44950
|
+
OAuth2ErrorCode = {
|
|
44951
|
+
AUTHCODE_EXPIRED: "AUTHCODE_EXPIRED",
|
|
44952
|
+
CONFLICT: "CONFLICT",
|
|
44953
|
+
INSUFFICIENT_PERMISSIONS: "INSUFFICIENT_PERMISSIONS",
|
|
44954
|
+
INVALID_REQUEST: "INVALID_REQUEST",
|
|
44955
|
+
RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND",
|
|
44956
|
+
SERVER_ERROR: "server_error",
|
|
44957
|
+
SERVICE_QUOTA_EXCEEDED: "SERVICE_QUOTA_EXCEEDED",
|
|
44958
|
+
TOKEN_EXPIRED: "TOKEN_EXPIRED",
|
|
44959
|
+
USER_CREDENTIALS_CHANGED: "USER_CREDENTIALS_CHANGED"
|
|
45357
44960
|
};
|
|
45358
44961
|
}
|
|
45359
44962
|
});
|
|
45360
44963
|
|
|
45361
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
45362
|
-
var
|
|
45363
|
-
|
|
45364
|
-
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultRoleAssumers.js"() {
|
|
45365
|
-
init_defaultStsRoleAssumers();
|
|
45366
|
-
init_STSClient();
|
|
45367
|
-
getCustomizableStsClientCtor = (baseCtor, customizations) => {
|
|
45368
|
-
if (!customizations)
|
|
45369
|
-
return baseCtor;
|
|
45370
|
-
else
|
|
45371
|
-
return class CustomizableSTSClient extends baseCtor {
|
|
45372
|
-
constructor(config) {
|
|
45373
|
-
super(config);
|
|
45374
|
-
for (const customization of customizations) {
|
|
45375
|
-
this.middlewareStack.use(customization);
|
|
45376
|
-
}
|
|
45377
|
-
}
|
|
45378
|
-
};
|
|
45379
|
-
};
|
|
45380
|
-
getDefaultRoleAssumer2 = (stsOptions = {}, stsPlugins) => getDefaultRoleAssumer(stsOptions, getCustomizableStsClientCtor(STSClient, stsPlugins));
|
|
45381
|
-
getDefaultRoleAssumerWithWebIdentity2 = (stsOptions = {}, stsPlugins) => getDefaultRoleAssumerWithWebIdentity(stsOptions, getCustomizableStsClientCtor(STSClient, stsPlugins));
|
|
45382
|
-
decorateDefaultCredentialProvider = (provider) => (input) => provider({
|
|
45383
|
-
roleAssumer: getDefaultRoleAssumer2(input),
|
|
45384
|
-
roleAssumerWithWebIdentity: getDefaultRoleAssumerWithWebIdentity2(input),
|
|
45385
|
-
...input
|
|
45386
|
-
});
|
|
44964
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/models_0.js
|
|
44965
|
+
var init_models_04 = __esm({
|
|
44966
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/models_0.js"() {
|
|
45387
44967
|
}
|
|
45388
44968
|
});
|
|
45389
44969
|
|
|
45390
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
45391
|
-
var
|
|
45392
|
-
__export(
|
|
44970
|
+
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/index.js
|
|
44971
|
+
var signin_exports = {};
|
|
44972
|
+
__export(signin_exports, {
|
|
45393
44973
|
$Command: () => Command,
|
|
45394
|
-
|
|
45395
|
-
|
|
45396
|
-
|
|
45397
|
-
|
|
45398
|
-
|
|
45399
|
-
|
|
45400
|
-
|
|
45401
|
-
|
|
45402
|
-
|
|
45403
|
-
|
|
45404
|
-
|
|
45405
|
-
|
|
45406
|
-
|
|
45407
|
-
|
|
45408
|
-
|
|
45409
|
-
|
|
45410
|
-
|
|
45411
|
-
|
|
45412
|
-
|
|
45413
|
-
|
|
45414
|
-
PackedPolicyTooLargeException: () => PackedPolicyTooLargeException,
|
|
45415
|
-
PackedPolicyTooLargeException$: () => PackedPolicyTooLargeException$,
|
|
45416
|
-
PolicyDescriptorType$: () => PolicyDescriptorType$,
|
|
45417
|
-
ProvidedContext$: () => ProvidedContext$,
|
|
45418
|
-
RegionDisabledException: () => RegionDisabledException,
|
|
45419
|
-
RegionDisabledException$: () => RegionDisabledException$,
|
|
45420
|
-
STS: () => STS,
|
|
45421
|
-
STSClient: () => STSClient,
|
|
45422
|
-
STSServiceException: () => STSServiceException,
|
|
45423
|
-
STSServiceException$: () => STSServiceException$,
|
|
45424
|
-
Tag$: () => Tag$,
|
|
44974
|
+
AccessDeniedException: () => AccessDeniedException2,
|
|
44975
|
+
AccessDeniedException$: () => AccessDeniedException$2,
|
|
44976
|
+
AccessToken$: () => AccessToken$,
|
|
44977
|
+
CreateOAuth2Token$: () => CreateOAuth2Token$,
|
|
44978
|
+
CreateOAuth2TokenCommand: () => CreateOAuth2TokenCommand,
|
|
44979
|
+
CreateOAuth2TokenRequest$: () => CreateOAuth2TokenRequest$,
|
|
44980
|
+
CreateOAuth2TokenRequestBody$: () => CreateOAuth2TokenRequestBody$,
|
|
44981
|
+
CreateOAuth2TokenResponse$: () => CreateOAuth2TokenResponse$,
|
|
44982
|
+
CreateOAuth2TokenResponseBody$: () => CreateOAuth2TokenResponseBody$,
|
|
44983
|
+
InternalServerException: () => InternalServerException2,
|
|
44984
|
+
InternalServerException$: () => InternalServerException$2,
|
|
44985
|
+
OAuth2ErrorCode: () => OAuth2ErrorCode,
|
|
44986
|
+
Signin: () => Signin,
|
|
44987
|
+
SigninClient: () => SigninClient,
|
|
44988
|
+
SigninServiceException: () => SigninServiceException,
|
|
44989
|
+
SigninServiceException$: () => SigninServiceException$,
|
|
44990
|
+
TooManyRequestsError: () => TooManyRequestsError,
|
|
44991
|
+
TooManyRequestsError$: () => TooManyRequestsError$,
|
|
44992
|
+
ValidationException: () => ValidationException,
|
|
44993
|
+
ValidationException$: () => ValidationException$,
|
|
45425
44994
|
__Client: () => Client,
|
|
45426
|
-
|
|
45427
|
-
errorTypeRegistries: () => errorTypeRegistries4,
|
|
45428
|
-
getDefaultRoleAssumer: () => getDefaultRoleAssumer2,
|
|
45429
|
-
getDefaultRoleAssumerWithWebIdentity: () => getDefaultRoleAssumerWithWebIdentity2
|
|
44995
|
+
errorTypeRegistries: () => errorTypeRegistries4
|
|
45430
44996
|
});
|
|
45431
|
-
var
|
|
45432
|
-
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/
|
|
45433
|
-
|
|
45434
|
-
|
|
44997
|
+
var init_signin = __esm({
|
|
44998
|
+
"../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/index.js"() {
|
|
44999
|
+
init_SigninClient();
|
|
45000
|
+
init_Signin();
|
|
45435
45001
|
init_commands4();
|
|
45436
45002
|
init_client2();
|
|
45437
45003
|
init_schemas_04();
|
|
45004
|
+
init_enums2();
|
|
45438
45005
|
init_errors4();
|
|
45439
45006
|
init_models_04();
|
|
45440
|
-
|
|
45441
|
-
|
|
45007
|
+
init_SigninServiceException();
|
|
45008
|
+
}
|
|
45009
|
+
});
|
|
45010
|
+
|
|
45011
|
+
// ../../node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js
|
|
45012
|
+
var require_dist_cjs11 = __commonJS({
|
|
45013
|
+
"../../node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js"(exports2) {
|
|
45014
|
+
var { setCredentialFeature: setCredentialFeature2 } = (init_client3(), __toCommonJS(client_exports2));
|
|
45015
|
+
var { CredentialsProviderError: CredentialsProviderError2, readFile: readFile3, parseKnownFiles: parseKnownFiles2, getProfileName: getProfileName2 } = (init_config2(), __toCommonJS(config_exports));
|
|
45016
|
+
var { HttpRequest: HttpRequest2 } = (init_protocols(), __toCommonJS(protocols_exports));
|
|
45017
|
+
var { createHash: createHash5, createPrivateKey, createPublicKey, sign: sign2 } = require("node:crypto");
|
|
45018
|
+
var { promises } = require("node:fs");
|
|
45019
|
+
var { homedir: homedir2 } = require("node:os");
|
|
45020
|
+
var { dirname, join: join5 } = require("node:path");
|
|
45021
|
+
var LoginCredentialsFetcher = class _LoginCredentialsFetcher {
|
|
45022
|
+
profileData;
|
|
45023
|
+
init;
|
|
45024
|
+
callerClientConfig;
|
|
45025
|
+
static REFRESH_THRESHOLD = 5 * 60 * 1e3;
|
|
45026
|
+
constructor(profileData, init, callerClientConfig) {
|
|
45027
|
+
this.profileData = profileData;
|
|
45028
|
+
this.init = init;
|
|
45029
|
+
this.callerClientConfig = callerClientConfig;
|
|
45030
|
+
}
|
|
45031
|
+
async loadCredentials() {
|
|
45032
|
+
const token = await this.loadToken();
|
|
45033
|
+
if (!token) {
|
|
45034
|
+
throw new CredentialsProviderError2(`Failed to load a token for session ${this.loginSession}, please re-authenticate using aws login`, { tryNextLink: false, logger: this.logger });
|
|
45035
|
+
}
|
|
45036
|
+
const accessToken = token.accessToken;
|
|
45037
|
+
const now = Date.now();
|
|
45038
|
+
const expiryTime = new Date(accessToken.expiresAt).getTime();
|
|
45039
|
+
const timeUntilExpiry = expiryTime - now;
|
|
45040
|
+
if (timeUntilExpiry <= _LoginCredentialsFetcher.REFRESH_THRESHOLD) {
|
|
45041
|
+
return this.refresh(token);
|
|
45042
|
+
}
|
|
45043
|
+
return {
|
|
45044
|
+
accessKeyId: accessToken.accessKeyId,
|
|
45045
|
+
secretAccessKey: accessToken.secretAccessKey,
|
|
45046
|
+
sessionToken: accessToken.sessionToken,
|
|
45047
|
+
accountId: accessToken.accountId,
|
|
45048
|
+
expiration: new Date(accessToken.expiresAt)
|
|
45049
|
+
};
|
|
45050
|
+
}
|
|
45051
|
+
get logger() {
|
|
45052
|
+
return this.init?.logger;
|
|
45053
|
+
}
|
|
45054
|
+
get loginSession() {
|
|
45055
|
+
return this.profileData.login_session;
|
|
45056
|
+
}
|
|
45057
|
+
async refresh(token) {
|
|
45058
|
+
const { SigninClient: SigninClient2, CreateOAuth2TokenCommand: CreateOAuth2TokenCommand2 } = (init_signin(), __toCommonJS(signin_exports));
|
|
45059
|
+
const { logger: logger2, userAgentAppId } = this.callerClientConfig ?? {};
|
|
45060
|
+
const isH22 = (requestHandler2) => {
|
|
45061
|
+
return requestHandler2?.metadata?.handlerProtocol === "h2";
|
|
45062
|
+
};
|
|
45063
|
+
const requestHandler = isH22(this.callerClientConfig?.requestHandler) ? void 0 : this.callerClientConfig?.requestHandler;
|
|
45064
|
+
const region = this.profileData.region ?? await this.callerClientConfig?.region?.() ?? process.env.AWS_REGION;
|
|
45065
|
+
const client = new SigninClient2({
|
|
45066
|
+
credentials: {
|
|
45067
|
+
accessKeyId: "",
|
|
45068
|
+
secretAccessKey: ""
|
|
45069
|
+
},
|
|
45070
|
+
region,
|
|
45071
|
+
requestHandler,
|
|
45072
|
+
logger: logger2,
|
|
45073
|
+
userAgentAppId,
|
|
45074
|
+
...this.init?.clientConfig
|
|
45075
|
+
});
|
|
45076
|
+
this.createDPoPInterceptor(client.middlewareStack);
|
|
45077
|
+
const commandInput = {
|
|
45078
|
+
tokenInput: {
|
|
45079
|
+
clientId: token.clientId,
|
|
45080
|
+
refreshToken: token.refreshToken,
|
|
45081
|
+
grantType: "refresh_token"
|
|
45082
|
+
}
|
|
45083
|
+
};
|
|
45084
|
+
try {
|
|
45085
|
+
const response = await client.send(new CreateOAuth2TokenCommand2(commandInput));
|
|
45086
|
+
const { accessKeyId, secretAccessKey, sessionToken } = response.tokenOutput?.accessToken ?? {};
|
|
45087
|
+
const { refreshToken, expiresIn } = response.tokenOutput ?? {};
|
|
45088
|
+
if (!accessKeyId || !secretAccessKey || !sessionToken || !refreshToken) {
|
|
45089
|
+
throw new CredentialsProviderError2("Token refresh response missing required fields", {
|
|
45090
|
+
logger: this.logger,
|
|
45091
|
+
tryNextLink: false
|
|
45092
|
+
});
|
|
45093
|
+
}
|
|
45094
|
+
const expiresInMs = (expiresIn ?? 900) * 1e3;
|
|
45095
|
+
const expiration = new Date(Date.now() + expiresInMs);
|
|
45096
|
+
const updatedToken = {
|
|
45097
|
+
...token,
|
|
45098
|
+
accessToken: {
|
|
45099
|
+
...token.accessToken,
|
|
45100
|
+
accessKeyId,
|
|
45101
|
+
secretAccessKey,
|
|
45102
|
+
sessionToken,
|
|
45103
|
+
expiresAt: expiration.toISOString()
|
|
45104
|
+
},
|
|
45105
|
+
refreshToken
|
|
45106
|
+
};
|
|
45107
|
+
await this.saveToken(updatedToken);
|
|
45108
|
+
const newAccessToken = updatedToken.accessToken;
|
|
45109
|
+
return {
|
|
45110
|
+
accessKeyId: newAccessToken.accessKeyId,
|
|
45111
|
+
secretAccessKey: newAccessToken.secretAccessKey,
|
|
45112
|
+
sessionToken: newAccessToken.sessionToken,
|
|
45113
|
+
accountId: newAccessToken.accountId,
|
|
45114
|
+
expiration
|
|
45115
|
+
};
|
|
45116
|
+
} catch (error3) {
|
|
45117
|
+
if (error3.name === "AccessDeniedException") {
|
|
45118
|
+
const errorType = error3.error;
|
|
45119
|
+
let message;
|
|
45120
|
+
switch (errorType) {
|
|
45121
|
+
case "TOKEN_EXPIRED":
|
|
45122
|
+
message = "Your session has expired. Please reauthenticate.";
|
|
45123
|
+
break;
|
|
45124
|
+
case "USER_CREDENTIALS_CHANGED":
|
|
45125
|
+
message = "Unable to refresh credentials because of a change in your password. Please reauthenticate with your new password.";
|
|
45126
|
+
break;
|
|
45127
|
+
case "INSUFFICIENT_PERMISSIONS":
|
|
45128
|
+
message = "Unable to refresh credentials due to insufficient permissions. You may be missing permission for the 'CreateOAuth2Token' action.";
|
|
45129
|
+
break;
|
|
45130
|
+
default:
|
|
45131
|
+
message = `Failed to refresh token: ${String(error3)}. Please re-authenticate using \`aws login\``;
|
|
45132
|
+
}
|
|
45133
|
+
throw new CredentialsProviderError2(message, { logger: this.logger, tryNextLink: false });
|
|
45134
|
+
}
|
|
45135
|
+
throw new CredentialsProviderError2(`Failed to refresh token: ${String(error3)}. Please re-authenticate using aws login`, { logger: this.logger });
|
|
45136
|
+
}
|
|
45137
|
+
}
|
|
45138
|
+
async loadToken() {
|
|
45139
|
+
const tokenFilePath = this.getTokenFilePath();
|
|
45140
|
+
try {
|
|
45141
|
+
let tokenData;
|
|
45142
|
+
try {
|
|
45143
|
+
tokenData = await readFile3(tokenFilePath, { ignoreCache: this.init?.ignoreCache });
|
|
45144
|
+
} catch {
|
|
45145
|
+
tokenData = await promises.readFile(tokenFilePath, "utf8");
|
|
45146
|
+
}
|
|
45147
|
+
const token = JSON.parse(tokenData);
|
|
45148
|
+
const missingFields = ["accessToken", "clientId", "refreshToken", "dpopKey"].filter((k5) => !token[k5]);
|
|
45149
|
+
if (!token.accessToken?.accountId) {
|
|
45150
|
+
missingFields.push("accountId");
|
|
45151
|
+
}
|
|
45152
|
+
if (missingFields.length > 0) {
|
|
45153
|
+
throw new CredentialsProviderError2(`Token validation failed, missing fields: ${missingFields.join(", ")}`, {
|
|
45154
|
+
logger: this.logger,
|
|
45155
|
+
tryNextLink: false
|
|
45156
|
+
});
|
|
45157
|
+
}
|
|
45158
|
+
return token;
|
|
45159
|
+
} catch (error3) {
|
|
45160
|
+
throw new CredentialsProviderError2(`Failed to load token from ${tokenFilePath}: ${String(error3)}`, {
|
|
45161
|
+
logger: this.logger,
|
|
45162
|
+
tryNextLink: false
|
|
45163
|
+
});
|
|
45164
|
+
}
|
|
45165
|
+
}
|
|
45166
|
+
async saveToken(token) {
|
|
45167
|
+
const tokenFilePath = this.getTokenFilePath();
|
|
45168
|
+
const directory = dirname(tokenFilePath);
|
|
45169
|
+
try {
|
|
45170
|
+
await promises.mkdir(directory, { recursive: true });
|
|
45171
|
+
} catch (error3) {
|
|
45172
|
+
}
|
|
45173
|
+
await promises.writeFile(tokenFilePath, JSON.stringify(token, null, 2), "utf8");
|
|
45174
|
+
}
|
|
45175
|
+
getTokenFilePath() {
|
|
45176
|
+
const directory = process.env.AWS_LOGIN_CACHE_DIRECTORY ?? join5(homedir2(), ".aws", "login", "cache");
|
|
45177
|
+
const loginSessionBytes = Buffer.from(this.loginSession, "utf8");
|
|
45178
|
+
const loginSessionSha256 = createHash5("sha256").update(loginSessionBytes).digest("hex");
|
|
45179
|
+
return join5(directory, `${loginSessionSha256}.json`);
|
|
45180
|
+
}
|
|
45181
|
+
derToRawSignature(derSignature) {
|
|
45182
|
+
let offset = 2;
|
|
45183
|
+
if (derSignature[offset] !== 2) {
|
|
45184
|
+
throw new Error("Invalid DER signature");
|
|
45185
|
+
}
|
|
45186
|
+
offset++;
|
|
45187
|
+
const rLength = derSignature[offset++];
|
|
45188
|
+
let r5 = derSignature.subarray(offset, offset + rLength);
|
|
45189
|
+
offset += rLength;
|
|
45190
|
+
if (derSignature[offset] !== 2) {
|
|
45191
|
+
throw new Error("Invalid DER signature");
|
|
45192
|
+
}
|
|
45193
|
+
offset++;
|
|
45194
|
+
const sLength = derSignature[offset++];
|
|
45195
|
+
let s = derSignature.subarray(offset, offset + sLength);
|
|
45196
|
+
r5 = r5[0] === 0 ? r5.subarray(1) : r5;
|
|
45197
|
+
s = s[0] === 0 ? s.subarray(1) : s;
|
|
45198
|
+
const rPadded = Buffer.concat([Buffer.alloc(32 - r5.length), r5]);
|
|
45199
|
+
const sPadded = Buffer.concat([Buffer.alloc(32 - s.length), s]);
|
|
45200
|
+
return Buffer.concat([rPadded, sPadded]);
|
|
45201
|
+
}
|
|
45202
|
+
createDPoPInterceptor(middlewareStack) {
|
|
45203
|
+
middlewareStack.add((next) => async (args) => {
|
|
45204
|
+
if (HttpRequest2.isInstance(args.request)) {
|
|
45205
|
+
const request = args.request;
|
|
45206
|
+
const actualEndpoint = `${request.protocol}//${request.hostname}${request.port ? `:${request.port}` : ""}${request.path}`;
|
|
45207
|
+
const dpop = await this.generateDpop(request.method, actualEndpoint);
|
|
45208
|
+
request.headers = {
|
|
45209
|
+
...request.headers,
|
|
45210
|
+
DPoP: dpop
|
|
45211
|
+
};
|
|
45212
|
+
}
|
|
45213
|
+
return next(args);
|
|
45214
|
+
}, {
|
|
45215
|
+
step: "finalizeRequest",
|
|
45216
|
+
name: "dpopInterceptor",
|
|
45217
|
+
override: true
|
|
45218
|
+
});
|
|
45219
|
+
}
|
|
45220
|
+
async generateDpop(method = "POST", endpoint) {
|
|
45221
|
+
const token = await this.loadToken();
|
|
45222
|
+
try {
|
|
45223
|
+
const privateKey = createPrivateKey({
|
|
45224
|
+
key: token.dpopKey,
|
|
45225
|
+
format: "pem",
|
|
45226
|
+
type: "sec1"
|
|
45227
|
+
});
|
|
45228
|
+
const publicKey = createPublicKey(privateKey);
|
|
45229
|
+
const publicDer = publicKey.export({ format: "der", type: "spki" });
|
|
45230
|
+
let pointStart = -1;
|
|
45231
|
+
for (let i5 = 0; i5 < publicDer.length; i5++) {
|
|
45232
|
+
if (publicDer[i5] === 4) {
|
|
45233
|
+
pointStart = i5;
|
|
45234
|
+
break;
|
|
45235
|
+
}
|
|
45236
|
+
}
|
|
45237
|
+
const x = publicDer.slice(pointStart + 1, pointStart + 33);
|
|
45238
|
+
const y = publicDer.slice(pointStart + 33, pointStart + 65);
|
|
45239
|
+
const header = {
|
|
45240
|
+
alg: "ES256",
|
|
45241
|
+
typ: "dpop+jwt",
|
|
45242
|
+
jwk: {
|
|
45243
|
+
kty: "EC",
|
|
45244
|
+
crv: "P-256",
|
|
45245
|
+
x: x.toString("base64url"),
|
|
45246
|
+
y: y.toString("base64url")
|
|
45247
|
+
}
|
|
45248
|
+
};
|
|
45249
|
+
const payload2 = {
|
|
45250
|
+
jti: crypto.randomUUID(),
|
|
45251
|
+
htm: method,
|
|
45252
|
+
htu: endpoint,
|
|
45253
|
+
iat: Math.floor(Date.now() / 1e3)
|
|
45254
|
+
};
|
|
45255
|
+
const headerB64 = Buffer.from(JSON.stringify(header)).toString("base64url");
|
|
45256
|
+
const payloadB64 = Buffer.from(JSON.stringify(payload2)).toString("base64url");
|
|
45257
|
+
const message = `${headerB64}.${payloadB64}`;
|
|
45258
|
+
const asn1Signature = sign2("sha256", Buffer.from(message), privateKey);
|
|
45259
|
+
const rawSignature = this.derToRawSignature(asn1Signature);
|
|
45260
|
+
const signatureB64 = rawSignature.toString("base64url");
|
|
45261
|
+
return `${message}.${signatureB64}`;
|
|
45262
|
+
} catch (error3) {
|
|
45263
|
+
throw new CredentialsProviderError2(`Failed to generate Dpop proof: ${error3 instanceof Error ? error3.message : String(error3)}`, { logger: this.logger, tryNextLink: false });
|
|
45264
|
+
}
|
|
45265
|
+
}
|
|
45266
|
+
};
|
|
45267
|
+
var fromLoginCredentials = (init) => async ({ callerClientConfig } = {}) => {
|
|
45268
|
+
init?.logger?.debug?.("@aws-sdk/credential-providers - fromLoginCredentials");
|
|
45269
|
+
const profiles = await parseKnownFiles2(init || {});
|
|
45270
|
+
const profileName = getProfileName2({
|
|
45271
|
+
profile: init?.profile ?? callerClientConfig?.profile
|
|
45272
|
+
});
|
|
45273
|
+
const profile = profiles[profileName];
|
|
45274
|
+
if (!profile?.login_session) {
|
|
45275
|
+
throw new CredentialsProviderError2(`Profile ${profileName} does not contain login_session.`, {
|
|
45276
|
+
tryNextLink: true,
|
|
45277
|
+
logger: init?.logger
|
|
45278
|
+
});
|
|
45279
|
+
}
|
|
45280
|
+
const fetcher = new LoginCredentialsFetcher(profile, init, callerClientConfig);
|
|
45281
|
+
const credentials = await fetcher.loadCredentials();
|
|
45282
|
+
return setCredentialFeature2(credentials, "CREDENTIALS_LOGIN", "AD");
|
|
45283
|
+
};
|
|
45284
|
+
exports2.fromLoginCredentials = fromLoginCredentials;
|
|
45442
45285
|
}
|
|
45443
45286
|
});
|
|
45444
45287
|
|
|
@@ -45581,7 +45424,6 @@ var require_dist_cjs14 = __commonJS({
|
|
|
45581
45424
|
"../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js"(exports2) {
|
|
45582
45425
|
var { CredentialsProviderError: CredentialsProviderError2, chain: chain2, getProfileName: getProfileName2, parseKnownFiles: parseKnownFiles2 } = (init_config2(), __toCommonJS(config_exports));
|
|
45583
45426
|
var { setCredentialFeature: setCredentialFeature2 } = (init_client3(), __toCommonJS(client_exports2));
|
|
45584
|
-
var { fromLoginCredentials } = require_dist_cjs10();
|
|
45585
45427
|
var resolveCredentialSource = (credentialSource, profileName, logger2) => {
|
|
45586
45428
|
const sourceProvidersMap = {
|
|
45587
45429
|
EcsContainer: async (options) => {
|
|
@@ -45677,6 +45519,7 @@ var require_dist_cjs14 = __commonJS({
|
|
|
45677
45519
|
return Boolean(data2 && data2.login_session);
|
|
45678
45520
|
};
|
|
45679
45521
|
var resolveLoginCredentials = async (profileName, options, callerClientConfig) => {
|
|
45522
|
+
const { fromLoginCredentials } = require_dist_cjs11();
|
|
45680
45523
|
const credentials = await fromLoginCredentials({
|
|
45681
45524
|
...options,
|
|
45682
45525
|
profile: profileName
|
|
@@ -45999,7 +45842,7 @@ var require_dist_cjs16 = __commonJS({
|
|
|
45999
45842
|
Region: { type: "builtInParams", name: "region" },
|
|
46000
45843
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
46001
45844
|
};
|
|
46002
|
-
var version = "3.
|
|
45845
|
+
var version = "3.1084.0";
|
|
46003
45846
|
var packageInfo = {
|
|
46004
45847
|
version
|
|
46005
45848
|
};
|