@cdklabs/cdk-construct-connect-datalake 0.0.11 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +11 -11
- package/.jsii.tabl.json +1 -1
- package/lib/index.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/README.md +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/package.json +9 -9
- package/node_modules/@aws-sdk/client-connect/README.md +11 -6
- package/node_modules/@aws-sdk/client-connect/dist-cjs/schemas/schemas_0.js +74 -47
- package/node_modules/@aws-sdk/client-connect/dist-es/schemas/schemas_0.js +43 -16
- package/node_modules/@aws-sdk/client-connect/dist-types/Connect.d.ts +12 -7
- package/node_modules/@aws-sdk/client-connect/dist-types/ConnectClient.d.ts +12 -7
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateVocabularyCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetMetricDataV2Command.d.ts +2 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchContactsCommand.d.ts +17 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchPromptsCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchQueuesCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/index.d.ts +12 -7
- package/node_modules/@aws-sdk/client-connect/dist-types/models/models_0.d.ts +40 -37
- package/node_modules/@aws-sdk/client-connect/dist-types/models/models_1.d.ts +152 -59
- package/node_modules/@aws-sdk/client-connect/dist-types/models/models_2.d.ts +69 -63
- package/node_modules/@aws-sdk/client-connect/dist-types/models/models_3.d.ts +72 -16
- package/node_modules/@aws-sdk/client-connect/dist-types/schemas/schemas_0.d.ts +3 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/CreateVocabularyCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetMetricDataV2Command.d.ts +2 -4
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchPromptsCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchQueuesCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_0.d.ts +9 -10
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_1.d.ts +9 -10
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_2.d.ts +19 -15
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_3.d.ts +17 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/node_modules/@aws-sdk/client-connect/package.json +9 -9
- package/node_modules/@aws-sdk/client-glue/README.md +14 -0
- package/node_modules/@aws-sdk/client-glue/dist-cjs/index.js +38 -0
- package/node_modules/@aws-sdk/client-glue/dist-cjs/models/errors.js +16 -1
- package/node_modules/@aws-sdk/client-glue/dist-cjs/schemas/schemas_0.js +91 -36
- package/node_modules/@aws-sdk/client-glue/dist-es/Glue.js +4 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/GetDashboardUrlCommand.js +16 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/GetSessionEndpointCommand.js +16 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/index.js +2 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/models/enums.js +8 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/models/errors.js +14 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/schemas/schemas_0.js +66 -11
- package/node_modules/@aws-sdk/client-glue/dist-types/Glue.d.ts +14 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/GlueClient.d.ts +4 -2
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/CreateSessionCommand.d.ts +5 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetDashboardUrlCommand.d.ts +93 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetMLTaskRunCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetSessionCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetSessionEndpointCommand.d.ts +101 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/ListSessionsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/RunStatementCommand.d.ts +6 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateDataQualityRulesetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateDatabaseCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/models/enums.d.ts +24 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/models/errors.d.ts +17 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/models/models_1.d.ts +41 -28
- package/node_modules/@aws-sdk/client-glue/dist-types/models/models_2.d.ts +70 -97
- package/node_modules/@aws-sdk/client-glue/dist-types/models/models_3.d.ts +97 -2
- package/node_modules/@aws-sdk/client-glue/dist-types/schemas/schemas_0.d.ts +8 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/Glue.d.ts +34 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/GlueClient.d.ts +12 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetDashboardUrlCommand.d.ts +52 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetMLTaskRunCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetSessionEndpointCommand.d.ts +53 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateDataQualityRulesetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateDatabaseCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/enums.d.ts +11 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/errors.d.ts +8 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_1.d.ts +12 -7
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_2.d.ts +18 -22
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_3.d.ts +21 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
- package/node_modules/@aws-sdk/client-glue/package.json +9 -9
- package/node_modules/@aws-sdk/client-lakeformation/package.json +9 -9
- package/node_modules/@aws-sdk/client-ram/package.json +9 -9
- package/node_modules/@aws-sdk/client-sts/package.json +11 -11
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +12 -6
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +12 -6
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +11 -6
- package/node_modules/@aws-sdk/core/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-env/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +12 -6
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +12 -6
- package/node_modules/@aws-sdk/credential-provider-http/package.json +9 -8
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +14 -14
- package/node_modules/@aws-sdk/credential-provider-login/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +12 -1
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js +12 -1
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +99 -106
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +62 -120
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +55 -86
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +73 -104
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +102 -185
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/bdd.js +21 -57
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js +73 -41
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +20 -52
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +36 -59
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/bdd.js +17 -45
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js +32 -32
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/bdd.js +17 -45
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +50 -50
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultRoleAssumers.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/bdd.js +34 -96
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +3 -6
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +63 -80
- package/node_modules/@aws-sdk/nested-clients/package.json +9 -9
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +5 -6
- package/node_modules/@aws-sdk/token-providers/package.json +7 -7
- package/node_modules/@aws-sdk/types/package.json +3 -3
- package/node_modules/@aws-sdk/util-locate-window/package.json +2 -2
- package/node_modules/@aws-sdk/xml-builder/package.json +4 -4
- package/node_modules/@nodable/entities/package.json +1 -1
- package/node_modules/@nodable/entities/src/EntityDecoder.js +1 -1
- package/node_modules/@nodable/entities/src/entities.js +0 -18
- package/node_modules/@smithy/core/dist-cjs/index.js +3 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +3 -11
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +9 -40
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +9 -40
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +12 -142
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +39 -22
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +39 -22
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +7 -9
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +184 -0
- package/node_modules/@smithy/core/dist-es/index.js +6 -6
- package/node_modules/@smithy/core/dist-es/submodules/client/index.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/checkRegion.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.browser.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/toEndpointV1.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/index.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +1 -2
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +5 -5
- package/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/configurations.js +19 -6
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retryMiddleware.js +4 -5
- package/node_modules/@smithy/core/dist-es/submodules/retry/service-error-classification/constants.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/ConfiguredRetryStrategy.js +4 -5
- package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/DefaultRetryToken.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/StandardRetryStrategy.js +9 -5
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +3 -4
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +1 -2
- package/node_modules/@smithy/core/dist-es/submodules/serde/middleware-serde/deserializerMiddleware.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/transport/index.js +9 -0
- package/node_modules/@smithy/core/dist-es/submodules/{protocols/url-parser → transport}/parseUrl.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/{endpoints → transport}/toEndpointV1.js +1 -1
- package/node_modules/@smithy/core/dist-types/index.d.ts +10 -6
- package/node_modules/@smithy/core/dist-types/submodules/client/index.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.browser.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/adaptors/toEndpointV1.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/lib/index.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +5 -5
- package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/httpHandler.d.ts +1 -2
- package/node_modules/@smithy/core/dist-types/submodules/protocols/requestBuilder.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/retry/middleware-retry/configurations.d.ts +4 -1
- package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/ConfiguredRetryStrategy.d.ts +1 -2
- package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/DefaultRetryToken.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/StandardRetryStrategy.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/transport/index.d.ts +9 -0
- package/node_modules/@smithy/core/package.json +20 -11
- package/node_modules/@smithy/core/transport.d.ts +5 -0
- package/node_modules/@smithy/core/transport.js +5 -0
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +14 -13
- package/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js +14 -13
- package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js +2 -2
- package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/node-http.js +2 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/node-http.d.ts +2 -0
- package/node_modules/@smithy/credential-provider-imds/package.json +3 -3
- package/node_modules/@smithy/fetch-http-handler/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +6 -4
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +7 -6
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +2 -1
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2.js +2 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-https.js +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/node-https.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/package.json +4 -4
- package/node_modules/@smithy/signature-v4/package.json +3 -3
- package/node_modules/@smithy/types/dist-types/retry.d.ts +25 -0
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@types/aws-lambda/README.md +1 -1
- package/node_modules/@types/aws-lambda/package.json +3 -3
- package/node_modules/@types/aws-lambda/trigger/api-gateway-proxy.d.ts +2 -0
- package/node_modules/hasown/CHANGELOG.md +7 -0
- package/node_modules/hasown/index.d.ts +0 -1
- package/node_modules/hasown/package.json +4 -5
- package/node_modules/which-typed-array/CHANGELOG.md +18 -0
- package/node_modules/which-typed-array/eslint.config.mjs +12 -0
- package/node_modules/which-typed-array/index.d.ts +22 -53
- package/node_modules/which-typed-array/index.js +36 -23
- package/node_modules/which-typed-array/package.json +8 -8
- package/package.json +15 -15
- package/node_modules/@smithy/core/dist-cjs/getSmithyContext.js +0 -6
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js +0 -21
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +0 -21
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +0 -46
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/index.js +0 -6
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/resolveAuthOptions.js +0 -24
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/getHttpSigningMiddleware.js +0 -19
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/httpSigningMiddleware.js +0 -27
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/index.js +0 -5
- package/node_modules/@smithy/core/dist-cjs/normalizeProvider.js +0 -10
- package/node_modules/@smithy/core/dist-cjs/pagination/createPaginator.js +0 -44
- package/node_modules/@smithy/core/dist-cjs/request-builder/requestBuilder.js +0 -5
- package/node_modules/@smithy/core/dist-cjs/setFeature.js +0 -14
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/DefaultIdentityProviderConfig.js +0 -18
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +0 -38
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +0 -15
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/index.js +0 -6
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/noAuth.js +0 -9
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/index.js +0 -6
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/memoizeIdentityProvider.js +0 -61
- package/node_modules/@smithy/core/dist-es/request-builder/requestBuilder.js +0 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/util-middleware/getSmithyContext.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/TestVectors.fixture.js +0 -146
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/vectorTypes.fixture.js +0 -1
- package/node_modules/@smithy/core/dist-types/request-builder/requestBuilder.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/submodules/client/util-middleware/getSmithyContext.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/submodules/event-streams/eventstream-codec/TestVectors.fixture.d.ts +0 -2
- package/node_modules/@smithy/core/dist-types/submodules/event-streams/eventstream-codec/vectorTypes.fixture.d.ts +0 -12
- package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/index.js +0 -2
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/index.d.ts +0 -8
- package/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +0 -21
- package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +0 -88
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +0 -21
- package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +0 -12
- package/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +0 -12
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +0 -12
- package/node_modules/@smithy/signature-v4/dist-es/suite.fixture.js +0 -399
- package/node_modules/@smithy/signature-v4/dist-types/suite.fixture.d.ts +0 -14
- package/node_modules/which-typed-array/.eslintrc +0 -10
- /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/getHttpAuthSchemeEndpointRuleSetPlugin.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/getHttpAuthSchemePlugin.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/httpAuthSchemeMiddleware.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/index.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/resolveAuthOptions.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/getHttpSigningMiddleware.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/httpSigningMiddleware.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/index.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{pagination → legacy-root-exports/pagination}/createPaginator.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/DefaultIdentityProviderConfig.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/httpApiKeyAuth.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/httpBearerAuth.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/index.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/noAuth.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/index.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/memoizeIdentityProvider.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{getSmithyContext.js → submodules/transport/getSmithyContext.js} +0 -0
- /package/node_modules/@smithy/core/dist-es/submodules/{protocols/protocol-http → transport}/httpRequest.js +0 -0
- /package/node_modules/@smithy/core/dist-es/submodules/{protocols/protocol-http → transport}/httpResponse.js +0 -0
- /package/node_modules/@smithy/core/dist-es/submodules/{endpoints/util-endpoints/lib → transport}/isValidHostLabel.js +0 -0
- /package/node_modules/@smithy/core/dist-es/submodules/{protocols/protocol-http → transport}/isValidHostname.js +0 -0
- /package/node_modules/@smithy/core/dist-es/submodules/{client/util-middleware → transport}/normalizeProvider.js +0 -0
- /package/node_modules/@smithy/core/dist-es/submodules/{protocols/querystring-parser → transport}/parseQueryString.js +0 -0
- /package/node_modules/@smithy/core/dist-types/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/getHttpAuthSchemePlugin.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/httpAuthSchemeMiddleware.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/index.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/resolveAuthOptions.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/getHttpSigningMiddleware.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/httpSigningMiddleware.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/index.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{pagination → legacy-root-exports/pagination}/createPaginator.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/DefaultIdentityProviderConfig.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/httpApiKeyAuth.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/httpBearerAuth.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/index.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/noAuth.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/index.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/memoizeIdentityProvider.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{getSmithyContext.d.ts → submodules/transport/getSmithyContext.d.ts} +0 -0
- /package/node_modules/@smithy/core/dist-types/submodules/{protocols/protocol-http → transport}/httpRequest.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/submodules/{protocols/protocol-http → transport}/httpResponse.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/submodules/{endpoints/util-endpoints/lib → transport}/isValidHostLabel.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/submodules/{protocols/protocol-http → transport}/isValidHostname.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/submodules/{client/util-middleware → transport}/normalizeProvider.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/submodules/{protocols/querystring-parser → transport}/parseQueryString.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/submodules/{protocols/url-parser → transport}/parseUrl.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/submodules/{endpoints → transport}/toEndpointV1.d.ts +0 -0
|
@@ -135,6 +135,7 @@ class AwsSdkSigV4Signer {
|
|
|
135
135
|
signingName = second?.signingName ?? signingName;
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
+
signingProperties._preRequestSystemClockOffset = config.systemClockOffset;
|
|
138
139
|
const signedRequest = await signer.sign(httpRequest, {
|
|
139
140
|
signingDate: getSkewCorrectedDate(config.systemClockOffset),
|
|
140
141
|
signingRegion: signingRegion,
|
|
@@ -144,14 +145,18 @@ class AwsSdkSigV4Signer {
|
|
|
144
145
|
}
|
|
145
146
|
errorHandler(signingProperties) {
|
|
146
147
|
return (error) => {
|
|
147
|
-
const
|
|
148
|
+
const errorException = error;
|
|
149
|
+
const serverTime = errorException.ServerTime ?? getDateHeader(errorException.$response);
|
|
148
150
|
if (serverTime) {
|
|
149
151
|
const config = throwSigningPropertyError("config", signingProperties.config);
|
|
150
|
-
const
|
|
151
|
-
|
|
152
|
-
const
|
|
153
|
-
|
|
154
|
-
|
|
152
|
+
const preRequestOffset = signingProperties._preRequestSystemClockOffset;
|
|
153
|
+
const newOffset = getUpdatedSystemClockOffset(serverTime, config.systemClockOffset);
|
|
154
|
+
const isLocalCorrection = newOffset !== config.systemClockOffset;
|
|
155
|
+
const isConcurrentCorrection = preRequestOffset !== undefined && preRequestOffset !== newOffset;
|
|
156
|
+
const clockSkewCorrected = isLocalCorrection || isConcurrentCorrection;
|
|
157
|
+
if (clockSkewCorrected && errorException.$metadata) {
|
|
158
|
+
config.systemClockOffset = newOffset;
|
|
159
|
+
errorException.$metadata.clockSkewCorrected = true;
|
|
155
160
|
}
|
|
156
161
|
}
|
|
157
162
|
throw error;
|
|
@@ -175,6 +180,7 @@ class AwsSdkSigV4ASigner extends AwsSdkSigV4Signer {
|
|
|
175
180
|
const configResolvedSigningRegionSet = await config.sigv4aSigningRegionSet?.();
|
|
176
181
|
const multiRegionOverride = (configResolvedSigningRegionSet ??
|
|
177
182
|
signingRegionSet ?? [signingRegion]).join(",");
|
|
183
|
+
signingProperties._preRequestSystemClockOffset = config.systemClockOffset;
|
|
178
184
|
const signedRequest = await signer.sign(httpRequest, {
|
|
179
185
|
signingDate: getSkewCorrectedDate(config.systemClockOffset),
|
|
180
186
|
signingRegion: multiRegionOverride,
|
|
@@ -59,6 +59,7 @@ class AwsSdkSigV4Signer {
|
|
|
59
59
|
signingName = second?.signingName ?? signingName;
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
+
signingProperties._preRequestSystemClockOffset = config.systemClockOffset;
|
|
62
63
|
const signedRequest = await signer.sign(httpRequest, {
|
|
63
64
|
signingDate: getSkewCorrectedDate(config.systemClockOffset),
|
|
64
65
|
signingRegion: signingRegion,
|
|
@@ -68,14 +69,18 @@ class AwsSdkSigV4Signer {
|
|
|
68
69
|
}
|
|
69
70
|
errorHandler(signingProperties) {
|
|
70
71
|
return (error) => {
|
|
71
|
-
const
|
|
72
|
+
const errorException = error;
|
|
73
|
+
const serverTime = errorException.ServerTime ?? getDateHeader(errorException.$response);
|
|
72
74
|
if (serverTime) {
|
|
73
75
|
const config = throwSigningPropertyError("config", signingProperties.config);
|
|
74
|
-
const
|
|
75
|
-
|
|
76
|
-
const
|
|
77
|
-
|
|
78
|
-
|
|
76
|
+
const preRequestOffset = signingProperties._preRequestSystemClockOffset;
|
|
77
|
+
const newOffset = getUpdatedSystemClockOffset(serverTime, config.systemClockOffset);
|
|
78
|
+
const isLocalCorrection = newOffset !== config.systemClockOffset;
|
|
79
|
+
const isConcurrentCorrection = preRequestOffset !== undefined && preRequestOffset !== newOffset;
|
|
80
|
+
const clockSkewCorrected = isLocalCorrection || isConcurrentCorrection;
|
|
81
|
+
if (clockSkewCorrected && errorException.$metadata) {
|
|
82
|
+
config.systemClockOffset = newOffset;
|
|
83
|
+
errorException.$metadata.clockSkewCorrected = true;
|
|
79
84
|
}
|
|
80
85
|
}
|
|
81
86
|
throw error;
|
|
@@ -100,6 +105,7 @@ class AwsSdkSigV4ASigner extends AwsSdkSigV4Signer {
|
|
|
100
105
|
const configResolvedSigningRegionSet = await config.sigv4aSigningRegionSet?.();
|
|
101
106
|
const multiRegionOverride = (configResolvedSigningRegionSet ??
|
|
102
107
|
signingRegionSet ?? [signingRegion]).join(",");
|
|
108
|
+
signingProperties._preRequestSystemClockOffset = config.systemClockOffset;
|
|
103
109
|
const signedRequest = await signer.sign(httpRequest, {
|
|
104
110
|
signingDate: getSkewCorrectedDate(config.systemClockOffset),
|
|
105
111
|
signingRegion: multiRegionOverride,
|
package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js
CHANGED
|
@@ -10,6 +10,7 @@ export class AwsSdkSigV4ASigner extends AwsSdkSigV4Signer {
|
|
|
10
10
|
const configResolvedSigningRegionSet = await config.sigv4aSigningRegionSet?.();
|
|
11
11
|
const multiRegionOverride = (configResolvedSigningRegionSet ??
|
|
12
12
|
signingRegionSet ?? [signingRegion]).join(",");
|
|
13
|
+
signingProperties._preRequestSystemClockOffset = config.systemClockOffset;
|
|
13
14
|
const signedRequest = await signer.sign(httpRequest, {
|
|
14
15
|
signingDate: getSkewCorrectedDate(config.systemClockOffset),
|
|
15
16
|
signingRegion: multiRegionOverride,
|
package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js
CHANGED
|
@@ -39,6 +39,7 @@ export class AwsSdkSigV4Signer {
|
|
|
39
39
|
signingName = second?.signingName ?? signingName;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
+
signingProperties._preRequestSystemClockOffset = config.systemClockOffset;
|
|
42
43
|
const signedRequest = await signer.sign(httpRequest, {
|
|
43
44
|
signingDate: getSkewCorrectedDate(config.systemClockOffset),
|
|
44
45
|
signingRegion: signingRegion,
|
|
@@ -48,14 +49,18 @@ export class AwsSdkSigV4Signer {
|
|
|
48
49
|
}
|
|
49
50
|
errorHandler(signingProperties) {
|
|
50
51
|
return (error) => {
|
|
51
|
-
const
|
|
52
|
+
const errorException = error;
|
|
53
|
+
const serverTime = errorException.ServerTime ?? getDateHeader(errorException.$response);
|
|
52
54
|
if (serverTime) {
|
|
53
55
|
const config = throwSigningPropertyError("config", signingProperties.config);
|
|
54
|
-
const
|
|
55
|
-
|
|
56
|
-
const
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
const preRequestOffset = signingProperties._preRequestSystemClockOffset;
|
|
57
|
+
const newOffset = getUpdatedSystemClockOffset(serverTime, config.systemClockOffset);
|
|
58
|
+
const isLocalCorrection = newOffset !== config.systemClockOffset;
|
|
59
|
+
const isConcurrentCorrection = preRequestOffset !== undefined && preRequestOffset !== newOffset;
|
|
60
|
+
const clockSkewCorrected = isLocalCorrection || isConcurrentCorrection;
|
|
61
|
+
if (clockSkewCorrected && errorException.$metadata) {
|
|
62
|
+
config.systemClockOffset = newOffset;
|
|
63
|
+
errorException.$metadata.clockSkewCorrected = true;
|
|
59
64
|
}
|
|
60
65
|
}
|
|
61
66
|
throw error;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/core",
|
|
3
|
-
"version": "3.974.
|
|
3
|
+
"version": "3.974.18",
|
|
4
4
|
"description": "Core functions & classes shared by multiple AWS SDK clients.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn prebuild && yarn lint && concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
@@ -106,16 +106,16 @@
|
|
|
106
106
|
],
|
|
107
107
|
"author": {
|
|
108
108
|
"name": "AWS SDK for JavaScript Team",
|
|
109
|
-
"url": "https://aws.amazon.com/javascript/"
|
|
109
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
110
110
|
},
|
|
111
111
|
"license": "Apache-2.0",
|
|
112
112
|
"dependencies": {
|
|
113
|
-
"@aws-sdk/types": "^3.973.
|
|
114
|
-
"@aws-sdk/xml-builder": "^3.972.
|
|
113
|
+
"@aws-sdk/types": "^3.973.11",
|
|
114
|
+
"@aws-sdk/xml-builder": "^3.972.28",
|
|
115
115
|
"@aws/lambda-invoke-store": "^0.2.2",
|
|
116
|
-
"@smithy/core": "^3.24.
|
|
117
|
-
"@smithy/signature-v4": "^5.4.
|
|
118
|
-
"@smithy/types": "^4.14.
|
|
116
|
+
"@smithy/core": "^3.24.6",
|
|
117
|
+
"@smithy/signature-v4": "^5.4.6",
|
|
118
|
+
"@smithy/types": "^4.14.3",
|
|
119
119
|
"bowser": "^2.11.0",
|
|
120
120
|
"tslib": "^2.6.2"
|
|
121
121
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-env",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.44",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from known environment variables",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
"sideEffects": false,
|
|
23
23
|
"author": {
|
|
24
24
|
"name": "AWS SDK for JavaScript Team",
|
|
25
|
-
"url": "https://aws.amazon.com/javascript/"
|
|
25
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@aws-sdk/core": "^3.974.
|
|
30
|
-
"@aws-sdk/types": "^3.973.
|
|
31
|
-
"@smithy/core": "^3.24.
|
|
32
|
-
"@smithy/types": "^4.14.
|
|
29
|
+
"@aws-sdk/core": "^3.974.18",
|
|
30
|
+
"@aws-sdk/types": "^3.973.11",
|
|
31
|
+
"@smithy/core": "^3.24.6",
|
|
32
|
+
"@smithy/types": "^4.14.3",
|
|
33
33
|
"tslib": "^2.6.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
@@ -46,11 +46,9 @@ Set AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI
|
|
|
46
46
|
}
|
|
47
47
|
const url = new URL(host);
|
|
48
48
|
(0, checkUrl_1.checkUrl)(url, options.logger);
|
|
49
|
-
const requestHandler = node_http_handler_1.NodeHttpHandler.create({
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
});
|
|
53
|
-
return (0, retry_wrapper_1.retryWrapper)(async () => {
|
|
49
|
+
const requestHandler = node_http_handler_1.NodeHttpHandler.create({ connectionTimeout: options.timeout ?? 1000 });
|
|
50
|
+
const requestTimeout = options.timeout ?? 1000;
|
|
51
|
+
const provider = (0, retry_wrapper_1.retryWrapper)(async () => {
|
|
54
52
|
const request = (0, requestHelpers_1.createGetRequest)(url);
|
|
55
53
|
if (token) {
|
|
56
54
|
request.headers.Authorization = token;
|
|
@@ -59,12 +57,20 @@ Set AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI
|
|
|
59
57
|
request.headers.Authorization = (await promises_1.default.readFile(tokenFile)).toString();
|
|
60
58
|
}
|
|
61
59
|
try {
|
|
62
|
-
const result = await requestHandler.handle(request);
|
|
60
|
+
const result = await requestHandler.handle(request, { requestTimeout });
|
|
63
61
|
return (0, requestHelpers_1.getCredentials)(result.response).then((creds) => (0, client_1.setCredentialFeature)(creds, "CREDENTIALS_HTTP", "z"));
|
|
64
62
|
}
|
|
65
63
|
catch (e) {
|
|
66
64
|
throw new config_1.CredentialsProviderError(String(e), { logger: options.logger });
|
|
67
65
|
}
|
|
68
66
|
}, options.maxRetries ?? 3, options.timeout ?? 1000);
|
|
67
|
+
return async () => {
|
|
68
|
+
try {
|
|
69
|
+
return await provider();
|
|
70
|
+
}
|
|
71
|
+
finally {
|
|
72
|
+
requestHandler.destroy?.();
|
|
73
|
+
}
|
|
74
|
+
};
|
|
69
75
|
};
|
|
70
76
|
exports.fromHttp = fromHttp;
|
|
@@ -42,11 +42,9 @@ Set AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI
|
|
|
42
42
|
}
|
|
43
43
|
const url = new URL(host);
|
|
44
44
|
checkUrl(url, options.logger);
|
|
45
|
-
const requestHandler = NodeHttpHandler.create({
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
});
|
|
49
|
-
return retryWrapper(async () => {
|
|
45
|
+
const requestHandler = NodeHttpHandler.create({ connectionTimeout: options.timeout ?? 1000 });
|
|
46
|
+
const requestTimeout = options.timeout ?? 1000;
|
|
47
|
+
const provider = retryWrapper(async () => {
|
|
50
48
|
const request = createGetRequest(url);
|
|
51
49
|
if (token) {
|
|
52
50
|
request.headers.Authorization = token;
|
|
@@ -55,11 +53,19 @@ Set AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI
|
|
|
55
53
|
request.headers.Authorization = (await fs.readFile(tokenFile)).toString();
|
|
56
54
|
}
|
|
57
55
|
try {
|
|
58
|
-
const result = await requestHandler.handle(request);
|
|
56
|
+
const result = await requestHandler.handle(request, { requestTimeout });
|
|
59
57
|
return getCredentials(result.response).then((creds) => setCredentialFeature(creds, "CREDENTIALS_HTTP", "z"));
|
|
60
58
|
}
|
|
61
59
|
catch (e) {
|
|
62
60
|
throw new CredentialsProviderError(String(e), { logger: options.logger });
|
|
63
61
|
}
|
|
64
62
|
}, options.maxRetries ?? 3, options.timeout ?? 1000);
|
|
63
|
+
return async () => {
|
|
64
|
+
try {
|
|
65
|
+
return await provider();
|
|
66
|
+
}
|
|
67
|
+
finally {
|
|
68
|
+
requestHandler.destroy?.();
|
|
69
|
+
}
|
|
70
|
+
};
|
|
65
71
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-http",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.46",
|
|
4
4
|
"description": "AWS credential provider for containers and HTTP sources",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
24
24
|
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
25
25
|
"test": "yarn g:vitest run",
|
|
26
|
+
"test:integration": "yarn g:vitest run -c vitest.config.integ.mts",
|
|
26
27
|
"test:watch": "yarn g:vitest watch"
|
|
27
28
|
},
|
|
28
29
|
"keywords": [
|
|
@@ -32,16 +33,16 @@
|
|
|
32
33
|
"sideEffects": false,
|
|
33
34
|
"author": {
|
|
34
35
|
"name": "AWS SDK for JavaScript Team",
|
|
35
|
-
"url": "https://aws.amazon.com/javascript/"
|
|
36
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
36
37
|
},
|
|
37
38
|
"license": "Apache-2.0",
|
|
38
39
|
"dependencies": {
|
|
39
|
-
"@aws-sdk/core": "^3.974.
|
|
40
|
-
"@aws-sdk/types": "^3.973.
|
|
41
|
-
"@smithy/core": "^3.24.
|
|
42
|
-
"@smithy/fetch-http-handler": "^5.4.
|
|
43
|
-
"@smithy/node-http-handler": "^4.7.
|
|
44
|
-
"@smithy/types": "^4.14.
|
|
40
|
+
"@aws-sdk/core": "^3.974.18",
|
|
41
|
+
"@aws-sdk/types": "^3.973.11",
|
|
42
|
+
"@smithy/core": "^3.24.6",
|
|
43
|
+
"@smithy/fetch-http-handler": "^5.4.6",
|
|
44
|
+
"@smithy/node-http-handler": "^4.7.6",
|
|
45
|
+
"@smithy/types": "^4.14.3",
|
|
45
46
|
"tslib": "^2.6.2"
|
|
46
47
|
},
|
|
47
48
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.50",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -24,22 +24,22 @@
|
|
|
24
24
|
"sideEffects": false,
|
|
25
25
|
"author": {
|
|
26
26
|
"name": "AWS SDK for JavaScript Team",
|
|
27
|
-
"url": "https://aws.amazon.com/javascript/"
|
|
27
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
28
28
|
},
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@aws-sdk/core": "^3.974.
|
|
32
|
-
"@aws-sdk/credential-provider-env": "^3.972.
|
|
33
|
-
"@aws-sdk/credential-provider-http": "^3.972.
|
|
34
|
-
"@aws-sdk/credential-provider-login": "^3.972.
|
|
35
|
-
"@aws-sdk/credential-provider-process": "^3.972.
|
|
36
|
-
"@aws-sdk/credential-provider-sso": "^3.972.
|
|
37
|
-
"@aws-sdk/credential-provider-web-identity": "^3.972.
|
|
38
|
-
"@aws-sdk/nested-clients": "^3.997.
|
|
39
|
-
"@aws-sdk/types": "^3.973.
|
|
40
|
-
"@smithy/core": "^3.24.
|
|
41
|
-
"@smithy/credential-provider-imds": "^4.3.
|
|
42
|
-
"@smithy/types": "^4.14.
|
|
31
|
+
"@aws-sdk/core": "^3.974.18",
|
|
32
|
+
"@aws-sdk/credential-provider-env": "^3.972.44",
|
|
33
|
+
"@aws-sdk/credential-provider-http": "^3.972.46",
|
|
34
|
+
"@aws-sdk/credential-provider-login": "^3.972.49",
|
|
35
|
+
"@aws-sdk/credential-provider-process": "^3.972.44",
|
|
36
|
+
"@aws-sdk/credential-provider-sso": "^3.972.49",
|
|
37
|
+
"@aws-sdk/credential-provider-web-identity": "^3.972.49",
|
|
38
|
+
"@aws-sdk/nested-clients": "^3.997.17",
|
|
39
|
+
"@aws-sdk/types": "^3.973.11",
|
|
40
|
+
"@smithy/core": "^3.24.6",
|
|
41
|
+
"@smithy/credential-provider-imds": "^4.3.7",
|
|
42
|
+
"@smithy/types": "^4.14.3",
|
|
43
43
|
"tslib": "^2.6.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-login",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.49",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from aws login cached tokens",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -24,15 +24,15 @@
|
|
|
24
24
|
"sideEffects": false,
|
|
25
25
|
"author": {
|
|
26
26
|
"name": "AWS SDK for JavaScript Team",
|
|
27
|
-
"url": "https://aws.amazon.com/javascript/"
|
|
27
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
28
28
|
},
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@aws-sdk/core": "^3.974.
|
|
32
|
-
"@aws-sdk/nested-clients": "^3.997.
|
|
33
|
-
"@aws-sdk/types": "^3.973.
|
|
34
|
-
"@smithy/core": "^3.24.
|
|
35
|
-
"@smithy/types": "^4.14.
|
|
31
|
+
"@aws-sdk/core": "^3.974.18",
|
|
32
|
+
"@aws-sdk/nested-clients": "^3.997.17",
|
|
33
|
+
"@aws-sdk/types": "^3.973.11",
|
|
34
|
+
"@smithy/core": "^3.24.6",
|
|
35
|
+
"@smithy/types": "^4.14.3",
|
|
36
36
|
"tslib": "^2.6.2"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
@@ -25,9 +25,20 @@ function memoizeChain(providers, treatAsExpired) {
|
|
|
25
25
|
let activeLock;
|
|
26
26
|
let passiveLock;
|
|
27
27
|
let credentials;
|
|
28
|
+
let forceRefreshLock;
|
|
28
29
|
const provider = async (options) => {
|
|
29
30
|
if (options?.forceRefresh) {
|
|
30
|
-
|
|
31
|
+
if (!forceRefreshLock) {
|
|
32
|
+
forceRefreshLock = chain(options)
|
|
33
|
+
.then((c) => {
|
|
34
|
+
credentials = c;
|
|
35
|
+
})
|
|
36
|
+
.finally(() => {
|
|
37
|
+
forceRefreshLock = undefined;
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
await forceRefreshLock;
|
|
41
|
+
return credentials;
|
|
31
42
|
}
|
|
32
43
|
if (credentials?.expiration) {
|
|
33
44
|
if (credentials?.expiration?.getTime() < Date.now()) {
|
|
@@ -3,9 +3,20 @@ export function memoizeChain(providers, treatAsExpired) {
|
|
|
3
3
|
let activeLock;
|
|
4
4
|
let passiveLock;
|
|
5
5
|
let credentials;
|
|
6
|
+
let forceRefreshLock;
|
|
6
7
|
const provider = async (options) => {
|
|
7
8
|
if (options?.forceRefresh) {
|
|
8
|
-
|
|
9
|
+
if (!forceRefreshLock) {
|
|
10
|
+
forceRefreshLock = chain(options)
|
|
11
|
+
.then((c) => {
|
|
12
|
+
credentials = c;
|
|
13
|
+
})
|
|
14
|
+
.finally(() => {
|
|
15
|
+
forceRefreshLock = undefined;
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
await forceRefreshLock;
|
|
19
|
+
return credentials;
|
|
9
20
|
}
|
|
10
21
|
if (credentials?.expiration) {
|
|
11
22
|
if (credentials?.expiration?.getTime() < Date.now()) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-node",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.52",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from a Node.JS environment. ",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=20.0.0"
|
|
@@ -27,20 +27,20 @@
|
|
|
27
27
|
"sideEffects": false,
|
|
28
28
|
"author": {
|
|
29
29
|
"name": "AWS SDK for JavaScript Team",
|
|
30
|
-
"url": "https://aws.amazon.com/javascript/"
|
|
30
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
31
31
|
},
|
|
32
32
|
"license": "Apache-2.0",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@aws-sdk/credential-provider-env": "^3.972.
|
|
35
|
-
"@aws-sdk/credential-provider-http": "^3.972.
|
|
36
|
-
"@aws-sdk/credential-provider-ini": "^3.972.
|
|
37
|
-
"@aws-sdk/credential-provider-process": "^3.972.
|
|
38
|
-
"@aws-sdk/credential-provider-sso": "^3.972.
|
|
39
|
-
"@aws-sdk/credential-provider-web-identity": "^3.972.
|
|
40
|
-
"@aws-sdk/types": "^3.973.
|
|
41
|
-
"@smithy/core": "^3.24.
|
|
42
|
-
"@smithy/credential-provider-imds": "^4.3.
|
|
43
|
-
"@smithy/types": "^4.14.
|
|
34
|
+
"@aws-sdk/credential-provider-env": "^3.972.44",
|
|
35
|
+
"@aws-sdk/credential-provider-http": "^3.972.46",
|
|
36
|
+
"@aws-sdk/credential-provider-ini": "^3.972.50",
|
|
37
|
+
"@aws-sdk/credential-provider-process": "^3.972.44",
|
|
38
|
+
"@aws-sdk/credential-provider-sso": "^3.972.49",
|
|
39
|
+
"@aws-sdk/credential-provider-web-identity": "^3.972.49",
|
|
40
|
+
"@aws-sdk/types": "^3.973.11",
|
|
41
|
+
"@smithy/core": "^3.24.6",
|
|
42
|
+
"@smithy/credential-provider-imds": "^4.3.7",
|
|
43
|
+
"@smithy/types": "^4.14.3",
|
|
44
44
|
"tslib": "^2.6.2"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-process",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.44",
|
|
4
4
|
"description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
"sideEffects": false,
|
|
23
23
|
"author": {
|
|
24
24
|
"name": "AWS SDK for JavaScript Team",
|
|
25
|
-
"url": "https://aws.amazon.com/javascript/"
|
|
25
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@aws-sdk/core": "^3.974.
|
|
30
|
-
"@aws-sdk/types": "^3.973.
|
|
31
|
-
"@smithy/core": "^3.24.
|
|
32
|
-
"@smithy/types": "^4.14.
|
|
29
|
+
"@aws-sdk/core": "^3.974.18",
|
|
30
|
+
"@aws-sdk/types": "^3.973.11",
|
|
31
|
+
"@smithy/core": "^3.24.6",
|
|
32
|
+
"@smithy/types": "^4.14.3",
|
|
33
33
|
"tslib": "^2.6.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-sso",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.49",
|
|
4
4
|
"description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -22,16 +22,16 @@
|
|
|
22
22
|
"sideEffects": false,
|
|
23
23
|
"author": {
|
|
24
24
|
"name": "AWS SDK for JavaScript Team",
|
|
25
|
-
"url": "https://aws.amazon.com/javascript/"
|
|
25
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@aws-sdk/core": "^3.974.
|
|
30
|
-
"@aws-sdk/nested-clients": "^3.997.
|
|
31
|
-
"@aws-sdk/token-providers": "3.
|
|
32
|
-
"@aws-sdk/types": "^3.973.
|
|
33
|
-
"@smithy/core": "^3.24.
|
|
34
|
-
"@smithy/types": "^4.14.
|
|
29
|
+
"@aws-sdk/core": "^3.974.18",
|
|
30
|
+
"@aws-sdk/nested-clients": "^3.997.17",
|
|
31
|
+
"@aws-sdk/token-providers": "3.1063.0",
|
|
32
|
+
"@aws-sdk/types": "^3.973.11",
|
|
33
|
+
"@smithy/core": "^3.24.6",
|
|
34
|
+
"@smithy/types": "^4.14.3",
|
|
35
35
|
"tslib": "^2.6.2"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-web-identity",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.49",
|
|
4
4
|
"description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -30,15 +30,15 @@
|
|
|
30
30
|
"sideEffects": false,
|
|
31
31
|
"author": {
|
|
32
32
|
"name": "AWS SDK for JavaScript Team",
|
|
33
|
-
"url": "https://aws.amazon.com/javascript/"
|
|
33
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
34
34
|
},
|
|
35
35
|
"license": "Apache-2.0",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@aws-sdk/core": "^3.974.
|
|
38
|
-
"@aws-sdk/nested-clients": "^3.997.
|
|
39
|
-
"@aws-sdk/types": "^3.973.
|
|
40
|
-
"@smithy/core": "^3.24.
|
|
41
|
-
"@smithy/types": "^4.14.
|
|
37
|
+
"@aws-sdk/core": "^3.974.18",
|
|
38
|
+
"@aws-sdk/nested-clients": "^3.997.17",
|
|
39
|
+
"@aws-sdk/types": "^3.973.11",
|
|
40
|
+
"@smithy/core": "^3.24.6",
|
|
41
|
+
"@smithy/types": "^4.14.3",
|
|
42
42
|
"tslib": "^2.6.2"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|