@cdk8s/awscdk-resolver 0.0.353 → 0.0.355
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +3 -3
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +31 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/protocols/Aws_query.js +31 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ActivateTypeCommand.d.ts +12 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/BatchDescribeTypeConfigurationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ContinueUpdateRollbackCommand.d.ts +11 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateStackInstancesCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateStackSetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeactivateTypeCommand.d.ts +5 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeleteStackInstancesCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeleteStackSetCommand.d.ts +5 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeregisterTypeCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackEventsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackInstanceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackSetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackSetOperationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeTypeCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DetectStackSetDriftCommand.d.ts +11 -11
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/GetTemplateSummaryCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ImportStacksToStackSetCommand.d.ts +5 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListExportsCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListHookResultsCommand.d.ts +33 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListImportsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackInstanceResourceDriftsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackInstancesCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetAutoDeploymentTargetsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetOperationResultsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetOperationsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetsCommand.d.ts +5 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListTypesCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/StopStackSetOperationCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackInstancesCommand.d.ts +10 -10
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackSetCommand.d.ts +8 -8
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +485 -389
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_1.d.ts +97 -103
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormation.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListHookResultsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_0.d.ts +11 -2
- package/node_modules/@aws-sdk/client-cloudformation/package.json +11 -11
- package/node_modules/@aws-sdk/client-sso/package.json +10 -10
- package/node_modules/@aws-sdk/core/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +3 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +3 -1
- package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js +3 -1
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
- package/node_modules/@aws-sdk/nested-clients/package.json +10 -10
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/@smithy/abort-controller/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/abort-controller/package.json +3 -2
- package/node_modules/@smithy/config-resolver/dist-cjs/index.js +15 -15
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveCustomEndpointsConfig.d.ts +2 -2
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/utils/getEndpointFromRegion.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/regionConfig/config.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/regionConfig/resolveRegionConfig.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/EndpointVariant.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/PartitionHash.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/RegionHash.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getHostnameFromVariants.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getRegionInfo.d.ts +3 -3
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedPartition.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/package.json +6 -5
- package/node_modules/@smithy/core/dist-cjs/index.js +10 -11
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +3 -3
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +3 -3
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +8 -3
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +3 -3
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +3 -3
- package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +0 -1
- package/node_modules/@smithy/core/dist-es/middleware-http-signing/httpSigningMiddleware.js +0 -1
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +1 -1
- package/node_modules/@smithy/core/dist-types/getSmithyContext.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/getHttpAuthSchemePlugin.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/resolveAuthOptions.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/middleware-http-signing/getHttpSigningMiddleware.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/middleware-http-signing/httpSigningMiddleware.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/normalizeProvider.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-decode.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/collect-stream-body.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/determineTimestampFormat.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/getSchemaSerdePlugin.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schemaSerializationMiddleware.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/util-identity-and-auth/DefaultIdentityProviderConfig.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/noAuth.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/util-identity-and-auth/memoizeIdentityProvider.d.ts +1 -1
- package/node_modules/@smithy/core/package.json +10 -10
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +12 -13
- package/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointConfigOptions.d.ts +1 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointModeConfigOptions.d.ts +1 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/fromContainerMetadata.d.ts +2 -2
- package/node_modules/@smithy/credential-provider-imds/dist-types/fromInstanceMetadata.d.ts +3 -3
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/ImdsCredentials.d.ts +1 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/RemoteProviderInit.d.ts +1 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/types.d.ts +1 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/utils/getExtendedInstanceMetadataCredentials.d.ts +2 -2
- package/node_modules/@smithy/credential-provider-imds/dist-types/utils/getInstanceMetadataEndpoint.d.ts +1 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/utils/staticStabilityProvider.d.ts +2 -2
- package/node_modules/@smithy/credential-provider-imds/package.json +6 -5
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/fetch-http-handler/dist-types/create-request.d.ts +1 -1
- package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +3 -2
- package/node_modules/@smithy/fetch-http-handler/dist-types/stream-collector.d.ts +1 -1
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +2 -1
- package/node_modules/@smithy/fetch-http-handler/package.json +9 -8
- package/node_modules/@smithy/hash-node/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/hash-node/dist-types/index.d.ts +1 -1
- package/node_modules/@smithy/hash-node/package.json +5 -4
- package/node_modules/@smithy/invalid-dependency/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/invalid-dependency/dist-types/invalidProvider.d.ts +1 -1
- package/node_modules/@smithy/invalid-dependency/package.json +3 -2
- package/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/is-array-buffer/package.json +5 -4
- package/node_modules/@smithy/middleware-content-length/dist-cjs/index.js +5 -5
- package/node_modules/@smithy/middleware-content-length/dist-types/index.d.ts +1 -1
- package/node_modules/@smithy/middleware-content-length/package.json +6 -5
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +5 -5
- package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointFromInstructions.d.ts +3 -3
- package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointUrlConfig.d.ts +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/toEndpointV1.d.ts +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/endpointMiddleware.d.ts +3 -3
- package/node_modules/@smithy/middleware-endpoint/dist-types/getEndpointPlugin.d.ts +3 -3
- package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointRequiredConfig.d.ts +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/service-customizations/s3.d.ts +1 -1
- package/node_modules/@smithy/middleware-endpoint/package.json +9 -8
- package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +33 -47
- package/node_modules/@smithy/middleware-retry/dist-types/AdaptiveRetryStrategy.d.ts +4 -3
- package/node_modules/@smithy/middleware-retry/dist-types/StandardRetryStrategy.d.ts +2 -2
- package/node_modules/@smithy/middleware-retry/dist-types/configurations.d.ts +2 -2
- package/node_modules/@smithy/middleware-retry/dist-types/defaultRetryQuota.d.ts +1 -1
- package/node_modules/@smithy/middleware-retry/dist-types/omitRetryHeadersMiddleware.d.ts +1 -1
- package/node_modules/@smithy/middleware-retry/dist-types/retryDecider.d.ts +1 -1
- package/node_modules/@smithy/middleware-retry/dist-types/retryMiddleware.d.ts +2 -2
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/AdaptiveRetryStrategy.d.ts +2 -1
- package/node_modules/@smithy/middleware-retry/dist-types/types.d.ts +1 -1
- package/node_modules/@smithy/middleware-retry/dist-types/util.d.ts +1 -1
- package/node_modules/@smithy/middleware-retry/package.json +9 -8
- package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +5 -5
- package/node_modules/@smithy/middleware-serde/dist-types/deserializerMiddleware.d.ts +1 -1
- package/node_modules/@smithy/middleware-serde/dist-types/serdePlugin.d.ts +1 -1
- package/node_modules/@smithy/middleware-serde/dist-types/serializerMiddleware.d.ts +1 -1
- package/node_modules/@smithy/middleware-serde/package.json +6 -5
- package/node_modules/@smithy/middleware-stack/dist-cjs/index.js +25 -30
- package/node_modules/@smithy/middleware-stack/dist-types/MiddlewareStack.d.ts +1 -1
- package/node_modules/@smithy/middleware-stack/dist-types/types.d.ts +1 -1
- package/node_modules/@smithy/middleware-stack/package.json +3 -2
- package/node_modules/@smithy/node-config-provider/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/node-config-provider/dist-types/configLoader.d.ts +4 -4
- package/node_modules/@smithy/node-config-provider/dist-types/fromEnv.d.ts +1 -1
- package/node_modules/@smithy/node-config-provider/dist-types/fromSharedConfigFiles.d.ts +2 -2
- package/node_modules/@smithy/node-config-provider/dist-types/fromStatic.d.ts +1 -1
- package/node_modules/@smithy/node-config-provider/package.json +5 -4
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +5 -5
- package/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +3 -2
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +4 -4
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +3 -2
- package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +2 -1
- package/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +4 -4
- package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +2 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +2 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +2 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +2 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +2 -1
- package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +3 -3
- package/node_modules/@smithy/node-http-handler/package.json +6 -5
- package/node_modules/@smithy/property-provider/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +2 -1
- package/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +1 -1
- package/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +2 -1
- package/node_modules/@smithy/property-provider/dist-types/chain.d.ts +1 -1
- package/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +1 -1
- package/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +1 -1
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +2 -1
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +2 -1
- package/node_modules/@smithy/property-provider/package.json +3 -2
- package/node_modules/@smithy/protocol-http/dist-cjs/index.js +4 -5
- package/node_modules/@smithy/protocol-http/dist-types/Field.d.ts +2 -1
- package/node_modules/@smithy/protocol-http/dist-types/Fields.d.ts +2 -2
- package/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +1 -1
- package/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +2 -1
- package/node_modules/@smithy/protocol-http/dist-types/httpResponse.d.ts +1 -1
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/Field.d.ts +2 -1
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +2 -1
- package/node_modules/@smithy/protocol-http/dist-types/types.d.ts +1 -1
- package/node_modules/@smithy/protocol-http/package.json +3 -2
- package/node_modules/@smithy/querystring-builder/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/querystring-builder/dist-types/index.d.ts +1 -1
- package/node_modules/@smithy/querystring-builder/package.json +4 -3
- package/node_modules/@smithy/querystring-parser/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/querystring-parser/dist-types/index.d.ts +1 -1
- package/node_modules/@smithy/querystring-parser/package.json +3 -2
- package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/service-error-classification/dist-types/index.d.ts +1 -1
- package/node_modules/@smithy/service-error-classification/package.json +3 -2
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +6 -6
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +1 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +1 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +1 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +1 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +1 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +1 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +2 -2
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +1 -1
- package/node_modules/@smithy/shared-ini-file-loader/package.json +3 -2
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +6 -9
- package/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +3 -2
- package/node_modules/@smithy/signature-v4/dist-types/SignatureV4Base.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/credentialDerivation.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/getCanonicalHeaders.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/getCanonicalQuery.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/getPayloadHash.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/headerUtil.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/suite.fixture.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +2 -1
- package/node_modules/@smithy/signature-v4/package.json +9 -8
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +12 -15
- package/node_modules/@smithy/smithy-client/dist-types/NoOpLogger.d.ts +1 -1
- package/node_modules/@smithy/smithy-client/dist-types/client.d.ts +1 -1
- package/node_modules/@smithy/smithy-client/dist-types/create-aggregated-client.d.ts +1 -1
- package/node_modules/@smithy/smithy-client/dist-types/exceptions.d.ts +1 -1
- package/node_modules/@smithy/smithy-client/dist-types/extensions/defaultExtensionConfiguration.d.ts +2 -2
- package/node_modules/@smithy/smithy-client/dist-types/extensions/retry.d.ts +1 -1
- package/node_modules/@smithy/smithy-client/package.json +8 -7
- package/node_modules/@smithy/types/dist-cjs/index.js +7 -7
- package/node_modules/@smithy/types/dist-types/auth/HttpAuthScheme.d.ts +4 -4
- package/node_modules/@smithy/types/dist-types/auth/HttpAuthSchemeProvider.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/auth/HttpSigner.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/auth/IdentityProviderConfig.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/checksum.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/client.d.ts +4 -4
- package/node_modules/@smithy/types/dist-types/command.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/connection/manager.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/encode.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/endpoint.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/endpoints/EndpointRuleObject.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/endpoints/ErrorRuleObject.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/endpoints/RuleSetObject.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/endpoints/TreeRuleObject.d.ts +3 -3
- package/node_modules/@smithy/types/dist-types/endpoints/shared.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/eventStream.d.ts +3 -3
- package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/extensions/defaultClientConfiguration.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/extensions/defaultExtensionConfiguration.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/extensions/retry.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/http.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/identity/apiKeyIdentity.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/identity/awsCredentialIdentity.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/identity/tokenIdentity.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/retry.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +2 -0
- package/node_modules/@smithy/types/dist-types/serde.d.ts +4 -4
- package/node_modules/@smithy/types/dist-types/shapes.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/signature.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/stream.d.ts +3 -3
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +2 -0
- package/node_modules/@smithy/types/dist-types/uri.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/util.d.ts +3 -3
- package/node_modules/@smithy/types/dist-types/waiter.d.ts +1 -1
- package/node_modules/@smithy/types/package.json +2 -1
- package/node_modules/@smithy/url-parser/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/url-parser/dist-types/index.d.ts +1 -1
- package/node_modules/@smithy/url-parser/package.json +4 -3
- package/node_modules/@smithy/util-base64/dist-cjs/index.js +4 -4
- package/node_modules/@smithy/util-base64/dist-cjs/toBase64.browser.js +1 -2
- package/node_modules/@smithy/util-base64/package.json +7 -6
- package/node_modules/@smithy/util-body-length-browser/dist-cjs/index.js +6 -9
- package/node_modules/@smithy/util-body-length-browser/package.json +5 -4
- package/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/util-body-length-node/package.json +5 -4
- package/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/util-buffer-from/package.json +6 -5
- package/node_modules/@smithy/util-config-provider/dist-cjs/index.js +7 -11
- package/node_modules/@smithy/util-config-provider/dist-types/booleanSelector.d.ts +1 -1
- package/node_modules/@smithy/util-config-provider/dist-types/numberSelector.d.ts +1 -1
- package/node_modules/@smithy/util-config-provider/package.json +5 -4
- package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +5 -4
- package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +7 -7
- package/node_modules/@smithy/util-defaults-mode-node/dist-types/defaultsModeConfig.d.ts +1 -1
- package/node_modules/@smithy/util-defaults-mode-node/package.json +8 -7
- package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/util-endpoints/dist-types/debug/toDebugString.d.ts +3 -3
- package/node_modules/@smithy/util-endpoints/dist-types/getEndpointUrlConfig.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/lib/parseURL.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/resolveEndpoint.d.ts +2 -2
- package/node_modules/@smithy/util-endpoints/dist-types/types/EndpointFunctions.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/types/RuleSetObject.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/types/TreeRuleObject.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/types/shared.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/callFunction.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/customEndpointFunctions.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateCondition.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateConditions.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateEndpointRule.d.ts +2 -2
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateErrorRule.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateExpression.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateRules.d.ts +2 -2
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateTemplate.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateTreeRule.d.ts +2 -2
- package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointHeaders.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperties.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperty.d.ts +2 -2
- package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointUrl.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/getReferenceValue.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/package.json +6 -5
- package/node_modules/@smithy/util-hex-encoding/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/util-hex-encoding/package.json +5 -4
- package/node_modules/@smithy/util-middleware/dist-cjs/index.js +4 -5
- package/node_modules/@smithy/util-middleware/dist-types/getSmithyContext.d.ts +1 -1
- package/node_modules/@smithy/util-middleware/dist-types/normalizeProvider.d.ts +1 -1
- package/node_modules/@smithy/util-middleware/package.json +3 -2
- package/node_modules/@smithy/util-retry/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/util-retry/dist-types/AdaptiveRetryStrategy.d.ts +2 -2
- package/node_modules/@smithy/util-retry/dist-types/DefaultRateLimiter.d.ts +1 -1
- package/node_modules/@smithy/util-retry/dist-types/StandardRetryStrategy.d.ts +1 -1
- package/node_modules/@smithy/util-retry/dist-types/defaultRetryBackoffStrategy.d.ts +1 -1
- package/node_modules/@smithy/util-retry/dist-types/defaultRetryToken.d.ts +1 -1
- package/node_modules/@smithy/util-retry/package.json +4 -3
- package/node_modules/@smithy/util-stream/dist-cjs/index.js +11 -11
- package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.browser.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +3 -2
- package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.browser.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.d.ts +3 -3
- package/node_modules/@smithy/util-stream/dist-types/getAwsChunkedEncodingStream.browser.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/getAwsChunkedEncodingStream.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/headStream.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.browser.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts +2 -1
- package/node_modules/@smithy/util-stream/package.json +13 -12
- package/node_modules/@smithy/util-uri-escape/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/util-uri-escape/package.json +5 -4
- package/node_modules/@smithy/util-utf8/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/util-utf8/package.json +6 -5
- package/node_modules/@smithy/util-waiter/dist-cjs/index.js +4 -5
- package/node_modules/@smithy/util-waiter/dist-types/createWaiter.d.ts +1 -1
- package/node_modules/@smithy/util-waiter/dist-types/poller.d.ts +1 -1
- package/node_modules/@smithy/util-waiter/dist-types/utils/validate.d.ts +1 -1
- package/node_modules/@smithy/util-waiter/dist-types/waiter.d.ts +1 -1
- package/node_modules/@smithy/util-waiter/package.json +4 -3
- package/package.json +6 -6
@@ -1,2 +1,2 @@
|
|
1
|
-
import { ParsedIniData } from "@smithy/types";
|
1
|
+
import type { ParsedIniData } from "@smithy/types";
|
2
2
|
export declare const parseIni: (iniData: string) => ParsedIniData;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ParsedIniData as __ParsedIniData, Profile as __Profile, SharedConfigFiles as __SharedConfigFiles } from "@smithy/types";
|
1
|
+
import type { ParsedIniData as __ParsedIniData, Profile as __Profile, SharedConfigFiles as __SharedConfigFiles } from "@smithy/types";
|
2
2
|
/**
|
3
3
|
* @internal
|
4
4
|
* @deprecated Use Profile from "\@smithy/types" instead
|
@@ -1,8 +1,8 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/shared-ini-file-loader",
|
3
|
-
"version": "4.0
|
3
|
+
"version": "4.1.0",
|
4
4
|
"dependencies": {
|
5
|
-
"@smithy/types": "^4.
|
5
|
+
"@smithy/types": "^4.4.0",
|
6
6
|
"tslib": "^2.6.2"
|
7
7
|
},
|
8
8
|
"devDependencies": {
|
@@ -31,6 +31,7 @@
|
|
31
31
|
"url": "https://aws.amazon.com/javascript/"
|
32
32
|
},
|
33
33
|
"license": "Apache-2.0",
|
34
|
+
"sideEffects": false,
|
34
35
|
"main": "./dist-cjs/index.js",
|
35
36
|
"module": "./dist-es/index.js",
|
36
37
|
"types": "./dist-types/index.d.ts",
|
@@ -18,8 +18,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
19
|
|
20
20
|
// src/index.ts
|
21
|
-
var
|
22
|
-
__export(
|
21
|
+
var index_exports = {};
|
22
|
+
__export(index_exports, {
|
23
23
|
ALGORITHM_IDENTIFIER: () => ALGORITHM_IDENTIFIER,
|
24
24
|
ALGORITHM_IDENTIFIER_V4A: () => ALGORITHM_IDENTIFIER_V4A,
|
25
25
|
ALGORITHM_QUERY_PARAM: () => ALGORITHM_QUERY_PARAM,
|
@@ -60,7 +60,7 @@ __export(src_exports, {
|
|
60
60
|
prepareRequest: () => prepareRequest,
|
61
61
|
signatureV4aContainer: () => signatureV4aContainer
|
62
62
|
});
|
63
|
-
module.exports = __toCommonJS(
|
63
|
+
module.exports = __toCommonJS(index_exports);
|
64
64
|
|
65
65
|
// src/SignatureV4.ts
|
66
66
|
|
@@ -301,8 +301,7 @@ function negate(bytes) {
|
|
301
301
|
}
|
302
302
|
for (let i = 7; i > -1; i--) {
|
303
303
|
bytes[i]++;
|
304
|
-
if (bytes[i] !== 0)
|
305
|
-
break;
|
304
|
+
if (bytes[i] !== 0) break;
|
306
305
|
}
|
307
306
|
}
|
308
307
|
__name(negate, "negate");
|
@@ -433,10 +432,8 @@ ${(0, import_util_hex_encoding.toHex)(hashedRequest)}`;
|
|
433
432
|
if (this.uriEscapePath) {
|
434
433
|
const normalizedPathSegments = [];
|
435
434
|
for (const pathSegment of path.split("/")) {
|
436
|
-
if (pathSegment?.length === 0)
|
437
|
-
|
438
|
-
if (pathSegment === ".")
|
439
|
-
continue;
|
435
|
+
if (pathSegment?.length === 0) continue;
|
436
|
+
if (pathSegment === ".") continue;
|
440
437
|
if (pathSegment === "..") {
|
441
438
|
normalizedPathSegments.pop();
|
442
439
|
} else {
|
@@ -1,5 +1,6 @@
|
|
1
|
-
import { EventSigner, EventSigningArguments, FormattedEvent, HttpRequest, MessageSigner, RequestPresigner, RequestPresigningArguments, RequestSigner, RequestSigningArguments, SignableMessage, SignedMessage, SigningArguments, StringSigner } from "@smithy/types";
|
2
|
-
import {
|
1
|
+
import type { EventSigner, EventSigningArguments, FormattedEvent, HttpRequest, MessageSigner, RequestPresigner, RequestPresigningArguments, RequestSigner, RequestSigningArguments, SignableMessage, SignedMessage, SigningArguments, StringSigner } from "@smithy/types";
|
2
|
+
import type { SignatureV4CryptoInit, SignatureV4Init } from "./SignatureV4Base";
|
3
|
+
import { SignatureV4Base } from "./SignatureV4Base";
|
3
4
|
/**
|
4
5
|
* @public
|
5
6
|
*/
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { AwsCredentialIdentity, ChecksumConstructor, DateInput, HashConstructor, HeaderBag, HttpRequest, Provider } from "@smithy/types";
|
1
|
+
import type { AwsCredentialIdentity, ChecksumConstructor, DateInput, HashConstructor, HeaderBag, HttpRequest, Provider } from "@smithy/types";
|
2
2
|
/**
|
3
3
|
* @public
|
4
4
|
*/
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { AwsCredentialIdentity, ChecksumConstructor, HashConstructor } from "@smithy/types";
|
1
|
+
import type { AwsCredentialIdentity, ChecksumConstructor, HashConstructor } from "@smithy/types";
|
2
2
|
/**
|
3
3
|
* Create a string describing the scope of credentials used to sign a request.
|
4
4
|
*
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { HeaderBag } from "@smithy/types";
|
1
|
+
import type { HeaderBag } from "@smithy/types";
|
2
2
|
export declare const hasHeader: (soughtHeader: string, headers: HeaderBag) => boolean;
|
3
3
|
export declare const getHeaderValue: (soughtHeader: string, headers: HeaderBag) => string | undefined;
|
4
4
|
export declare const deleteHeader: (soughtHeader: string, headers: HeaderBag) => void;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { EventSigner, EventSigningArguments, FormattedEvent, HttpRequest, MessageSigner, RequestPresigner, RequestPresigningArguments, RequestSigner, RequestSigningArguments, SignableMessage, SignedMessage, SigningArguments, StringSigner } from "@smithy/types";
|
2
|
-
import {
|
2
|
+
import { SignatureV4CryptoInit, SignatureV4Init } from "./SignatureV4Base";
|
3
|
+
import { SignatureV4Base } from "./SignatureV4Base";
|
3
4
|
/**
|
4
5
|
* @public
|
5
6
|
*/
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/signature-v4",
|
3
|
-
"version": "5.
|
3
|
+
"version": "5.2.0",
|
4
4
|
"description": "A standalone implementation of the AWS Signature V4 request signing algorithm",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -24,14 +24,15 @@
|
|
24
24
|
"url": "https://aws.amazon.com/javascript/"
|
25
25
|
},
|
26
26
|
"license": "Apache-2.0",
|
27
|
+
"sideEffects": false,
|
27
28
|
"dependencies": {
|
28
|
-
"@smithy/is-array-buffer": "^4.
|
29
|
-
"@smithy/protocol-http": "^5.
|
30
|
-
"@smithy/types": "^4.
|
31
|
-
"@smithy/util-hex-encoding": "^4.
|
32
|
-
"@smithy/util-middleware": "^4.0
|
33
|
-
"@smithy/util-uri-escape": "^4.
|
34
|
-
"@smithy/util-utf8": "^4.
|
29
|
+
"@smithy/is-array-buffer": "^4.1.0",
|
30
|
+
"@smithy/protocol-http": "^5.2.0",
|
31
|
+
"@smithy/types": "^4.4.0",
|
32
|
+
"@smithy/util-hex-encoding": "^4.1.0",
|
33
|
+
"@smithy/util-middleware": "^4.1.0",
|
34
|
+
"@smithy/util-uri-escape": "^4.1.0",
|
35
|
+
"@smithy/util-utf8": "^4.1.0",
|
35
36
|
"tslib": "^2.6.2"
|
36
37
|
},
|
37
38
|
"devDependencies": {
|
@@ -19,8 +19,8 @@ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "defau
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
20
20
|
|
21
21
|
// src/index.ts
|
22
|
-
var
|
23
|
-
__export(
|
22
|
+
var index_exports = {};
|
23
|
+
__export(index_exports, {
|
24
24
|
Client: () => Client,
|
25
25
|
Command: () => Command,
|
26
26
|
NoOpLogger: () => NoOpLogger,
|
@@ -48,7 +48,7 @@ __export(src_exports, {
|
|
48
48
|
throwDefaultError: () => throwDefaultError,
|
49
49
|
withBaseException: () => withBaseException
|
50
50
|
});
|
51
|
-
module.exports = __toCommonJS(
|
51
|
+
module.exports = __toCommonJS(index_exports);
|
52
52
|
|
53
53
|
// src/client.ts
|
54
54
|
var import_middleware_stack = require("@smithy/middleware-stack");
|
@@ -196,10 +196,10 @@ var Command = class {
|
|
196
196
|
};
|
197
197
|
var ClassBuilder = class {
|
198
198
|
constructor() {
|
199
|
-
this._init = () => {
|
200
|
-
};
|
199
|
+
this._init = /* @__PURE__ */ __name(() => {
|
200
|
+
}, "_init");
|
201
201
|
this._ep = {};
|
202
|
-
this._middlewareFn = () => [];
|
202
|
+
this._middlewareFn = /* @__PURE__ */ __name(() => [], "_middlewareFn");
|
203
203
|
this._commandName = "";
|
204
204
|
this._clientName = "";
|
205
205
|
this._additionalContext = {};
|
@@ -354,8 +354,7 @@ var createAggregatedClient = /* @__PURE__ */ __name((commands, Client2) => {
|
|
354
354
|
if (typeof optionsOrCb === "function") {
|
355
355
|
this.send(command2, optionsOrCb);
|
356
356
|
} else if (typeof cb === "function") {
|
357
|
-
if (typeof optionsOrCb !== "object")
|
358
|
-
throw new Error(`Expected http options but got ${typeof optionsOrCb}`);
|
357
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expected http options but got ${typeof optionsOrCb}`);
|
359
358
|
this.send(command2, optionsOrCb || {}, cb);
|
360
359
|
} else {
|
361
360
|
return this.send(command2, optionsOrCb);
|
@@ -382,8 +381,7 @@ var ServiceException = class _ServiceException extends Error {
|
|
382
381
|
* Checks if a value is an instance of ServiceException (duck typed)
|
383
382
|
*/
|
384
383
|
static isInstance(value) {
|
385
|
-
if (!value)
|
386
|
-
return false;
|
384
|
+
if (!value) return false;
|
387
385
|
const candidate = value;
|
388
386
|
return _ServiceException.prototype.isPrototypeOf(candidate) || Boolean(candidate.$fault) && Boolean(candidate.$metadata) && (candidate.$fault === "client" || candidate.$fault === "server");
|
389
387
|
}
|
@@ -391,8 +389,7 @@ var ServiceException = class _ServiceException extends Error {
|
|
391
389
|
* Custom instanceof check to support the operator for ServiceException base class
|
392
390
|
*/
|
393
391
|
static [Symbol.hasInstance](instance) {
|
394
|
-
if (!instance)
|
395
|
-
return false;
|
392
|
+
if (!instance) return false;
|
396
393
|
const candidate = instance;
|
397
394
|
if (this === _ServiceException) {
|
398
395
|
return _ServiceException.isInstance(instance);
|
@@ -490,8 +487,8 @@ var getChecksumConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
490
487
|
continue;
|
491
488
|
}
|
492
489
|
checksumAlgorithms.push({
|
493
|
-
algorithmId: () => algorithmId,
|
494
|
-
checksumConstructor: () => runtimeConfig[algorithmId]
|
490
|
+
algorithmId: /* @__PURE__ */ __name(() => algorithmId, "algorithmId"),
|
491
|
+
checksumConstructor: /* @__PURE__ */ __name(() => runtimeConfig[algorithmId], "checksumConstructor")
|
495
492
|
});
|
496
493
|
}
|
497
494
|
return {
|
@@ -711,7 +708,7 @@ var _json = /* @__PURE__ */ __name((obj) => {
|
|
711
708
|
}, "_json");
|
712
709
|
|
713
710
|
// src/index.ts
|
714
|
-
__reExport(
|
711
|
+
__reExport(index_exports, require("@smithy/core/serde"), module.exports);
|
715
712
|
// Annotate the CommonJS export names for ESM import in node:
|
716
713
|
|
717
714
|
0 && (module.exports = {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Client as IClient, Command, FetchHttpHandlerOptions, MetadataBearer, MiddlewareStack, NodeHttpHandlerOptions, RequestHandler } from "@smithy/types";
|
1
|
+
import type { Client as IClient, Command, FetchHttpHandlerOptions, MetadataBearer, MiddlewareStack, NodeHttpHandlerOptions, RequestHandler } from "@smithy/types";
|
2
2
|
/**
|
3
3
|
* @public
|
4
4
|
*/
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { HttpResponse, MetadataBearer, ResponseMetadata, RetryableTrait, SmithyException } from "@smithy/types";
|
1
|
+
import type { HttpResponse, MetadataBearer, ResponseMetadata, RetryableTrait, SmithyException } from "@smithy/types";
|
2
2
|
/**
|
3
3
|
* The type of the exception class constructor parameter. The returned type contains the properties
|
4
4
|
* in the `ExceptionType` but not in the `BaseExceptionType`. If the `BaseExceptionType` contains
|
package/node_modules/@smithy/smithy-client/dist-types/extensions/defaultExtensionConfiguration.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import type { DefaultExtensionConfiguration } from "@smithy/types";
|
2
|
-
import { PartialChecksumRuntimeConfigType } from "./checksum";
|
3
|
-
import { PartialRetryRuntimeConfigType } from "./retry";
|
2
|
+
import type { PartialChecksumRuntimeConfigType } from "./checksum";
|
3
|
+
import type { PartialRetryRuntimeConfigType } from "./retry";
|
4
4
|
/**
|
5
5
|
* @internal
|
6
6
|
*/
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/smithy-client",
|
3
|
-
"version": "4.
|
3
|
+
"version": "4.6.0",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline smithy-client",
|
@@ -23,13 +23,14 @@
|
|
23
23
|
"url": "https://aws.amazon.com/javascript/"
|
24
24
|
},
|
25
25
|
"license": "Apache-2.0",
|
26
|
+
"sideEffects": false,
|
26
27
|
"dependencies": {
|
27
|
-
"@smithy/core": "^3.
|
28
|
-
"@smithy/middleware-endpoint": "^4.
|
29
|
-
"@smithy/middleware-stack": "^4.0
|
30
|
-
"@smithy/protocol-http": "^5.
|
31
|
-
"@smithy/types": "^4.
|
32
|
-
"@smithy/util-stream": "^4.
|
28
|
+
"@smithy/core": "^3.10.0",
|
29
|
+
"@smithy/middleware-endpoint": "^4.2.0",
|
30
|
+
"@smithy/middleware-stack": "^4.1.0",
|
31
|
+
"@smithy/protocol-http": "^5.2.0",
|
32
|
+
"@smithy/types": "^4.4.0",
|
33
|
+
"@smithy/util-stream": "^4.3.0",
|
33
34
|
"tslib": "^2.6.2"
|
34
35
|
},
|
35
36
|
"engines": {
|
@@ -18,8 +18,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
19
|
|
20
20
|
// src/index.ts
|
21
|
-
var
|
22
|
-
__export(
|
21
|
+
var index_exports = {};
|
22
|
+
__export(index_exports, {
|
23
23
|
AlgorithmId: () => AlgorithmId,
|
24
24
|
EndpointURLScheme: () => EndpointURLScheme,
|
25
25
|
FieldPosition: () => FieldPosition,
|
@@ -31,7 +31,7 @@ __export(src_exports, {
|
|
31
31
|
getDefaultClientConfiguration: () => getDefaultClientConfiguration,
|
32
32
|
resolveDefaultRuntimeConfig: () => resolveDefaultRuntimeConfig
|
33
33
|
});
|
34
|
-
module.exports = __toCommonJS(
|
34
|
+
module.exports = __toCommonJS(index_exports);
|
35
35
|
|
36
36
|
// src/auth/auth.ts
|
37
37
|
var HttpAuthLocation = /* @__PURE__ */ ((HttpAuthLocation2) => {
|
@@ -67,14 +67,14 @@ var getChecksumConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
67
67
|
const checksumAlgorithms = [];
|
68
68
|
if (runtimeConfig.sha256 !== void 0) {
|
69
69
|
checksumAlgorithms.push({
|
70
|
-
algorithmId: () => "sha256" /* SHA256 */,
|
71
|
-
checksumConstructor: () => runtimeConfig.sha256
|
70
|
+
algorithmId: /* @__PURE__ */ __name(() => "sha256" /* SHA256 */, "algorithmId"),
|
71
|
+
checksumConstructor: /* @__PURE__ */ __name(() => runtimeConfig.sha256, "checksumConstructor")
|
72
72
|
});
|
73
73
|
}
|
74
74
|
if (runtimeConfig.md5 != void 0) {
|
75
75
|
checksumAlgorithms.push({
|
76
|
-
algorithmId: () => "md5" /* MD5 */,
|
77
|
-
checksumConstructor: () => runtimeConfig.md5
|
76
|
+
algorithmId: /* @__PURE__ */ __name(() => "md5" /* MD5 */, "algorithmId"),
|
77
|
+
checksumConstructor: /* @__PURE__ */ __name(() => runtimeConfig.md5, "checksumConstructor")
|
78
78
|
});
|
79
79
|
}
|
80
80
|
return {
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { Identity, IdentityProvider } from "../identity/identity";
|
2
|
-
import { HandlerExecutionContext } from "../middleware";
|
3
|
-
import { HttpSigner } from "./HttpSigner";
|
4
|
-
import { IdentityProviderConfig } from "./IdentityProviderConfig";
|
1
|
+
import type { Identity, IdentityProvider } from "../identity/identity";
|
2
|
+
import type { HandlerExecutionContext } from "../middleware";
|
3
|
+
import type { HttpSigner } from "./HttpSigner";
|
4
|
+
import type { IdentityProviderConfig } from "./IdentityProviderConfig";
|
5
5
|
/**
|
6
6
|
* ID for {@link HttpAuthScheme}
|
7
7
|
* @internal
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { Identity, IdentityProvider } from "../identity/identity";
|
2
|
-
import { HttpAuthSchemeId } from "./HttpAuthScheme";
|
1
|
+
import type { Identity, IdentityProvider } from "../identity/identity";
|
2
|
+
import type { HttpAuthSchemeId } from "./HttpAuthScheme";
|
3
3
|
/**
|
4
4
|
* Interface to get an IdentityProvider for a specified HttpAuthScheme
|
5
5
|
* @internal
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { Command } from "./command";
|
2
|
-
import { MiddlewareStack } from "./middleware";
|
3
|
-
import { MetadataBearer } from "./response";
|
4
|
-
import { OptionalParameter } from "./util";
|
1
|
+
import type { Command } from "./command";
|
2
|
+
import type { MiddlewareStack } from "./middleware";
|
3
|
+
import type { MetadataBearer } from "./response";
|
4
|
+
import type { OptionalParameter } from "./util";
|
5
5
|
/**
|
6
6
|
* @public
|
7
7
|
*
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { EndpointRuleObject } from "./EndpointRuleObject";
|
2
|
-
import { ErrorRuleObject } from "./ErrorRuleObject";
|
3
|
-
import { ConditionObject } from "./shared";
|
1
|
+
import type { EndpointRuleObject } from "./EndpointRuleObject";
|
2
|
+
import type { ErrorRuleObject } from "./ErrorRuleObject";
|
3
|
+
import type { ConditionObject } from "./shared";
|
4
4
|
/**
|
5
5
|
* @public
|
6
6
|
*/
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { HttpRequest } from "./http";
|
2
|
-
import { FinalizeHandler, FinalizeHandlerArguments, FinalizeHandlerOutput, HandlerExecutionContext } from "./middleware";
|
3
|
-
import { MetadataBearer } from "./response";
|
1
|
+
import type { HttpRequest } from "./http";
|
2
|
+
import type { FinalizeHandler, FinalizeHandlerArguments, FinalizeHandlerOutput, HandlerExecutionContext } from "./middleware";
|
3
|
+
import type { MetadataBearer } from "./response";
|
4
4
|
/**
|
5
5
|
* @public
|
6
6
|
*
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { RetryStrategyV2 } from "../retry";
|
2
|
-
import { Provider, RetryStrategy } from "../util";
|
1
|
+
import type { RetryStrategyV2 } from "../retry";
|
2
|
+
import type { Provider, RetryStrategy } from "../util";
|
3
3
|
/**
|
4
4
|
* A configuration interface with methods called by runtime extension
|
5
5
|
* @internal
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import type { Agent as hAgent, AgentOptions as hAgentOptions } from "http";
|
2
2
|
import type { Agent as hsAgent, AgentOptions as hsAgentOptions } from "https";
|
3
|
-
import { HttpRequest as IHttpRequest } from "../http";
|
4
|
-
import { Logger } from "../logger";
|
3
|
+
import type { HttpRequest as IHttpRequest } from "../http";
|
4
|
+
import type { Logger } from "../logger";
|
5
5
|
/**
|
6
6
|
*
|
7
7
|
* This type represents an alternate client constructor option for the entry
|