diff --git a/clients/client-accessanalyzer/src/AccessAnalyzerClient.ts b/clients/client-accessanalyzer/src/AccessAnalyzerClient.ts index 8be3e7b757309..64a9830b75008 100644 --- a/clients/client-accessanalyzer/src/AccessAnalyzerClient.ts +++ b/clients/client-accessanalyzer/src/AccessAnalyzerClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -187,7 +188,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-account/src/AccountClient.ts b/clients/client-account/src/AccountClient.ts index 0b28e9a6d0b45..1b99be174cede 100644 --- a/clients/client-account/src/AccountClient.ts +++ b/clients/client-account/src/AccountClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -97,7 +98,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-acm-pca/src/ACMPCAClient.ts b/clients/client-acm-pca/src/ACMPCAClient.ts index 9d6279d19b3c6..f648c89a125ca 100644 --- a/clients/client-acm-pca/src/ACMPCAClient.ts +++ b/clients/client-acm-pca/src/ACMPCAClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -187,7 +188,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-acm/src/ACMClient.ts b/clients/client-acm/src/ACMClient.ts index 171dc6861a46e..c6caa3026b247 100644 --- a/clients/client-acm/src/ACMClient.ts +++ b/clients/client-acm/src/ACMClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -148,7 +149,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-alexa-for-business/src/AlexaForBusinessClient.ts b/clients/client-alexa-for-business/src/AlexaForBusinessClient.ts index 931f5154a5282..228d75e583b58 100644 --- a/clients/client-alexa-for-business/src/AlexaForBusinessClient.ts +++ b/clients/client-alexa-for-business/src/AlexaForBusinessClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -475,7 +476,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-amp/src/AmpClient.ts b/clients/client-amp/src/AmpClient.ts index e5d01b3eea859..1d1f0b1ff49af 100644 --- a/clients/client-amp/src/AmpClient.ts +++ b/clients/client-amp/src/AmpClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -163,7 +164,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-amplify/src/AmplifyClient.ts b/clients/client-amplify/src/AmplifyClient.ts index d04e4613720b3..c726b5f6359ec 100644 --- a/clients/client-amplify/src/AmplifyClient.ts +++ b/clients/client-amplify/src/AmplifyClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -220,7 +221,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-amplifybackend/src/AmplifyBackendClient.ts b/clients/client-amplifybackend/src/AmplifyBackendClient.ts index 45fc8adb1e889..07dcefee2e9db 100644 --- a/clients/client-amplifybackend/src/AmplifyBackendClient.ts +++ b/clients/client-amplifybackend/src/AmplifyBackendClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -199,7 +200,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-amplifyuibuilder/src/AmplifyUIBuilderClient.ts b/clients/client-amplifyuibuilder/src/AmplifyUIBuilderClient.ts index 54d71506184e7..4530a40e142cb 100644 --- a/clients/client-amplifyuibuilder/src/AmplifyUIBuilderClient.ts +++ b/clients/client-amplifyuibuilder/src/AmplifyUIBuilderClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -124,7 +125,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-api-gateway/src/APIGatewayClient.ts b/clients/client-api-gateway/src/APIGatewayClient.ts index 90bae21b5fed6..b587905df3b2c 100644 --- a/clients/client-api-gateway/src/APIGatewayClient.ts +++ b/clients/client-api-gateway/src/APIGatewayClient.ts @@ -36,6 +36,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -548,7 +549,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-apigatewaymanagementapi/src/ApiGatewayManagementApiClient.ts b/clients/client-apigatewaymanagementapi/src/ApiGatewayManagementApiClient.ts index ca490e8f14944..81affc1e6e373 100644 --- a/clients/client-apigatewaymanagementapi/src/ApiGatewayManagementApiClient.ts +++ b/clients/client-apigatewaymanagementapi/src/ApiGatewayManagementApiClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -85,7 +86,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-apigatewayv2/src/ApiGatewayV2Client.ts b/clients/client-apigatewayv2/src/ApiGatewayV2Client.ts index daaf7e6213850..f4349ece978ca 100644 --- a/clients/client-apigatewayv2/src/ApiGatewayV2Client.ts +++ b/clients/client-apigatewayv2/src/ApiGatewayV2Client.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -334,7 +335,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-app-mesh/src/AppMeshClient.ts b/clients/client-app-mesh/src/AppMeshClient.ts index 946dd3b433bcd..ece4af3911ffc 100644 --- a/clients/client-app-mesh/src/AppMeshClient.ts +++ b/clients/client-app-mesh/src/AppMeshClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -244,7 +245,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-appconfig/src/AppConfigClient.ts b/clients/client-appconfig/src/AppConfigClient.ts index ca7ac55543f62..0275004a21dfc 100644 --- a/clients/client-appconfig/src/AppConfigClient.ts +++ b/clients/client-appconfig/src/AppConfigClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -226,7 +227,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-appconfigdata/src/AppConfigDataClient.ts b/clients/client-appconfigdata/src/AppConfigDataClient.ts index 8144eebc4a763..e5ebe3c6b48e6 100644 --- a/clients/client-appconfigdata/src/AppConfigDataClient.ts +++ b/clients/client-appconfigdata/src/AppConfigDataClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -87,7 +88,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-appflow/src/AppflowClient.ts b/clients/client-appflow/src/AppflowClient.ts index a826727713683..73a8e0d3f0289 100644 --- a/clients/client-appflow/src/AppflowClient.ts +++ b/clients/client-appflow/src/AppflowClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -172,7 +173,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-appintegrations/src/AppIntegrationsClient.ts b/clients/client-appintegrations/src/AppIntegrationsClient.ts index 829816c79240e..b23b0af64a4fe 100644 --- a/clients/client-appintegrations/src/AppIntegrationsClient.ts +++ b/clients/client-appintegrations/src/AppIntegrationsClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -160,7 +161,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-application-auto-scaling/src/ApplicationAutoScalingClient.ts b/clients/client-application-auto-scaling/src/ApplicationAutoScalingClient.ts index 6a28d3793af63..e39018cffee63 100644 --- a/clients/client-application-auto-scaling/src/ApplicationAutoScalingClient.ts +++ b/clients/client-application-auto-scaling/src/ApplicationAutoScalingClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -133,7 +134,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-application-discovery-service/src/ApplicationDiscoveryServiceClient.ts b/clients/client-application-discovery-service/src/ApplicationDiscoveryServiceClient.ts index f4b4a658b962b..6b3030dd83e3c 100644 --- a/clients/client-application-discovery-service/src/ApplicationDiscoveryServiceClient.ts +++ b/clients/client-application-discovery-service/src/ApplicationDiscoveryServiceClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -199,7 +200,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-application-insights/src/ApplicationInsightsClient.ts b/clients/client-application-insights/src/ApplicationInsightsClient.ts index 0f3e1a621b7b0..034a48671865b 100644 --- a/clients/client-application-insights/src/ApplicationInsightsClient.ts +++ b/clients/client-application-insights/src/ApplicationInsightsClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -184,7 +185,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-applicationcostprofiler/src/ApplicationCostProfilerClient.ts b/clients/client-applicationcostprofiler/src/ApplicationCostProfilerClient.ts index 4e5af99d4d2f1..2f18a37d457ca 100644 --- a/clients/client-applicationcostprofiler/src/ApplicationCostProfilerClient.ts +++ b/clients/client-applicationcostprofiler/src/ApplicationCostProfilerClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -115,7 +116,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-apprunner/src/AppRunnerClient.ts b/clients/client-apprunner/src/AppRunnerClient.ts index 747e8d7e75efc..4cde0eda0684a 100644 --- a/clients/client-apprunner/src/AppRunnerClient.ts +++ b/clients/client-apprunner/src/AppRunnerClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -184,7 +185,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-appstream/src/AppStreamClient.ts b/clients/client-appstream/src/AppStreamClient.ts index 983598df6fa70..f3ee57cf2713b 100644 --- a/clients/client-appstream/src/AppStreamClient.ts +++ b/clients/client-appstream/src/AppStreamClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -352,7 +353,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-appsync/src/AppSyncClient.ts b/clients/client-appsync/src/AppSyncClient.ts index 93afcd984ff72..aa3a215e497b2 100644 --- a/clients/client-appsync/src/AppSyncClient.ts +++ b/clients/client-appsync/src/AppSyncClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -241,7 +242,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-athena/src/AthenaClient.ts b/clients/client-athena/src/AthenaClient.ts index 578995b022076..09ea8780a0543 100644 --- a/clients/client-athena/src/AthenaClient.ts +++ b/clients/client-athena/src/AthenaClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -208,7 +209,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-auditmanager/src/AuditManagerClient.ts b/clients/client-auditmanager/src/AuditManagerClient.ts index c4a1a6163151d..8e0cf14d993f3 100644 --- a/clients/client-auditmanager/src/AuditManagerClient.ts +++ b/clients/client-auditmanager/src/AuditManagerClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -373,7 +374,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-auto-scaling-plans/src/AutoScalingPlansClient.ts b/clients/client-auto-scaling-plans/src/AutoScalingPlansClient.ts index a8cce3a2c46df..ede2733355032 100644 --- a/clients/client-auto-scaling-plans/src/AutoScalingPlansClient.ts +++ b/clients/client-auto-scaling-plans/src/AutoScalingPlansClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -106,7 +107,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-auto-scaling/src/AutoScalingClient.ts b/clients/client-auto-scaling/src/AutoScalingClient.ts index d699d289fd597..337f9022ddfe0 100644 --- a/clients/client-auto-scaling/src/AutoScalingClient.ts +++ b/clients/client-auto-scaling/src/AutoScalingClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -388,7 +389,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-backup-gateway/src/BackupGatewayClient.ts b/clients/client-backup-gateway/src/BackupGatewayClient.ts index 28a123242ebc4..821c23f812f60 100644 --- a/clients/client-backup-gateway/src/BackupGatewayClient.ts +++ b/clients/client-backup-gateway/src/BackupGatewayClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -151,7 +152,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-backup/src/BackupClient.ts b/clients/client-backup/src/BackupClient.ts index 739e4415c0b1b..106a1571e8fac 100644 --- a/clients/client-backup/src/BackupClient.ts +++ b/clients/client-backup/src/BackupClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -370,7 +371,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-batch/src/BatchClient.ts b/clients/client-batch/src/BatchClient.ts index db7a523f0d78f..2ac2f5c1707bb 100644 --- a/clients/client-batch/src/BatchClient.ts +++ b/clients/client-batch/src/BatchClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -190,7 +191,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-braket/src/BraketClient.ts b/clients/client-braket/src/BraketClient.ts index 715296fa7dffb..cb108f5c3f638 100644 --- a/clients/client-braket/src/BraketClient.ts +++ b/clients/client-braket/src/BraketClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -121,7 +122,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-budgets/src/BudgetsClient.ts b/clients/client-budgets/src/BudgetsClient.ts index 2c141708b7a17..72bfb8093a429 100644 --- a/clients/client-budgets/src/BudgetsClient.ts +++ b/clients/client-budgets/src/BudgetsClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -175,7 +176,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-chime-sdk-identity/src/ChimeSDKIdentityClient.ts b/clients/client-chime-sdk-identity/src/ChimeSDKIdentityClient.ts index c32c32613295b..aeacfe027327e 100644 --- a/clients/client-chime-sdk-identity/src/ChimeSDKIdentityClient.ts +++ b/clients/client-chime-sdk-identity/src/ChimeSDKIdentityClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -205,7 +206,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-chime-sdk-meetings/src/ChimeSDKMeetingsClient.ts b/clients/client-chime-sdk-meetings/src/ChimeSDKMeetingsClient.ts index e0c30c1c67000..31341ada678ac 100644 --- a/clients/client-chime-sdk-meetings/src/ChimeSDKMeetingsClient.ts +++ b/clients/client-chime-sdk-meetings/src/ChimeSDKMeetingsClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -124,7 +125,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-chime-sdk-messaging/src/ChimeSDKMessagingClient.ts b/clients/client-chime-sdk-messaging/src/ChimeSDKMessagingClient.ts index 45229b9efd872..f09c336ec3a9f 100644 --- a/clients/client-chime-sdk-messaging/src/ChimeSDKMessagingClient.ts +++ b/clients/client-chime-sdk-messaging/src/ChimeSDKMessagingClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -298,7 +299,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-chime/src/ChimeClient.ts b/clients/client-chime/src/ChimeClient.ts index e2535cd1da197..302c98456727b 100644 --- a/clients/client-chime/src/ChimeClient.ts +++ b/clients/client-chime/src/ChimeClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -991,7 +992,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-cloud9/src/Cloud9Client.ts b/clients/client-cloud9/src/Cloud9Client.ts index dd545e235635c..9d4c79bd38b58 100644 --- a/clients/client-cloud9/src/Cloud9Client.ts +++ b/clients/client-cloud9/src/Cloud9Client.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -142,7 +143,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-cloudcontrol/src/CloudControlClient.ts b/clients/client-cloudcontrol/src/CloudControlClient.ts index 10c334217aa23..960e92a4b546e 100644 --- a/clients/client-cloudcontrol/src/CloudControlClient.ts +++ b/clients/client-cloudcontrol/src/CloudControlClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -112,7 +113,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-clouddirectory/src/CloudDirectoryClient.ts b/clients/client-clouddirectory/src/CloudDirectoryClient.ts index d975b72f998d2..bcd081670491d 100644 --- a/clients/client-clouddirectory/src/CloudDirectoryClient.ts +++ b/clients/client-clouddirectory/src/CloudDirectoryClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -355,7 +356,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-cloudformation/src/CloudFormationClient.ts b/clients/client-cloudformation/src/CloudFormationClient.ts index 8de1b1077d2e8..bd3f1824c268c 100644 --- a/clients/client-cloudformation/src/CloudFormationClient.ts +++ b/clients/client-cloudformation/src/CloudFormationClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -358,7 +359,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-cloudfront/src/CloudFrontClient.ts b/clients/client-cloudfront/src/CloudFrontClient.ts index fb04302b1745e..ba5242cffd34d 100644 --- a/clients/client-cloudfront/src/CloudFrontClient.ts +++ b/clients/client-cloudfront/src/CloudFrontClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -523,7 +524,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-cloudhsm-v2/src/CloudHSMV2Client.ts b/clients/client-cloudhsm-v2/src/CloudHSMV2Client.ts index 7169740995748..5377e8107b320 100644 --- a/clients/client-cloudhsm-v2/src/CloudHSMV2Client.ts +++ b/clients/client-cloudhsm-v2/src/CloudHSMV2Client.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -127,7 +128,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-cloudhsm/src/CloudHSMClient.ts b/clients/client-cloudhsm/src/CloudHSMClient.ts index aa2b7d2b53d22..c94d4abfceaff 100644 --- a/clients/client-cloudhsm/src/CloudHSMClient.ts +++ b/clients/client-cloudhsm/src/CloudHSMClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -145,7 +146,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-cloudsearch-domain/src/CloudSearchDomainClient.ts b/clients/client-cloudsearch-domain/src/CloudSearchDomainClient.ts index 006fd1e51d09d..5d98895bc5ff9 100644 --- a/clients/client-cloudsearch-domain/src/CloudSearchDomainClient.ts +++ b/clients/client-cloudsearch-domain/src/CloudSearchDomainClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -82,7 +83,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-cloudsearch/src/CloudSearchClient.ts b/clients/client-cloudsearch/src/CloudSearchClient.ts index b2f39036b27d6..b33576a3fa9dd 100644 --- a/clients/client-cloudsearch/src/CloudSearchClient.ts +++ b/clients/client-cloudsearch/src/CloudSearchClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -196,7 +197,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-cloudtrail/src/CloudTrailClient.ts b/clients/client-cloudtrail/src/CloudTrailClient.ts index ba42ac761b06a..6353df8a356fe 100644 --- a/clients/client-cloudtrail/src/CloudTrailClient.ts +++ b/clients/client-cloudtrail/src/CloudTrailClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -187,7 +188,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-cloudwatch-events/src/CloudWatchEventsClient.ts b/clients/client-cloudwatch-events/src/CloudWatchEventsClient.ts index c35cbc52b7bc6..3d4258e2b2939 100644 --- a/clients/client-cloudwatch-events/src/CloudWatchEventsClient.ts +++ b/clients/client-cloudwatch-events/src/CloudWatchEventsClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -280,7 +281,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-cloudwatch-logs/src/CloudWatchLogsClient.ts b/clients/client-cloudwatch-logs/src/CloudWatchLogsClient.ts index f7d56ea230829..23547955d7a1a 100644 --- a/clients/client-cloudwatch-logs/src/CloudWatchLogsClient.ts +++ b/clients/client-cloudwatch-logs/src/CloudWatchLogsClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -241,7 +242,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-cloudwatch/src/CloudWatchClient.ts b/clients/client-cloudwatch/src/CloudWatchClient.ts index 1893d6304ea26..896381b9231fb 100644 --- a/clients/client-cloudwatch/src/CloudWatchClient.ts +++ b/clients/client-cloudwatch/src/CloudWatchClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -220,7 +221,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-codeartifact/src/CodeartifactClient.ts b/clients/client-codeartifact/src/CodeartifactClient.ts index 1ec0664ffa647..380dcd87b329a 100644 --- a/clients/client-codeartifact/src/CodeartifactClient.ts +++ b/clients/client-codeartifact/src/CodeartifactClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -247,7 +248,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-codebuild/src/CodeBuildClient.ts b/clients/client-codebuild/src/CodeBuildClient.ts index 9f7c44a9c861f..b064c24659b46 100644 --- a/clients/client-codebuild/src/CodeBuildClient.ts +++ b/clients/client-codebuild/src/CodeBuildClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -259,7 +260,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-codecommit/src/CodeCommitClient.ts b/clients/client-codecommit/src/CodeCommitClient.ts index 86f58b836cce5..c06e9ccb27b85 100644 --- a/clients/client-codecommit/src/CodeCommitClient.ts +++ b/clients/client-codecommit/src/CodeCommitClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -454,7 +455,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-codedeploy/src/CodeDeployClient.ts b/clients/client-codedeploy/src/CodeDeployClient.ts index b06c4e6b15ad9..a34e1396b06c0 100644 --- a/clients/client-codedeploy/src/CodeDeployClient.ts +++ b/clients/client-codedeploy/src/CodeDeployClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -322,7 +323,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-codeguru-reviewer/src/CodeGuruReviewerClient.ts b/clients/client-codeguru-reviewer/src/CodeGuruReviewerClient.ts index 9ce1696f8f332..5c75a3809af23 100644 --- a/clients/client-codeguru-reviewer/src/CodeGuruReviewerClient.ts +++ b/clients/client-codeguru-reviewer/src/CodeGuruReviewerClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -148,7 +149,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-codeguruprofiler/src/CodeGuruProfilerClient.ts b/clients/client-codeguruprofiler/src/CodeGuruProfilerClient.ts index c01c8c252decf..02eee0dc30790 100644 --- a/clients/client-codeguruprofiler/src/CodeGuruProfilerClient.ts +++ b/clients/client-codeguruprofiler/src/CodeGuruProfilerClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -184,7 +185,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-codepipeline/src/CodePipelineClient.ts b/clients/client-codepipeline/src/CodePipelineClient.ts index 3b60a126c4cf4..eebeca6cf6fad 100644 --- a/clients/client-codepipeline/src/CodePipelineClient.ts +++ b/clients/client-codepipeline/src/CodePipelineClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -256,7 +257,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-codestar-connections/src/CodeStarConnectionsClient.ts b/clients/client-codestar-connections/src/CodeStarConnectionsClient.ts index b4b2bc41bbf0e..ad08f21f7cdca 100644 --- a/clients/client-codestar-connections/src/CodeStarConnectionsClient.ts +++ b/clients/client-codestar-connections/src/CodeStarConnectionsClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -118,7 +119,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-codestar-notifications/src/CodestarNotificationsClient.ts b/clients/client-codestar-notifications/src/CodestarNotificationsClient.ts index ab9bc2c00ba41..895399cf86c80 100644 --- a/clients/client-codestar-notifications/src/CodestarNotificationsClient.ts +++ b/clients/client-codestar-notifications/src/CodestarNotificationsClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -136,7 +137,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-codestar/src/CodeStarClient.ts b/clients/client-codestar/src/CodeStarClient.ts index 4368555c89329..fda6c82a35ad8 100644 --- a/clients/client-codestar/src/CodeStarClient.ts +++ b/clients/client-codestar/src/CodeStarClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -142,7 +143,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-cognito-identity-provider/src/CognitoIdentityProviderClient.ts b/clients/client-cognito-identity-provider/src/CognitoIdentityProviderClient.ts index ac570ad08bcff..648e8e6fce310 100644 --- a/clients/client-cognito-identity-provider/src/CognitoIdentityProviderClient.ts +++ b/clients/client-cognito-identity-provider/src/CognitoIdentityProviderClient.ts @@ -30,6 +30,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -545,7 +546,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-cognito-identity/src/CognitoIdentityClient.ts b/clients/client-cognito-identity/src/CognitoIdentityClient.ts index cc69853197be3..d6932b4840e62 100644 --- a/clients/client-cognito-identity/src/CognitoIdentityClient.ts +++ b/clients/client-cognito-identity/src/CognitoIdentityClient.ts @@ -30,6 +30,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -176,7 +177,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-cognito-sync/src/CognitoSyncClient.ts b/clients/client-cognito-sync/src/CognitoSyncClient.ts index c32741c21198c..e560a20a37d40 100644 --- a/clients/client-cognito-sync/src/CognitoSyncClient.ts +++ b/clients/client-cognito-sync/src/CognitoSyncClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -151,7 +152,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-comprehend/src/ComprehendClient.ts b/clients/client-comprehend/src/ComprehendClient.ts index 46d8ca4db2c8f..989fb74a85404 100644 --- a/clients/client-comprehend/src/ComprehendClient.ts +++ b/clients/client-comprehend/src/ComprehendClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -433,7 +434,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-comprehendmedical/src/ComprehendMedicalClient.ts b/clients/client-comprehendmedical/src/ComprehendMedicalClient.ts index 8538d26e8243f..5afb5ea0accea 100644 --- a/clients/client-comprehendmedical/src/ComprehendMedicalClient.ts +++ b/clients/client-comprehendmedical/src/ComprehendMedicalClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -217,7 +218,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-compute-optimizer/src/ComputeOptimizerClient.ts b/clients/client-compute-optimizer/src/ComputeOptimizerClient.ts index b9defc1bda5a4..35c319d2a800e 100644 --- a/clients/client-compute-optimizer/src/ComputeOptimizerClient.ts +++ b/clients/client-compute-optimizer/src/ComputeOptimizerClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -187,7 +188,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-config-service/src/ConfigServiceClient.ts b/clients/client-config-service/src/ConfigServiceClient.ts index 6605a76866449..e1ab27c97ef66 100644 --- a/clients/client-config-service/src/ConfigServiceClient.ts +++ b/clients/client-config-service/src/ConfigServiceClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -559,7 +560,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-connect-contact-lens/src/ConnectContactLensClient.ts b/clients/client-connect-contact-lens/src/ConnectContactLensClient.ts index 3c02dced6db75..532290e2f1905 100644 --- a/clients/client-connect-contact-lens/src/ConnectContactLensClient.ts +++ b/clients/client-connect-contact-lens/src/ConnectContactLensClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -83,7 +84,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-connect/src/ConnectClient.ts b/clients/client-connect/src/ConnectClient.ts index fb72a42f1187f..791d5440a1dfd 100644 --- a/clients/client-connect/src/ConnectClient.ts +++ b/clients/client-connect/src/ConnectClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -742,7 +743,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-connectparticipant/src/ConnectParticipantClient.ts b/clients/client-connectparticipant/src/ConnectParticipantClient.ts index ea2d43f962a03..d4c3e35a01274 100644 --- a/clients/client-connectparticipant/src/ConnectParticipantClient.ts +++ b/clients/client-connectparticipant/src/ConnectParticipantClient.ts @@ -41,6 +41,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -121,7 +122,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-cost-and-usage-report-service/src/CostAndUsageReportServiceClient.ts b/clients/client-cost-and-usage-report-service/src/CostAndUsageReportServiceClient.ts index 536c1c5a53916..f27478b94bd58 100644 --- a/clients/client-cost-and-usage-report-service/src/CostAndUsageReportServiceClient.ts +++ b/clients/client-cost-and-usage-report-service/src/CostAndUsageReportServiceClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -103,7 +104,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-cost-explorer/src/CostExplorerClient.ts b/clients/client-cost-explorer/src/CostExplorerClient.ts index 7084ca9732674..8d51c051bc7ab 100644 --- a/clients/client-cost-explorer/src/CostExplorerClient.ts +++ b/clients/client-cost-explorer/src/CostExplorerClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -235,7 +236,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-customer-profiles/src/CustomerProfilesClient.ts b/clients/client-customer-profiles/src/CustomerProfilesClient.ts index bdfec86d96d94..6c8431f4d566a 100644 --- a/clients/client-customer-profiles/src/CustomerProfilesClient.ts +++ b/clients/client-customer-profiles/src/CustomerProfilesClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -232,7 +233,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-data-pipeline/src/DataPipelineClient.ts b/clients/client-data-pipeline/src/DataPipelineClient.ts index 9616a20955c9a..6ce6b05bae61c 100644 --- a/clients/client-data-pipeline/src/DataPipelineClient.ts +++ b/clients/client-data-pipeline/src/DataPipelineClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -148,7 +149,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-database-migration-service/src/DatabaseMigrationServiceClient.ts b/clients/client-database-migration-service/src/DatabaseMigrationServiceClient.ts index 72ea1fd46691a..7355ec60a4f65 100644 --- a/clients/client-database-migration-service/src/DatabaseMigrationServiceClient.ts +++ b/clients/client-database-migration-service/src/DatabaseMigrationServiceClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -370,7 +371,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-databrew/src/DataBrewClient.ts b/clients/client-databrew/src/DataBrewClient.ts index 5bb4a09f51968..3bd97c80654c4 100644 --- a/clients/client-databrew/src/DataBrewClient.ts +++ b/clients/client-databrew/src/DataBrewClient.ts @@ -41,6 +41,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -232,7 +233,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-dataexchange/src/DataExchangeClient.ts b/clients/client-dataexchange/src/DataExchangeClient.ts index 39d28bad28b4d..9fdef3fb79407 100644 --- a/clients/client-dataexchange/src/DataExchangeClient.ts +++ b/clients/client-dataexchange/src/DataExchangeClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -169,7 +170,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-datasync/src/DataSyncClient.ts b/clients/client-datasync/src/DataSyncClient.ts index ad952bf24c04d..9f974eb964292 100644 --- a/clients/client-datasync/src/DataSyncClient.ts +++ b/clients/client-datasync/src/DataSyncClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -244,7 +245,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-dax/src/DAXClient.ts b/clients/client-dax/src/DAXClient.ts index 5777b0096e2b6..2ae2e63884c71 100644 --- a/clients/client-dax/src/DAXClient.ts +++ b/clients/client-dax/src/DAXClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -166,7 +167,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-detective/src/DetectiveClient.ts b/clients/client-detective/src/DetectiveClient.ts index 64d1e59424107..bce25264e4900 100644 --- a/clients/client-detective/src/DetectiveClient.ts +++ b/clients/client-detective/src/DetectiveClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -163,7 +164,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-device-farm/src/DeviceFarmClient.ts b/clients/client-device-farm/src/DeviceFarmClient.ts index 3fb48b508e25f..12e5afcef781e 100644 --- a/clients/client-device-farm/src/DeviceFarmClient.ts +++ b/clients/client-device-farm/src/DeviceFarmClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -406,7 +407,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-devops-guru/src/DevOpsGuruClient.ts b/clients/client-devops-guru/src/DevOpsGuruClient.ts index 92c6be8bbfbde..0984359cfc811 100644 --- a/clients/client-devops-guru/src/DevOpsGuruClient.ts +++ b/clients/client-devops-guru/src/DevOpsGuruClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -211,7 +212,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-direct-connect/src/DirectConnectClient.ts b/clients/client-direct-connect/src/DirectConnectClient.ts index f3caa41342eef..f008d752c8961 100644 --- a/clients/client-direct-connect/src/DirectConnectClient.ts +++ b/clients/client-direct-connect/src/DirectConnectClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -403,7 +404,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-directory-service/src/DirectoryServiceClient.ts b/clients/client-directory-service/src/DirectoryServiceClient.ts index 427d97be3d9b2..c73a4d672086b 100644 --- a/clients/client-directory-service/src/DirectoryServiceClient.ts +++ b/clients/client-directory-service/src/DirectoryServiceClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -352,7 +353,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-dlm/src/DLMClient.ts b/clients/client-dlm/src/DLMClient.ts index a17790252024a..41400517bb17e 100644 --- a/clients/client-dlm/src/DLMClient.ts +++ b/clients/client-dlm/src/DLMClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -118,7 +119,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-docdb/src/DocDBClient.ts b/clients/client-docdb/src/DocDBClient.ts index 63933ca0c4782..bdb769b30b208 100644 --- a/clients/client-docdb/src/DocDBClient.ts +++ b/clients/client-docdb/src/DocDBClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -358,7 +359,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-drs/src/DrsClient.ts b/clients/client-drs/src/DrsClient.ts index 1ed46f67268e5..4eb54d1868ab4 100644 --- a/clients/client-drs/src/DrsClient.ts +++ b/clients/client-drs/src/DrsClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -229,7 +230,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-dynamodb-streams/src/DynamoDBStreamsClient.ts b/clients/client-dynamodb-streams/src/DynamoDBStreamsClient.ts index bdabcae4060f5..044362d26d74e 100644 --- a/clients/client-dynamodb-streams/src/DynamoDBStreamsClient.ts +++ b/clients/client-dynamodb-streams/src/DynamoDBStreamsClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -91,7 +92,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-dynamodb/src/DynamoDBClient.ts b/clients/client-dynamodb/src/DynamoDBClient.ts index e2fe31cab40ae..a3241382b9e76 100644 --- a/clients/client-dynamodb/src/DynamoDBClient.ts +++ b/clients/client-dynamodb/src/DynamoDBClient.ts @@ -40,6 +40,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -289,7 +290,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-ebs/src/EBSClient.ts b/clients/client-ebs/src/EBSClient.ts index e56537346cf2b..c765f57eab46f 100644 --- a/clients/client-ebs/src/EBSClient.ts +++ b/clients/client-ebs/src/EBSClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -97,7 +98,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-ec2-instance-connect/src/EC2InstanceConnectClient.ts b/clients/client-ec2-instance-connect/src/EC2InstanceConnectClient.ts index f8ac706b8c332..e4be1aebf5db3 100644 --- a/clients/client-ec2-instance-connect/src/EC2InstanceConnectClient.ts +++ b/clients/client-ec2-instance-connect/src/EC2InstanceConnectClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -84,7 +85,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-ec2/src/EC2Client.ts b/clients/client-ec2/src/EC2Client.ts index 10b6cc22aa906..bfdab08db6620 100644 --- a/clients/client-ec2/src/EC2Client.ts +++ b/clients/client-ec2/src/EC2Client.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -2854,7 +2855,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-ecr-public/src/ECRPUBLICClient.ts b/clients/client-ecr-public/src/ECRPUBLICClient.ts index 2dec7968c1311..415c06fcac678 100644 --- a/clients/client-ecr-public/src/ECRPUBLICClient.ts +++ b/clients/client-ecr-public/src/ECRPUBLICClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -187,7 +188,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-ecr/src/ECRClient.ts b/clients/client-ecr/src/ECRClient.ts index 02c5404d4bd3a..b5c9d1dc830d7 100644 --- a/clients/client-ecr/src/ECRClient.ts +++ b/clients/client-ecr/src/ECRClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -277,7 +278,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-ecs/src/ECSClient.ts b/clients/client-ecs/src/ECSClient.ts index 8e0f010392c14..72125f203b675 100644 --- a/clients/client-ecs/src/ECSClient.ts +++ b/clients/client-ecs/src/ECSClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -313,7 +314,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-efs/src/EFSClient.ts b/clients/client-efs/src/EFSClient.ts index 1cdf0d06ebd04..112f68390591d 100644 --- a/clients/client-efs/src/EFSClient.ts +++ b/clients/client-efs/src/EFSClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -220,7 +221,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-eks/src/EKSClient.ts b/clients/client-eks/src/EKSClient.ts index 392b02771ebae..6676b14ff69f2 100644 --- a/clients/client-eks/src/EKSClient.ts +++ b/clients/client-eks/src/EKSClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -226,7 +227,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-elastic-beanstalk/src/ElasticBeanstalkClient.ts b/clients/client-elastic-beanstalk/src/ElasticBeanstalkClient.ts index a8e332a9ae2e1..51bfd8acda0da 100644 --- a/clients/client-elastic-beanstalk/src/ElasticBeanstalkClient.ts +++ b/clients/client-elastic-beanstalk/src/ElasticBeanstalkClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -337,7 +338,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-elastic-inference/src/ElasticInferenceClient.ts b/clients/client-elastic-inference/src/ElasticInferenceClient.ts index 216c07701e334..80a80b932df50 100644 --- a/clients/client-elastic-inference/src/ElasticInferenceClient.ts +++ b/clients/client-elastic-inference/src/ElasticInferenceClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -109,7 +110,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-elastic-load-balancing-v2/src/ElasticLoadBalancingV2Client.ts b/clients/client-elastic-load-balancing-v2/src/ElasticLoadBalancingV2Client.ts index aa499256e91cf..cf2d553224cb7 100644 --- a/clients/client-elastic-load-balancing-v2/src/ElasticLoadBalancingV2Client.ts +++ b/clients/client-elastic-load-balancing-v2/src/ElasticLoadBalancingV2Client.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -217,7 +218,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-elastic-load-balancing/src/ElasticLoadBalancingClient.ts b/clients/client-elastic-load-balancing/src/ElasticLoadBalancingClient.ts index 2e4997bd8a906..713f63c3b619b 100644 --- a/clients/client-elastic-load-balancing/src/ElasticLoadBalancingClient.ts +++ b/clients/client-elastic-load-balancing/src/ElasticLoadBalancingClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -238,7 +239,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-elastic-transcoder/src/ElasticTranscoderClient.ts b/clients/client-elastic-transcoder/src/ElasticTranscoderClient.ts index d6af85c246d61..8ff227a414a9c 100644 --- a/clients/client-elastic-transcoder/src/ElasticTranscoderClient.ts +++ b/clients/client-elastic-transcoder/src/ElasticTranscoderClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -136,7 +137,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-elasticache/src/ElastiCacheClient.ts b/clients/client-elasticache/src/ElastiCacheClient.ts index 674fa6f7683ee..81662c747a0ca 100644 --- a/clients/client-elasticache/src/ElastiCacheClient.ts +++ b/clients/client-elasticache/src/ElastiCacheClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -406,7 +407,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-elasticsearch-service/src/ElasticsearchServiceClient.ts b/clients/client-elasticsearch-service/src/ElasticsearchServiceClient.ts index 19e5f9cac75f4..fcd159bdd1e49 100644 --- a/clients/client-elasticsearch-service/src/ElasticsearchServiceClient.ts +++ b/clients/client-elasticsearch-service/src/ElasticsearchServiceClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -289,7 +290,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-emr-containers/src/EMRContainersClient.ts b/clients/client-emr-containers/src/EMRContainersClient.ts index 45955ed68d88d..a3f31257141d9 100644 --- a/clients/client-emr-containers/src/EMRContainersClient.ts +++ b/clients/client-emr-containers/src/EMRContainersClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -151,7 +152,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-emr/src/EMRClient.ts b/clients/client-emr/src/EMRClient.ts index 7b3e481a7ae10..cce8013db91cd 100644 --- a/clients/client-emr/src/EMRClient.ts +++ b/clients/client-emr/src/EMRClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -322,7 +323,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-eventbridge/src/EventBridgeClient.ts b/clients/client-eventbridge/src/EventBridgeClient.ts index f90e689ecee09..696995d134ff0 100644 --- a/clients/client-eventbridge/src/EventBridgeClient.ts +++ b/clients/client-eventbridge/src/EventBridgeClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -280,7 +281,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-evidently/src/EvidentlyClient.ts b/clients/client-evidently/src/EvidentlyClient.ts index 81613c61e68ea..b7c1b0bf0947d 100644 --- a/clients/client-evidently/src/EvidentlyClient.ts +++ b/clients/client-evidently/src/EvidentlyClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -187,7 +188,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-finspace-data/src/FinspaceDataClient.ts b/clients/client-finspace-data/src/FinspaceDataClient.ts index e855c5db09426..99b7fa077f059 100644 --- a/clients/client-finspace-data/src/FinspaceDataClient.ts +++ b/clients/client-finspace-data/src/FinspaceDataClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -124,7 +125,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-finspace/src/FinspaceClient.ts b/clients/client-finspace/src/FinspaceClient.ts index 8a97e925d8eba..cb68413084cd9 100644 --- a/clients/client-finspace/src/FinspaceClient.ts +++ b/clients/client-finspace/src/FinspaceClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -106,7 +107,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-firehose/src/FirehoseClient.ts b/clients/client-firehose/src/FirehoseClient.ts index 272d8ff707771..2a8dc45f97917 100644 --- a/clients/client-firehose/src/FirehoseClient.ts +++ b/clients/client-firehose/src/FirehoseClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -139,7 +140,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-fis/src/FisClient.ts b/clients/client-fis/src/FisClient.ts index ec360623edfb8..cc0ba8c15a776 100644 --- a/clients/client-fis/src/FisClient.ts +++ b/clients/client-fis/src/FisClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -151,7 +152,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-fms/src/FMSClient.ts b/clients/client-fms/src/FMSClient.ts index dcb783de3f5c2..bc82b3c8c757c 100644 --- a/clients/client-fms/src/FMSClient.ts +++ b/clients/client-fms/src/FMSClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -190,7 +191,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-forecast/src/ForecastClient.ts b/clients/client-forecast/src/ForecastClient.ts index dc13f7670968a..ba7a045574a75 100644 --- a/clients/client-forecast/src/ForecastClient.ts +++ b/clients/client-forecast/src/ForecastClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -286,7 +287,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-forecastquery/src/ForecastqueryClient.ts b/clients/client-forecastquery/src/ForecastqueryClient.ts index 9fa7281ec41a9..21387214de7be 100644 --- a/clients/client-forecastquery/src/ForecastqueryClient.ts +++ b/clients/client-forecastquery/src/ForecastqueryClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -80,7 +81,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-frauddetector/src/FraudDetectorClient.ts b/clients/client-frauddetector/src/FraudDetectorClient.ts index 530bf2ffd9ef8..d797e8faa9503 100644 --- a/clients/client-frauddetector/src/FraudDetectorClient.ts +++ b/clients/client-frauddetector/src/FraudDetectorClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -352,7 +353,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-fsx/src/FSxClient.ts b/clients/client-fsx/src/FSxClient.ts index 85ea248043290..5c7feb1740ddc 100644 --- a/clients/client-fsx/src/FSxClient.ts +++ b/clients/client-fsx/src/FSxClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -250,7 +251,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-gamelift/src/GameLiftClient.ts b/clients/client-gamelift/src/GameLiftClient.ts index fe5d376124069..586d86231749f 100644 --- a/clients/client-gamelift/src/GameLiftClient.ts +++ b/clients/client-gamelift/src/GameLiftClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -535,7 +536,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-glacier/src/GlacierClient.ts b/clients/client-glacier/src/GlacierClient.ts index 5e69a6a8fd327..e95bfb7c5b006 100644 --- a/clients/client-glacier/src/GlacierClient.ts +++ b/clients/client-glacier/src/GlacierClient.ts @@ -36,6 +36,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -228,7 +229,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-global-accelerator/src/GlobalAcceleratorClient.ts b/clients/client-global-accelerator/src/GlobalAcceleratorClient.ts index 4a9ecd5985828..d739306f9479d 100644 --- a/clients/client-global-accelerator/src/GlobalAcceleratorClient.ts +++ b/clients/client-global-accelerator/src/GlobalAcceleratorClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -313,7 +314,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-glue/src/GlueClient.ts b/clients/client-glue/src/GlueClient.ts index bef556db9b25f..9f7a8db4f5c6a 100644 --- a/clients/client-glue/src/GlueClient.ts +++ b/clients/client-glue/src/GlueClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -736,7 +737,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-grafana/src/GrafanaClient.ts b/clients/client-grafana/src/GrafanaClient.ts index 3afbe5525abad..85e7a97891166 100644 --- a/clients/client-grafana/src/GrafanaClient.ts +++ b/clients/client-grafana/src/GrafanaClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -121,7 +122,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-greengrass/src/GreengrassClient.ts b/clients/client-greengrass/src/GreengrassClient.ts index 213d4d88edae6..16944ffc3101b 100644 --- a/clients/client-greengrass/src/GreengrassClient.ts +++ b/clients/client-greengrass/src/GreengrassClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -583,7 +584,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-greengrassv2/src/GreengrassV2Client.ts b/clients/client-greengrassv2/src/GreengrassV2Client.ts index cd7344d551e28..d93734d3ce853 100644 --- a/clients/client-greengrassv2/src/GreengrassV2Client.ts +++ b/clients/client-greengrassv2/src/GreengrassV2Client.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -208,7 +209,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-groundstation/src/GroundStationClient.ts b/clients/client-groundstation/src/GroundStationClient.ts index b5716c6c7d8ff..6450185f08444 100644 --- a/clients/client-groundstation/src/GroundStationClient.ts +++ b/clients/client-groundstation/src/GroundStationClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -181,7 +182,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-guardduty/src/GuardDutyClient.ts b/clients/client-guardduty/src/GuardDutyClient.ts index 75464c596fc6d..96c37bb09df1a 100644 --- a/clients/client-guardduty/src/GuardDutyClient.ts +++ b/clients/client-guardduty/src/GuardDutyClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -325,7 +326,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-health/src/HealthClient.ts b/clients/client-health/src/HealthClient.ts index afc3bf60c09d5..adf321009a41b 100644 --- a/clients/client-health/src/HealthClient.ts +++ b/clients/client-health/src/HealthClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -151,7 +152,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-healthlake/src/HealthLakeClient.ts b/clients/client-healthlake/src/HealthLakeClient.ts index 59ee7d1c3048d..1f75e2a0f5878 100644 --- a/clients/client-healthlake/src/HealthLakeClient.ts +++ b/clients/client-healthlake/src/HealthLakeClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -136,7 +137,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-honeycode/src/HoneycodeClient.ts b/clients/client-honeycode/src/HoneycodeClient.ts index 5f513c4aa354b..68359a5fb9560 100644 --- a/clients/client-honeycode/src/HoneycodeClient.ts +++ b/clients/client-honeycode/src/HoneycodeClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -148,7 +149,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-iam/src/IAMClient.ts b/clients/client-iam/src/IAMClient.ts index 3144d141fb19d..c440475939229 100644 --- a/clients/client-iam/src/IAMClient.ts +++ b/clients/client-iam/src/IAMClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -778,7 +779,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-identitystore/src/IdentitystoreClient.ts b/clients/client-identitystore/src/IdentitystoreClient.ts index d9df0a9802c7c..cbe1697ba9828 100644 --- a/clients/client-identitystore/src/IdentitystoreClient.ts +++ b/clients/client-identitystore/src/IdentitystoreClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -91,7 +92,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-imagebuilder/src/ImagebuilderClient.ts b/clients/client-imagebuilder/src/ImagebuilderClient.ts index 18aa6ea97b06f..7d445de30acc7 100644 --- a/clients/client-imagebuilder/src/ImagebuilderClient.ts +++ b/clients/client-imagebuilder/src/ImagebuilderClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -307,7 +308,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-inspector/src/InspectorClient.ts b/clients/client-inspector/src/InspectorClient.ts index ffcfbc2f1c048..2a2d07fa1639c 100644 --- a/clients/client-inspector/src/InspectorClient.ts +++ b/clients/client-inspector/src/InspectorClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -268,7 +269,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-inspector2/src/Inspector2Client.ts b/clients/client-inspector2/src/Inspector2Client.ts index 56c01d290be59..810679e2bbd41 100644 --- a/clients/client-inspector2/src/Inspector2Client.ts +++ b/clients/client-inspector2/src/Inspector2Client.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -214,7 +215,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-iot-1click-devices-service/src/IoT1ClickDevicesServiceClient.ts b/clients/client-iot-1click-devices-service/src/IoT1ClickDevicesServiceClient.ts index 4fe9b8ecbc60b..1ab521c5136d9 100644 --- a/clients/client-iot-1click-devices-service/src/IoT1ClickDevicesServiceClient.ts +++ b/clients/client-iot-1click-devices-service/src/IoT1ClickDevicesServiceClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -130,7 +131,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-iot-1click-projects/src/IoT1ClickProjectsClient.ts b/clients/client-iot-1click-projects/src/IoT1ClickProjectsClient.ts index adbcdb945f824..3500c66cd137c 100644 --- a/clients/client-iot-1click-projects/src/IoT1ClickProjectsClient.ts +++ b/clients/client-iot-1click-projects/src/IoT1ClickProjectsClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -139,7 +140,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-iot-data-plane/src/IoTDataPlaneClient.ts b/clients/client-iot-data-plane/src/IoTDataPlaneClient.ts index 3190d21c0191f..b80fdaf3fca19 100644 --- a/clients/client-iot-data-plane/src/IoTDataPlaneClient.ts +++ b/clients/client-iot-data-plane/src/IoTDataPlaneClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -106,7 +107,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-iot-events-data/src/IoTEventsDataClient.ts b/clients/client-iot-events-data/src/IoTEventsDataClient.ts index bff39be91f13a..7d2a5d9ca839c 100644 --- a/clients/client-iot-events-data/src/IoTEventsDataClient.ts +++ b/clients/client-iot-events-data/src/IoTEventsDataClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -118,7 +119,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-iot-events/src/IoTEventsClient.ts b/clients/client-iot-events/src/IoTEventsClient.ts index 99ae417a8b4be..de556dd6bea2a 100644 --- a/clients/client-iot-events/src/IoTEventsClient.ts +++ b/clients/client-iot-events/src/IoTEventsClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -190,7 +191,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-iot-jobs-data-plane/src/IoTJobsDataPlaneClient.ts b/clients/client-iot-jobs-data-plane/src/IoTJobsDataPlaneClient.ts index e6a27e2605602..72edb42c5ee91 100644 --- a/clients/client-iot-jobs-data-plane/src/IoTJobsDataPlaneClient.ts +++ b/clients/client-iot-jobs-data-plane/src/IoTJobsDataPlaneClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -100,7 +101,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-iot-wireless/src/IoTWirelessClient.ts b/clients/client-iot-wireless/src/IoTWirelessClient.ts index 5797275979490..22ba791b85d0c 100644 --- a/clients/client-iot-wireless/src/IoTWirelessClient.ts +++ b/clients/client-iot-wireless/src/IoTWirelessClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -532,7 +533,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-iot/src/IoTClient.ts b/clients/client-iot/src/IoTClient.ts index 388c41870265a..7961da98483ac 100644 --- a/clients/client-iot/src/IoTClient.ts +++ b/clients/client-iot/src/IoTClient.ts @@ -41,6 +41,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -1201,7 +1202,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-iotanalytics/src/IoTAnalyticsClient.ts b/clients/client-iotanalytics/src/IoTAnalyticsClient.ts index abe09894d1ed0..07fa00ab8ce99 100644 --- a/clients/client-iotanalytics/src/IoTAnalyticsClient.ts +++ b/clients/client-iotanalytics/src/IoTAnalyticsClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -205,7 +206,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-iotdeviceadvisor/src/IotDeviceAdvisorClient.ts b/clients/client-iotdeviceadvisor/src/IotDeviceAdvisorClient.ts index 0c0f31cec6c16..fb3e00d3f7bdb 100644 --- a/clients/client-iotdeviceadvisor/src/IotDeviceAdvisorClient.ts +++ b/clients/client-iotdeviceadvisor/src/IotDeviceAdvisorClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -136,7 +137,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-iotfleethub/src/IoTFleetHubClient.ts b/clients/client-iotfleethub/src/IoTFleetHubClient.ts index f25aff42eee4a..d31873ec26ad1 100644 --- a/clients/client-iotfleethub/src/IoTFleetHubClient.ts +++ b/clients/client-iotfleethub/src/IoTFleetHubClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -109,7 +110,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-iotsecuretunneling/src/IoTSecureTunnelingClient.ts b/clients/client-iotsecuretunneling/src/IoTSecureTunnelingClient.ts index 13ffdd11965cc..ff10a6c7ed484 100644 --- a/clients/client-iotsecuretunneling/src/IoTSecureTunnelingClient.ts +++ b/clients/client-iotsecuretunneling/src/IoTSecureTunnelingClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -103,7 +104,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-iotsitewise/src/IoTSiteWiseClient.ts b/clients/client-iotsitewise/src/IoTSiteWiseClient.ts index eae55b2438490..04da8ed960178 100644 --- a/clients/client-iotsitewise/src/IoTSiteWiseClient.ts +++ b/clients/client-iotsitewise/src/IoTSiteWiseClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -340,7 +341,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-iotthingsgraph/src/IoTThingsGraphClient.ts b/clients/client-iotthingsgraph/src/IoTThingsGraphClient.ts index 5859f1c0e8bbd..d058bf3b130cf 100644 --- a/clients/client-iotthingsgraph/src/IoTThingsGraphClient.ts +++ b/clients/client-iotthingsgraph/src/IoTThingsGraphClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -247,7 +248,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-iottwinmaker/src/IoTTwinMakerClient.ts b/clients/client-iottwinmaker/src/IoTTwinMakerClient.ts index 6fb6ade50669c..760c8874bb168 100644 --- a/clients/client-iottwinmaker/src/IoTTwinMakerClient.ts +++ b/clients/client-iottwinmaker/src/IoTTwinMakerClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -175,7 +176,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-ivs/src/IvsClient.ts b/clients/client-ivs/src/IvsClient.ts index f443bcafed914..8056e8e849e79 100644 --- a/clients/client-ivs/src/IvsClient.ts +++ b/clients/client-ivs/src/IvsClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -187,7 +188,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-kafka/src/KafkaClient.ts b/clients/client-kafka/src/KafkaClient.ts index 6f49daf622455..c0f63d42ec61e 100644 --- a/clients/client-kafka/src/KafkaClient.ts +++ b/clients/client-kafka/src/KafkaClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -232,7 +233,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-kafkaconnect/src/KafkaConnectClient.ts b/clients/client-kafkaconnect/src/KafkaConnectClient.ts index 8a0332055fdf3..7e20139e1440f 100644 --- a/clients/client-kafkaconnect/src/KafkaConnectClient.ts +++ b/clients/client-kafkaconnect/src/KafkaConnectClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -124,7 +125,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-kendra/src/KendraClient.ts b/clients/client-kendra/src/KendraClient.ts index de2538aabe918..ec252dab8fe67 100644 --- a/clients/client-kendra/src/KendraClient.ts +++ b/clients/client-kendra/src/KendraClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -316,7 +317,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-kinesis-analytics-v2/src/KinesisAnalyticsV2Client.ts b/clients/client-kinesis-analytics-v2/src/KinesisAnalyticsV2Client.ts index fdab77b8bc2a2..bd09acf73987b 100644 --- a/clients/client-kinesis-analytics-v2/src/KinesisAnalyticsV2Client.ts +++ b/clients/client-kinesis-analytics-v2/src/KinesisAnalyticsV2Client.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -241,7 +242,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-kinesis-analytics/src/KinesisAnalyticsClient.ts b/clients/client-kinesis-analytics/src/KinesisAnalyticsClient.ts index 8dd77237510be..a42e5b1f5116e 100644 --- a/clients/client-kinesis-analytics/src/KinesisAnalyticsClient.ts +++ b/clients/client-kinesis-analytics/src/KinesisAnalyticsClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -175,7 +176,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-kinesis-video-archived-media/src/KinesisVideoArchivedMediaClient.ts b/clients/client-kinesis-video-archived-media/src/KinesisVideoArchivedMediaClient.ts index 5e5dd72a8f44f..99aeb782fd273 100644 --- a/clients/client-kinesis-video-archived-media/src/KinesisVideoArchivedMediaClient.ts +++ b/clients/client-kinesis-video-archived-media/src/KinesisVideoArchivedMediaClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -103,7 +104,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-kinesis-video-media/src/KinesisVideoMediaClient.ts b/clients/client-kinesis-video-media/src/KinesisVideoMediaClient.ts index 53a094a166d30..6008ffde5c014 100644 --- a/clients/client-kinesis-video-media/src/KinesisVideoMediaClient.ts +++ b/clients/client-kinesis-video-media/src/KinesisVideoMediaClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -80,7 +81,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-kinesis-video-signaling/src/KinesisVideoSignalingClient.ts b/clients/client-kinesis-video-signaling/src/KinesisVideoSignalingClient.ts index 940bc9688ecfc..52233d4fce412 100644 --- a/clients/client-kinesis-video-signaling/src/KinesisVideoSignalingClient.ts +++ b/clients/client-kinesis-video-signaling/src/KinesisVideoSignalingClient.ts @@ -41,6 +41,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -90,7 +91,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-kinesis-video/src/KinesisVideoClient.ts b/clients/client-kinesis-video/src/KinesisVideoClient.ts index 9f94403dcaca3..b375e355fdf93 100644 --- a/clients/client-kinesis-video/src/KinesisVideoClient.ts +++ b/clients/client-kinesis-video/src/KinesisVideoClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -160,7 +161,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-kinesis/src/KinesisClient.ts b/clients/client-kinesis/src/KinesisClient.ts index 81b102b0a2d2c..3bb1394932559 100644 --- a/clients/client-kinesis/src/KinesisClient.ts +++ b/clients/client-kinesis/src/KinesisClient.ts @@ -40,6 +40,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -208,7 +209,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-kms/src/KMSClient.ts b/clients/client-kms/src/KMSClient.ts index b53e45fe68520..7d829bb2ea480 100644 --- a/clients/client-kms/src/KMSClient.ts +++ b/clients/client-kms/src/KMSClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -271,7 +272,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-lakeformation/src/LakeFormationClient.ts b/clients/client-lakeformation/src/LakeFormationClient.ts index 5ea549292a66b..d00d418c2562c 100644 --- a/clients/client-lakeformation/src/LakeFormationClient.ts +++ b/clients/client-lakeformation/src/LakeFormationClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -265,7 +266,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-lambda/src/LambdaClient.ts b/clients/client-lambda/src/LambdaClient.ts index d36efb1aa34d7..3b33bcacffaf2 100644 --- a/clients/client-lambda/src/LambdaClient.ts +++ b/clients/client-lambda/src/LambdaClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -355,7 +356,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-lex-model-building-service/src/LexModelBuildingServiceClient.ts b/clients/client-lex-model-building-service/src/LexModelBuildingServiceClient.ts index 1cd69b2aba6ce..863af8c251a07 100644 --- a/clients/client-lex-model-building-service/src/LexModelBuildingServiceClient.ts +++ b/clients/client-lex-model-building-service/src/LexModelBuildingServiceClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -235,7 +236,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-lex-models-v2/src/LexModelsV2Client.ts b/clients/client-lex-models-v2/src/LexModelsV2Client.ts index 9609ec6c60811..515c32f961aca 100644 --- a/clients/client-lex-models-v2/src/LexModelsV2Client.ts +++ b/clients/client-lex-models-v2/src/LexModelsV2Client.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -328,7 +329,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-lex-runtime-service/src/LexRuntimeServiceClient.ts b/clients/client-lex-runtime-service/src/LexRuntimeServiceClient.ts index 0df619c8cfc50..28022abf9c0db 100644 --- a/clients/client-lex-runtime-service/src/LexRuntimeServiceClient.ts +++ b/clients/client-lex-runtime-service/src/LexRuntimeServiceClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -94,7 +95,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-lex-runtime-v2/src/LexRuntimeV2Client.ts b/clients/client-lex-runtime-v2/src/LexRuntimeV2Client.ts index 8bb8df6d0f198..3788aa6053c7d 100644 --- a/clients/client-lex-runtime-v2/src/LexRuntimeV2Client.ts +++ b/clients/client-lex-runtime-v2/src/LexRuntimeV2Client.ts @@ -45,6 +45,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -109,7 +110,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-license-manager/src/LicenseManagerClient.ts b/clients/client-license-manager/src/LicenseManagerClient.ts index 7c38175a0cab0..74018f36eec67 100644 --- a/clients/client-license-manager/src/LicenseManagerClient.ts +++ b/clients/client-license-manager/src/LicenseManagerClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -304,7 +305,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-lightsail/src/LightsailClient.ts b/clients/client-lightsail/src/LightsailClient.ts index 73b59a26275fe..6388347347b34 100644 --- a/clients/client-lightsail/src/LightsailClient.ts +++ b/clients/client-lightsail/src/LightsailClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -763,7 +764,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-location/src/LocationClient.ts b/clients/client-location/src/LocationClient.ts index 60f1d0aefefa9..385e2d878ed2f 100644 --- a/clients/client-location/src/LocationClient.ts +++ b/clients/client-location/src/LocationClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -313,7 +314,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-lookoutequipment/src/LookoutEquipmentClient.ts b/clients/client-lookoutequipment/src/LookoutEquipmentClient.ts index bc7ce5805e6fa..33cbdeab6d698 100644 --- a/clients/client-lookoutequipment/src/LookoutEquipmentClient.ts +++ b/clients/client-lookoutequipment/src/LookoutEquipmentClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -181,7 +182,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-lookoutmetrics/src/LookoutMetricsClient.ts b/clients/client-lookoutmetrics/src/LookoutMetricsClient.ts index da7374ea51040..d53818c773abe 100644 --- a/clients/client-lookoutmetrics/src/LookoutMetricsClient.ts +++ b/clients/client-lookoutmetrics/src/LookoutMetricsClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -199,7 +200,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-lookoutvision/src/LookoutVisionClient.ts b/clients/client-lookoutvision/src/LookoutVisionClient.ts index d275a413ee3c8..5184d34018fa8 100644 --- a/clients/client-lookoutvision/src/LookoutVisionClient.ts +++ b/clients/client-lookoutvision/src/LookoutVisionClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -160,7 +161,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-machine-learning/src/MachineLearningClient.ts b/clients/client-machine-learning/src/MachineLearningClient.ts index 92790df36173e..e3b1e38d41d81 100644 --- a/clients/client-machine-learning/src/MachineLearningClient.ts +++ b/clients/client-machine-learning/src/MachineLearningClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -196,7 +197,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-macie/src/MacieClient.ts b/clients/client-macie/src/MacieClient.ts index b38fff42d39b0..a80c5410b3c2a 100644 --- a/clients/client-macie/src/MacieClient.ts +++ b/clients/client-macie/src/MacieClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -112,7 +113,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-macie2/src/Macie2Client.ts b/clients/client-macie2/src/Macie2Client.ts index e1d0cbc5da07c..8e3811fbef73f 100644 --- a/clients/client-macie2/src/Macie2Client.ts +++ b/clients/client-macie2/src/Macie2Client.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -349,7 +350,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-managedblockchain/src/ManagedBlockchainClient.ts b/clients/client-managedblockchain/src/ManagedBlockchainClient.ts index aeff66202c945..02f7255a3715c 100644 --- a/clients/client-managedblockchain/src/ManagedBlockchainClient.ts +++ b/clients/client-managedblockchain/src/ManagedBlockchainClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -151,7 +152,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-marketplace-catalog/src/MarketplaceCatalogClient.ts b/clients/client-marketplace-catalog/src/MarketplaceCatalogClient.ts index fda7ae6b241fa..dcbbe5b26456e 100644 --- a/clients/client-marketplace-catalog/src/MarketplaceCatalogClient.ts +++ b/clients/client-marketplace-catalog/src/MarketplaceCatalogClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -97,7 +98,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-marketplace-commerce-analytics/src/MarketplaceCommerceAnalyticsClient.ts b/clients/client-marketplace-commerce-analytics/src/MarketplaceCommerceAnalyticsClient.ts index c173346191b97..5594b037ca288 100644 --- a/clients/client-marketplace-commerce-analytics/src/MarketplaceCommerceAnalyticsClient.ts +++ b/clients/client-marketplace-commerce-analytics/src/MarketplaceCommerceAnalyticsClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -84,7 +85,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-marketplace-entitlement-service/src/MarketplaceEntitlementServiceClient.ts b/clients/client-marketplace-entitlement-service/src/MarketplaceEntitlementServiceClient.ts index 8696047c0532e..0b2109d5f0271 100644 --- a/clients/client-marketplace-entitlement-service/src/MarketplaceEntitlementServiceClient.ts +++ b/clients/client-marketplace-entitlement-service/src/MarketplaceEntitlementServiceClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -80,7 +81,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-marketplace-metering/src/MarketplaceMeteringClient.ts b/clients/client-marketplace-metering/src/MarketplaceMeteringClient.ts index 8ad08ca06c124..d447e402f3437 100644 --- a/clients/client-marketplace-metering/src/MarketplaceMeteringClient.ts +++ b/clients/client-marketplace-metering/src/MarketplaceMeteringClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -91,7 +92,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-mediaconnect/src/MediaConnectClient.ts b/clients/client-mediaconnect/src/MediaConnectClient.ts index bd56767e4078f..e2b943a8e58a5 100644 --- a/clients/client-mediaconnect/src/MediaConnectClient.ts +++ b/clients/client-mediaconnect/src/MediaConnectClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -199,7 +200,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-mediaconvert/src/MediaConvertClient.ts b/clients/client-mediaconvert/src/MediaConvertClient.ts index 0e6d453d2a180..c3275b43f3c5f 100644 --- a/clients/client-mediaconvert/src/MediaConvertClient.ts +++ b/clients/client-mediaconvert/src/MediaConvertClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -172,7 +173,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-medialive/src/MediaLiveClient.ts b/clients/client-medialive/src/MediaLiveClient.ts index 9f000f45b781f..c6c66b2beee9e 100644 --- a/clients/client-medialive/src/MediaLiveClient.ts +++ b/clients/client-medialive/src/MediaLiveClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -310,7 +311,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-mediapackage-vod/src/MediaPackageVodClient.ts b/clients/client-mediapackage-vod/src/MediaPackageVodClient.ts index 1c2cbf64b66b9..301bfc0a5c7ef 100644 --- a/clients/client-mediapackage-vod/src/MediaPackageVodClient.ts +++ b/clients/client-mediapackage-vod/src/MediaPackageVodClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -160,7 +161,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-mediapackage/src/MediaPackageClient.ts b/clients/client-mediapackage/src/MediaPackageClient.ts index 1b899912b56ae..e2fde94a37388 100644 --- a/clients/client-mediapackage/src/MediaPackageClient.ts +++ b/clients/client-mediapackage/src/MediaPackageClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -160,7 +161,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-mediastore-data/src/MediaStoreDataClient.ts b/clients/client-mediastore-data/src/MediaStoreDataClient.ts index af12a6541fbdc..334d9887f2650 100644 --- a/clients/client-mediastore-data/src/MediaStoreDataClient.ts +++ b/clients/client-mediastore-data/src/MediaStoreDataClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -94,7 +95,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-mediastore/src/MediaStoreClient.ts b/clients/client-mediastore/src/MediaStoreClient.ts index 2c007d6a5f8ce..f55b552624665 100644 --- a/clients/client-mediastore/src/MediaStoreClient.ts +++ b/clients/client-mediastore/src/MediaStoreClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -151,7 +152,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-mediatailor/src/MediaTailorClient.ts b/clients/client-mediatailor/src/MediaTailorClient.ts index d5db95cbd7fa0..e9215b1a46b44 100644 --- a/clients/client-mediatailor/src/MediaTailorClient.ts +++ b/clients/client-mediatailor/src/MediaTailorClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -238,7 +239,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-memorydb/src/MemoryDBClient.ts b/clients/client-memorydb/src/MemoryDBClient.ts index b4c111da30a7d..bdcbb559be906 100644 --- a/clients/client-memorydb/src/MemoryDBClient.ts +++ b/clients/client-memorydb/src/MemoryDBClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -211,7 +212,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-mgn/src/MgnClient.ts b/clients/client-mgn/src/MgnClient.ts index 81ee4c256553b..dad393b48132a 100644 --- a/clients/client-mgn/src/MgnClient.ts +++ b/clients/client-mgn/src/MgnClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -220,7 +221,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-migration-hub-refactor-spaces/src/MigrationHubRefactorSpacesClient.ts b/clients/client-migration-hub-refactor-spaces/src/MigrationHubRefactorSpacesClient.ts index 038c02bf2468c..840ccbf6d766f 100644 --- a/clients/client-migration-hub-refactor-spaces/src/MigrationHubRefactorSpacesClient.ts +++ b/clients/client-migration-hub-refactor-spaces/src/MigrationHubRefactorSpacesClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -157,7 +158,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-migration-hub/src/MigrationHubClient.ts b/clients/client-migration-hub/src/MigrationHubClient.ts index b3bf4414ec878..89bd2da963db7 100644 --- a/clients/client-migration-hub/src/MigrationHubClient.ts +++ b/clients/client-migration-hub/src/MigrationHubClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -178,7 +179,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-migrationhub-config/src/MigrationHubConfigClient.ts b/clients/client-migrationhub-config/src/MigrationHubConfigClient.ts index 77fb3591ae669..abe686e79b506 100644 --- a/clients/client-migrationhub-config/src/MigrationHubConfigClient.ts +++ b/clients/client-migrationhub-config/src/MigrationHubConfigClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -94,7 +95,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-migrationhubstrategy/src/MigrationHubStrategyClient.ts b/clients/client-migrationhubstrategy/src/MigrationHubStrategyClient.ts index 1c753e02eb059..9259ffb256f44 100644 --- a/clients/client-migrationhubstrategy/src/MigrationHubStrategyClient.ts +++ b/clients/client-migrationhubstrategy/src/MigrationHubStrategyClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -172,7 +173,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-mobile/src/MobileClient.ts b/clients/client-mobile/src/MobileClient.ts index 0c9e1b52508f0..8ba8ecf65fdfd 100644 --- a/clients/client-mobile/src/MobileClient.ts +++ b/clients/client-mobile/src/MobileClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -106,7 +107,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-mq/src/MqClient.ts b/clients/client-mq/src/MqClient.ts index b441377ed0ddd..2a54ed6f45475 100644 --- a/clients/client-mq/src/MqClient.ts +++ b/clients/client-mq/src/MqClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -166,7 +167,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-mturk/src/MTurkClient.ts b/clients/client-mturk/src/MTurkClient.ts index d1892c91519c2..67506b4431d05 100644 --- a/clients/client-mturk/src/MTurkClient.ts +++ b/clients/client-mturk/src/MTurkClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -259,7 +260,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-mwaa/src/MWAAClient.ts b/clients/client-mwaa/src/MWAAClient.ts index 8b39c06bc8611..c07ec7cfd34ad 100644 --- a/clients/client-mwaa/src/MWAAClient.ts +++ b/clients/client-mwaa/src/MWAAClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -118,7 +119,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-neptune/src/NeptuneClient.ts b/clients/client-neptune/src/NeptuneClient.ts index 27b40c54b7172..837a086a9d9d8 100644 --- a/clients/client-neptune/src/NeptuneClient.ts +++ b/clients/client-neptune/src/NeptuneClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -415,7 +416,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-network-firewall/src/NetworkFirewallClient.ts b/clients/client-network-firewall/src/NetworkFirewallClient.ts index 48199ab8d9e0e..783eaad4325c0 100644 --- a/clients/client-network-firewall/src/NetworkFirewallClient.ts +++ b/clients/client-network-firewall/src/NetworkFirewallClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -220,7 +221,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-networkmanager/src/NetworkManagerClient.ts b/clients/client-networkmanager/src/NetworkManagerClient.ts index a4f0e5b2c74c7..198373d8b814a 100644 --- a/clients/client-networkmanager/src/NetworkManagerClient.ts +++ b/clients/client-networkmanager/src/NetworkManagerClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -418,7 +419,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-nimble/src/NimbleClient.ts b/clients/client-nimble/src/NimbleClient.ts index 153d712599555..9a296e9ebc485 100644 --- a/clients/client-nimble/src/NimbleClient.ts +++ b/clients/client-nimble/src/NimbleClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -307,7 +308,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-opensearch/src/OpenSearchClient.ts b/clients/client-opensearch/src/OpenSearchClient.ts index 86f54cf2b9ac6..4bccfdc83e05d 100644 --- a/clients/client-opensearch/src/OpenSearchClient.ts +++ b/clients/client-opensearch/src/OpenSearchClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -262,7 +263,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-opsworks/src/OpsWorksClient.ts b/clients/client-opsworks/src/OpsWorksClient.ts index e059dbc42d04a..ebf5679b51d59 100644 --- a/clients/client-opsworks/src/OpsWorksClient.ts +++ b/clients/client-opsworks/src/OpsWorksClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -379,7 +380,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-opsworkscm/src/OpsWorksCMClient.ts b/clients/client-opsworkscm/src/OpsWorksCMClient.ts index e4689f44ae568..d86c7e35a96d9 100644 --- a/clients/client-opsworkscm/src/OpsWorksCMClient.ts +++ b/clients/client-opsworkscm/src/OpsWorksCMClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -151,7 +152,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-organizations/src/OrganizationsClient.ts b/clients/client-organizations/src/OrganizationsClient.ts index b78c18147a3ec..667e521604576 100644 --- a/clients/client-organizations/src/OrganizationsClient.ts +++ b/clients/client-organizations/src/OrganizationsClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -307,7 +308,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-outposts/src/OutpostsClient.ts b/clients/client-outposts/src/OutpostsClient.ts index d6c167ad39b62..7265b66e5eaf1 100644 --- a/clients/client-outposts/src/OutpostsClient.ts +++ b/clients/client-outposts/src/OutpostsClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -157,7 +158,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-panorama/src/PanoramaClient.ts b/clients/client-panorama/src/PanoramaClient.ts index 4f50285d0862b..6296ce785852b 100644 --- a/clients/client-panorama/src/PanoramaClient.ts +++ b/clients/client-panorama/src/PanoramaClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -235,7 +236,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-personalize-events/src/PersonalizeEventsClient.ts b/clients/client-personalize-events/src/PersonalizeEventsClient.ts index 98e67a76c2d04..5ef3ef31fe910 100644 --- a/clients/client-personalize-events/src/PersonalizeEventsClient.ts +++ b/clients/client-personalize-events/src/PersonalizeEventsClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -82,7 +83,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-personalize-runtime/src/PersonalizeRuntimeClient.ts b/clients/client-personalize-runtime/src/PersonalizeRuntimeClient.ts index eb694fb7886a4..25cb12b068f2b 100644 --- a/clients/client-personalize-runtime/src/PersonalizeRuntimeClient.ts +++ b/clients/client-personalize-runtime/src/PersonalizeRuntimeClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -84,7 +85,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-personalize/src/PersonalizeClient.ts b/clients/client-personalize/src/PersonalizeClient.ts index ab1edc32c41ba..3da2e92d4c88c 100644 --- a/clients/client-personalize/src/PersonalizeClient.ts +++ b/clients/client-personalize/src/PersonalizeClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -304,7 +305,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-pi/src/PIClient.ts b/clients/client-pi/src/PIClient.ts index bcd6d761a0ee9..dcee4f90ec57d 100644 --- a/clients/client-pi/src/PIClient.ts +++ b/clients/client-pi/src/PIClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -112,7 +113,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-pinpoint-email/src/PinpointEmailClient.ts b/clients/client-pinpoint-email/src/PinpointEmailClient.ts index 9078ab4c997c3..c05a6e42ceb91 100644 --- a/clients/client-pinpoint-email/src/PinpointEmailClient.ts +++ b/clients/client-pinpoint-email/src/PinpointEmailClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -310,7 +311,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-pinpoint-sms-voice/src/PinpointSMSVoiceClient.ts b/clients/client-pinpoint-sms-voice/src/PinpointSMSVoiceClient.ts index 8f88a3c72d3f3..a96a572c0d1ee 100644 --- a/clients/client-pinpoint-sms-voice/src/PinpointSMSVoiceClient.ts +++ b/clients/client-pinpoint-sms-voice/src/PinpointSMSVoiceClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -124,7 +125,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-pinpoint/src/PinpointClient.ts b/clients/client-pinpoint/src/PinpointClient.ts index c2121154b8e96..ff78aa84bb80a 100644 --- a/clients/client-pinpoint/src/PinpointClient.ts +++ b/clients/client-pinpoint/src/PinpointClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -553,7 +554,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-polly/src/PollyClient.ts b/clients/client-polly/src/PollyClient.ts index 4406604ef8958..98f3d4525dc82 100644 --- a/clients/client-polly/src/PollyClient.ts +++ b/clients/client-polly/src/PollyClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -115,7 +116,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-pricing/src/PricingClient.ts b/clients/client-pricing/src/PricingClient.ts index a059f8a79300b..756980cdc890e 100644 --- a/clients/client-pricing/src/PricingClient.ts +++ b/clients/client-pricing/src/PricingClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -85,7 +86,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-proton/src/ProtonClient.ts b/clients/client-proton/src/ProtonClient.ts index ea530ba019181..62b65e5dcef8f 100644 --- a/clients/client-proton/src/ProtonClient.ts +++ b/clients/client-proton/src/ProtonClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -424,7 +425,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-qldb-session/src/QLDBSessionClient.ts b/clients/client-qldb-session/src/QLDBSessionClient.ts index 4a72fc1afd2a9..981dd36a8e360 100644 --- a/clients/client-qldb-session/src/QLDBSessionClient.ts +++ b/clients/client-qldb-session/src/QLDBSessionClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -80,7 +81,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-qldb/src/QLDBClient.ts b/clients/client-qldb/src/QLDBClient.ts index e326a779d0d48..28aa6a2d3f2be 100644 --- a/clients/client-qldb/src/QLDBClient.ts +++ b/clients/client-qldb/src/QLDBClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -166,7 +167,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-quicksight/src/QuickSightClient.ts b/clients/client-quicksight/src/QuickSightClient.ts index 893f7440f7943..893728e2f22ef 100644 --- a/clients/client-quicksight/src/QuickSightClient.ts +++ b/clients/client-quicksight/src/QuickSightClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -565,7 +566,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-ram/src/RAMClient.ts b/clients/client-ram/src/RAMClient.ts index 714252c1855b7..5952f4eaded3d 100644 --- a/clients/client-ram/src/RAMClient.ts +++ b/clients/client-ram/src/RAMClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -205,7 +206,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-rbin/src/RbinClient.ts b/clients/client-rbin/src/RbinClient.ts index 6ec57c864911f..43d5b3e478954 100644 --- a/clients/client-rbin/src/RbinClient.ts +++ b/clients/client-rbin/src/RbinClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -106,7 +107,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-rds-data/src/RDSDataClient.ts b/clients/client-rds-data/src/RDSDataClient.ts index 87cf54502dd3e..882e3dab8b623 100644 --- a/clients/client-rds-data/src/RDSDataClient.ts +++ b/clients/client-rds-data/src/RDSDataClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -103,7 +104,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-rds/src/RDSClient.ts b/clients/client-rds/src/RDSClient.ts index 4230cd56d9cb1..6b22f2a4b3eaa 100644 --- a/clients/client-rds/src/RDSClient.ts +++ b/clients/client-rds/src/RDSClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -817,7 +818,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-redshift-data/src/RedshiftDataClient.ts b/clients/client-redshift-data/src/RedshiftDataClient.ts index 3208064cbac39..1578536484e6e 100644 --- a/clients/client-redshift-data/src/RedshiftDataClient.ts +++ b/clients/client-redshift-data/src/RedshiftDataClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -112,7 +113,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-redshift/src/RedshiftClient.ts b/clients/client-redshift/src/RedshiftClient.ts index 096d57f912925..f7600345df685 100644 --- a/clients/client-redshift/src/RedshiftClient.ts +++ b/clients/client-redshift/src/RedshiftClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -706,7 +707,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-rekognition/src/RekognitionClient.ts b/clients/client-rekognition/src/RekognitionClient.ts index 6fa93528c0eb0..c7130b1a1c706 100644 --- a/clients/client-rekognition/src/RekognitionClient.ts +++ b/clients/client-rekognition/src/RekognitionClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -325,7 +326,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-resiliencehub/src/ResiliencehubClient.ts b/clients/client-resiliencehub/src/ResiliencehubClient.ts index 744b7f40b164c..0b6878585b9fe 100644 --- a/clients/client-resiliencehub/src/ResiliencehubClient.ts +++ b/clients/client-resiliencehub/src/ResiliencehubClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -280,7 +281,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-resource-groups-tagging-api/src/ResourceGroupsTaggingAPIClient.ts b/clients/client-resource-groups-tagging-api/src/ResourceGroupsTaggingAPIClient.ts index 6dcf5b928dc88..a2b9db5cb9ef4 100644 --- a/clients/client-resource-groups-tagging-api/src/ResourceGroupsTaggingAPIClient.ts +++ b/clients/client-resource-groups-tagging-api/src/ResourceGroupsTaggingAPIClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -112,7 +113,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-resource-groups/src/ResourceGroupsClient.ts b/clients/client-resource-groups/src/ResourceGroupsClient.ts index c9875d59ea3db..37ebeb605824e 100644 --- a/clients/client-resource-groups/src/ResourceGroupsClient.ts +++ b/clients/client-resource-groups/src/ResourceGroupsClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -133,7 +134,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-robomaker/src/RoboMakerClient.ts b/clients/client-robomaker/src/RoboMakerClient.ts index 5bed64a224251..ed7eda462fa57 100644 --- a/clients/client-robomaker/src/RoboMakerClient.ts +++ b/clients/client-robomaker/src/RoboMakerClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -364,7 +365,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-route-53-domains/src/Route53DomainsClient.ts b/clients/client-route-53-domains/src/Route53DomainsClient.ts index e3898569eda6b..29789638bae5f 100644 --- a/clients/client-route-53-domains/src/Route53DomainsClient.ts +++ b/clients/client-route-53-domains/src/Route53DomainsClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -226,7 +227,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-route-53/src/Route53Client.ts b/clients/client-route-53/src/Route53Client.ts index e4d615a7f5c80..509d3c95698f6 100644 --- a/clients/client-route-53/src/Route53Client.ts +++ b/clients/client-route-53/src/Route53Client.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -406,7 +407,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-route53-recovery-cluster/src/Route53RecoveryClusterClient.ts b/clients/client-route53-recovery-cluster/src/Route53RecoveryClusterClient.ts index 6bddbea25ec0f..7f3c4b1d17ed4 100644 --- a/clients/client-route53-recovery-cluster/src/Route53RecoveryClusterClient.ts +++ b/clients/client-route53-recovery-cluster/src/Route53RecoveryClusterClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -97,7 +98,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-route53-recovery-control-config/src/Route53RecoveryControlConfigClient.ts b/clients/client-route53-recovery-control-config/src/Route53RecoveryControlConfigClient.ts index 0a3a43a341b99..fa31a005c5b3a 100644 --- a/clients/client-route53-recovery-control-config/src/Route53RecoveryControlConfigClient.ts +++ b/clients/client-route53-recovery-control-config/src/Route53RecoveryControlConfigClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -172,7 +173,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-route53-recovery-readiness/src/Route53RecoveryReadinessClient.ts b/clients/client-route53-recovery-readiness/src/Route53RecoveryReadinessClient.ts index 99de49af30868..818d12899c4cf 100644 --- a/clients/client-route53-recovery-readiness/src/Route53RecoveryReadinessClient.ts +++ b/clients/client-route53-recovery-readiness/src/Route53RecoveryReadinessClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -223,7 +224,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-route53resolver/src/Route53ResolverClient.ts b/clients/client-route53resolver/src/Route53ResolverClient.ts index a89f2ffe21ad4..b6c4f63d2fd0b 100644 --- a/clients/client-route53resolver/src/Route53ResolverClient.ts +++ b/clients/client-route53resolver/src/Route53ResolverClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -418,7 +419,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-rum/src/RUMClient.ts b/clients/client-rum/src/RUMClient.ts index 4e0c54433aaa0..b90f9145963da 100644 --- a/clients/client-rum/src/RUMClient.ts +++ b/clients/client-rum/src/RUMClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -112,7 +113,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-s3-control/src/S3ControlClient.ts b/clients/client-s3-control/src/S3ControlClient.ts index 127fbd04ade56..8184c1651394c 100644 --- a/clients/client-s3-control/src/S3ControlClient.ts +++ b/clients/client-s3-control/src/S3ControlClient.ts @@ -40,6 +40,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -368,7 +369,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-s3/src/S3Client.ts b/clients/client-s3/src/S3Client.ts index d1e73f0c5fd63..727fd4bdad6ab 100644 --- a/clients/client-s3/src/S3Client.ts +++ b/clients/client-s3/src/S3Client.ts @@ -47,6 +47,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -530,7 +531,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-s3outposts/src/S3OutpostsClient.ts b/clients/client-s3outposts/src/S3OutpostsClient.ts index 2d490897acbfb..18b4cdc98a70f 100644 --- a/clients/client-s3outposts/src/S3OutpostsClient.ts +++ b/clients/client-s3outposts/src/S3OutpostsClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -82,7 +83,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-sagemaker-a2i-runtime/src/SageMakerA2IRuntimeClient.ts b/clients/client-sagemaker-a2i-runtime/src/SageMakerA2IRuntimeClient.ts index 8f6bfd63c1564..b51c9cf94ed41 100644 --- a/clients/client-sagemaker-a2i-runtime/src/SageMakerA2IRuntimeClient.ts +++ b/clients/client-sagemaker-a2i-runtime/src/SageMakerA2IRuntimeClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -94,7 +95,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-sagemaker-edge/src/SagemakerEdgeClient.ts b/clients/client-sagemaker-edge/src/SagemakerEdgeClient.ts index 96a405d14dd68..ab017a16357f7 100644 --- a/clients/client-sagemaker-edge/src/SagemakerEdgeClient.ts +++ b/clients/client-sagemaker-edge/src/SagemakerEdgeClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -84,7 +85,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-sagemaker-featurestore-runtime/src/SageMakerFeatureStoreRuntimeClient.ts b/clients/client-sagemaker-featurestore-runtime/src/SageMakerFeatureStoreRuntimeClient.ts index 96e2654e4421a..6d709475d7c74 100644 --- a/clients/client-sagemaker-featurestore-runtime/src/SageMakerFeatureStoreRuntimeClient.ts +++ b/clients/client-sagemaker-featurestore-runtime/src/SageMakerFeatureStoreRuntimeClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -91,7 +92,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-sagemaker-runtime/src/SageMakerRuntimeClient.ts b/clients/client-sagemaker-runtime/src/SageMakerRuntimeClient.ts index 53160a774955b..45b1a4740f710 100644 --- a/clients/client-sagemaker-runtime/src/SageMakerRuntimeClient.ts +++ b/clients/client-sagemaker-runtime/src/SageMakerRuntimeClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -84,7 +85,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-sagemaker/src/SageMakerClient.ts b/clients/client-sagemaker/src/SageMakerClient.ts index d0ea417a895f8..4fa0435c5611f 100644 --- a/clients/client-sagemaker/src/SageMakerClient.ts +++ b/clients/client-sagemaker/src/SageMakerClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -1207,7 +1208,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-savingsplans/src/SavingsplansClient.ts b/clients/client-savingsplans/src/SavingsplansClient.ts index 033db3c30f76a..8585ac7503818 100644 --- a/clients/client-savingsplans/src/SavingsplansClient.ts +++ b/clients/client-savingsplans/src/SavingsplansClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -124,7 +125,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-schemas/src/SchemasClient.ts b/clients/client-schemas/src/SchemasClient.ts index ed6a5820fea81..29ec8959becf3 100644 --- a/clients/client-schemas/src/SchemasClient.ts +++ b/clients/client-schemas/src/SchemasClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -190,7 +191,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-secrets-manager/src/SecretsManagerClient.ts b/clients/client-secrets-manager/src/SecretsManagerClient.ts index d52e76bbcebd4..ce382dd1bd3a6 100644 --- a/clients/client-secrets-manager/src/SecretsManagerClient.ts +++ b/clients/client-secrets-manager/src/SecretsManagerClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -166,7 +167,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-securityhub/src/SecurityHubClient.ts b/clients/client-securityhub/src/SecurityHubClient.ts index d453c071783ad..a4564fe702c9a 100644 --- a/clients/client-securityhub/src/SecurityHubClient.ts +++ b/clients/client-securityhub/src/SecurityHubClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -334,7 +335,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-serverlessapplicationrepository/src/ServerlessApplicationRepositoryClient.ts b/clients/client-serverlessapplicationrepository/src/ServerlessApplicationRepositoryClient.ts index a813492662751..4a61e96fb7a0e 100644 --- a/clients/client-serverlessapplicationrepository/src/ServerlessApplicationRepositoryClient.ts +++ b/clients/client-serverlessapplicationrepository/src/ServerlessApplicationRepositoryClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -145,7 +146,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-service-catalog-appregistry/src/ServiceCatalogAppRegistryClient.ts b/clients/client-service-catalog-appregistry/src/ServiceCatalogAppRegistryClient.ts index 86444ca4d6cd7..5df15c8610589 100644 --- a/clients/client-service-catalog-appregistry/src/ServiceCatalogAppRegistryClient.ts +++ b/clients/client-service-catalog-appregistry/src/ServiceCatalogAppRegistryClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -175,7 +176,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-service-catalog/src/ServiceCatalogClient.ts b/clients/client-service-catalog/src/ServiceCatalogClient.ts index a7e11c06cf69b..f0cbb7edbadc6 100644 --- a/clients/client-service-catalog/src/ServiceCatalogClient.ts +++ b/clients/client-service-catalog/src/ServiceCatalogClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -526,7 +527,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-service-quotas/src/ServiceQuotasClient.ts b/clients/client-service-quotas/src/ServiceQuotasClient.ts index 3e3d59c5a14cc..bb9e3d04f2c71 100644 --- a/clients/client-service-quotas/src/ServiceQuotasClient.ts +++ b/clients/client-service-quotas/src/ServiceQuotasClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -178,7 +179,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-servicediscovery/src/ServiceDiscoveryClient.ts b/clients/client-servicediscovery/src/ServiceDiscoveryClient.ts index 505fad5ea465f..39869ae3b42ad 100644 --- a/clients/client-servicediscovery/src/ServiceDiscoveryClient.ts +++ b/clients/client-servicediscovery/src/ServiceDiscoveryClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -184,7 +185,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-ses/src/SESClient.ts b/clients/client-ses/src/SESClient.ts index e3b08dcdb8d22..d076f9bb810f5 100644 --- a/clients/client-ses/src/SESClient.ts +++ b/clients/client-ses/src/SESClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -442,7 +443,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-sesv2/src/SESv2Client.ts b/clients/client-sesv2/src/SESv2Client.ts index fc1dd116fb8b6..4261626052c5e 100644 --- a/clients/client-sesv2/src/SESv2Client.ts +++ b/clients/client-sesv2/src/SESv2Client.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -493,7 +494,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-sfn/src/SFNClient.ts b/clients/client-sfn/src/SFNClient.ts index 02553186b2153..80e11ba563f08 100644 --- a/clients/client-sfn/src/SFNClient.ts +++ b/clients/client-sfn/src/SFNClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -160,7 +161,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-shield/src/ShieldClient.ts b/clients/client-shield/src/ShieldClient.ts index 4ffd80ae90b6f..aed5a9e816142 100644 --- a/clients/client-shield/src/ShieldClient.ts +++ b/clients/client-shield/src/ShieldClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -256,7 +257,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-signer/src/SignerClient.ts b/clients/client-signer/src/SignerClient.ts index 441e2a8c02aba..c8f5faa476fb9 100644 --- a/clients/client-signer/src/SignerClient.ts +++ b/clients/client-signer/src/SignerClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -154,7 +155,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-sms/src/SMSClient.ts b/clients/client-sms/src/SMSClient.ts index 5e9774edf2bdd..8f2425c5263c2 100644 --- a/clients/client-sms/src/SMSClient.ts +++ b/clients/client-sms/src/SMSClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -244,7 +245,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-snow-device-management/src/SnowDeviceManagementClient.ts b/clients/client-snow-device-management/src/SnowDeviceManagementClient.ts index a40d2d34025d4..a6df29a2ccb78 100644 --- a/clients/client-snow-device-management/src/SnowDeviceManagementClient.ts +++ b/clients/client-snow-device-management/src/SnowDeviceManagementClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -127,7 +128,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-snowball/src/SnowballClient.ts b/clients/client-snowball/src/SnowballClient.ts index d58e409956092..7c0e3e94a6ff7 100644 --- a/clients/client-snowball/src/SnowballClient.ts +++ b/clients/client-snowball/src/SnowballClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -175,7 +176,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-sns/src/SNSClient.ts b/clients/client-sns/src/SNSClient.ts index 432ef861bbd97..d7f2b6a6e2f77 100644 --- a/clients/client-sns/src/SNSClient.ts +++ b/clients/client-sns/src/SNSClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -265,7 +266,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-sqs/src/SQSClient.ts b/clients/client-sqs/src/SQSClient.ts index f8c388ec6ae3d..e78f07812377c 100644 --- a/clients/client-sqs/src/SQSClient.ts +++ b/clients/client-sqs/src/SQSClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -148,7 +149,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-ssm-contacts/src/SSMContactsClient.ts b/clients/client-ssm-contacts/src/SSMContactsClient.ts index 64796ca8d7e14..7207da582abeb 100644 --- a/clients/client-ssm-contacts/src/SSMContactsClient.ts +++ b/clients/client-ssm-contacts/src/SSMContactsClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -184,7 +185,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-ssm-incidents/src/SSMIncidentsClient.ts b/clients/client-ssm-incidents/src/SSMIncidentsClient.ts index d3534e288fced..1dfe536ff7344 100644 --- a/clients/client-ssm-incidents/src/SSMIncidentsClient.ts +++ b/clients/client-ssm-incidents/src/SSMIncidentsClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -208,7 +209,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-ssm/src/SSMClient.ts b/clients/client-ssm/src/SSMClient.ts index 5d41a3e30a7a6..057638c73653d 100644 --- a/clients/client-ssm/src/SSMClient.ts +++ b/clients/client-ssm/src/SSMClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -754,7 +755,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-sso-admin/src/SSOAdminClient.ts b/clients/client-sso-admin/src/SSOAdminClient.ts index 32635d2edf5ca..d8d4684b585a8 100644 --- a/clients/client-sso-admin/src/SSOAdminClient.ts +++ b/clients/client-sso-admin/src/SSOAdminClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -253,7 +254,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-sso-oidc/src/SSOOIDCClient.ts b/clients/client-sso-oidc/src/SSOOIDCClient.ts index b63aeea636c0e..5143a73b5c957 100644 --- a/clients/client-sso-oidc/src/SSOOIDCClient.ts +++ b/clients/client-sso-oidc/src/SSOOIDCClient.ts @@ -29,6 +29,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Decoder as __Decoder, Encoder as __Encoder, Hash as __Hash, @@ -84,7 +85,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-sso/src/SSOClient.ts b/clients/client-sso/src/SSOClient.ts index 4148b29ea0138..234480fa7a54a 100644 --- a/clients/client-sso/src/SSOClient.ts +++ b/clients/client-sso/src/SSOClient.ts @@ -29,6 +29,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Decoder as __Decoder, Encoder as __Encoder, Hash as __Hash, @@ -84,7 +85,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-storage-gateway/src/StorageGatewayClient.ts b/clients/client-storage-gateway/src/StorageGatewayClient.ts index d89d1e7e733bf..ac3d4e81d9693 100644 --- a/clients/client-storage-gateway/src/StorageGatewayClient.ts +++ b/clients/client-storage-gateway/src/StorageGatewayClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -502,7 +503,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-sts/src/STSClient.ts b/clients/client-sts/src/STSClient.ts index b7c3a5689f2d0..682b1c954e106 100644 --- a/clients/client-sts/src/STSClient.ts +++ b/clients/client-sts/src/STSClient.ts @@ -30,6 +30,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -104,7 +105,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-support/src/SupportClient.ts b/clients/client-support/src/SupportClient.ts index b3748702f4e42..f83b059aaf42c 100644 --- a/clients/client-support/src/SupportClient.ts +++ b/clients/client-support/src/SupportClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -148,7 +149,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-swf/src/SWFClient.ts b/clients/client-swf/src/SWFClient.ts index eb763211ec592..e613e89c31190 100644 --- a/clients/client-swf/src/SWFClient.ts +++ b/clients/client-swf/src/SWFClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -274,7 +275,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-synthetics/src/SyntheticsClient.ts b/clients/client-synthetics/src/SyntheticsClient.ts index 080dd01bf19fa..a1aa3bdb5ee71 100644 --- a/clients/client-synthetics/src/SyntheticsClient.ts +++ b/clients/client-synthetics/src/SyntheticsClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -127,7 +128,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-textract/src/TextractClient.ts b/clients/client-textract/src/TextractClient.ts index db76d5c54634e..267c7beae0b4c 100644 --- a/clients/client-textract/src/TextractClient.ts +++ b/clients/client-textract/src/TextractClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -124,7 +125,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-timestream-query/src/TimestreamQueryClient.ts b/clients/client-timestream-query/src/TimestreamQueryClient.ts index a3ceaaf780446..9342e6218ffb1 100644 --- a/clients/client-timestream-query/src/TimestreamQueryClient.ts +++ b/clients/client-timestream-query/src/TimestreamQueryClient.ts @@ -40,6 +40,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -148,7 +149,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-timestream-write/src/TimestreamWriteClient.ts b/clients/client-timestream-write/src/TimestreamWriteClient.ts index ddc4b5ae0f5a1..34fbfae425513 100644 --- a/clients/client-timestream-write/src/TimestreamWriteClient.ts +++ b/clients/client-timestream-write/src/TimestreamWriteClient.ts @@ -40,6 +40,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -136,7 +137,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-transcribe-streaming/src/TranscribeStreamingClient.ts b/clients/client-transcribe-streaming/src/TranscribeStreamingClient.ts index 2ec9030eca896..52896f0283285 100644 --- a/clients/client-transcribe-streaming/src/TranscribeStreamingClient.ts +++ b/clients/client-transcribe-streaming/src/TranscribeStreamingClient.ts @@ -51,6 +51,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -105,7 +106,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-transcribe/src/TranscribeClient.ts b/clients/client-transcribe/src/TranscribeClient.ts index b4e06075fc686..2463c4f67cc71 100644 --- a/clients/client-transcribe/src/TranscribeClient.ts +++ b/clients/client-transcribe/src/TranscribeClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -289,7 +290,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-transfer/src/TransferClient.ts b/clients/client-transfer/src/TransferClient.ts index 4c93ed0ef3566..de219e9b70b98 100644 --- a/clients/client-transfer/src/TransferClient.ts +++ b/clients/client-transfer/src/TransferClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -190,7 +191,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-translate/src/TranslateClient.ts b/clients/client-translate/src/TranslateClient.ts index 63cb876cbdd49..7d49da83338db 100644 --- a/clients/client-translate/src/TranslateClient.ts +++ b/clients/client-translate/src/TranslateClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -133,7 +134,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-voice-id/src/VoiceIDClient.ts b/clients/client-voice-id/src/VoiceIDClient.ts index b9bb6c9f2b725..fa1bdf2ca9c73 100644 --- a/clients/client-voice-id/src/VoiceIDClient.ts +++ b/clients/client-voice-id/src/VoiceIDClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -163,7 +164,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-waf-regional/src/WAFRegionalClient.ts b/clients/client-waf-regional/src/WAFRegionalClient.ts index 4ff72b618d38e..660e2ba023944 100644 --- a/clients/client-waf-regional/src/WAFRegionalClient.ts +++ b/clients/client-waf-regional/src/WAFRegionalClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -427,7 +428,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-waf/src/WAFClient.ts b/clients/client-waf/src/WAFClient.ts index 313c1a9359100..29a5d78197699 100644 --- a/clients/client-waf/src/WAFClient.ts +++ b/clients/client-waf/src/WAFClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -409,7 +410,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-wafv2/src/WAFV2Client.ts b/clients/client-wafv2/src/WAFV2Client.ts index d1baa671bf478..045a1c51a3af6 100644 --- a/clients/client-wafv2/src/WAFV2Client.ts +++ b/clients/client-wafv2/src/WAFV2Client.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -298,7 +299,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-wellarchitected/src/WellArchitectedClient.ts b/clients/client-wellarchitected/src/WellArchitectedClient.ts index 9b759f204bb1a..819f24938ac4b 100644 --- a/clients/client-wellarchitected/src/WellArchitectedClient.ts +++ b/clients/client-wellarchitected/src/WellArchitectedClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -223,7 +224,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-wisdom/src/WisdomClient.ts b/clients/client-wisdom/src/WisdomClient.ts index c97747d26dce5..0f2676fdcc38e 100644 --- a/clients/client-wisdom/src/WisdomClient.ts +++ b/clients/client-wisdom/src/WisdomClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -202,7 +203,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-workdocs/src/WorkDocsClient.ts b/clients/client-workdocs/src/WorkDocsClient.ts index 615b23891b6c6..362f983df1cde 100644 --- a/clients/client-workdocs/src/WorkDocsClient.ts +++ b/clients/client-workdocs/src/WorkDocsClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -250,7 +251,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-worklink/src/WorkLinkClient.ts b/clients/client-worklink/src/WorkLinkClient.ts index 5e157062d1838..fe5ebfa27a26e 100644 --- a/clients/client-worklink/src/WorkLinkClient.ts +++ b/clients/client-worklink/src/WorkLinkClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -238,7 +239,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-workmail/src/WorkMailClient.ts b/clients/client-workmail/src/WorkMailClient.ts index 375878787393c..ea8a45e61402c 100644 --- a/clients/client-workmail/src/WorkMailClient.ts +++ b/clients/client-workmail/src/WorkMailClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -397,7 +398,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-workmailmessageflow/src/WorkMailMessageFlowClient.ts b/clients/client-workmailmessageflow/src/WorkMailMessageFlowClient.ts index 6d627ab092e2a..d4cd681f23280 100644 --- a/clients/client-workmailmessageflow/src/WorkMailMessageFlowClient.ts +++ b/clients/client-workmailmessageflow/src/WorkMailMessageFlowClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -87,7 +88,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-workspaces-web/src/WorkSpacesWebClient.ts b/clients/client-workspaces-web/src/WorkSpacesWebClient.ts index 69db1e6f281ee..4d99c1a3778fc 100644 --- a/clients/client-workspaces-web/src/WorkSpacesWebClient.ts +++ b/clients/client-workspaces-web/src/WorkSpacesWebClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -286,7 +287,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-workspaces/src/WorkSpacesClient.ts b/clients/client-workspaces/src/WorkSpacesClient.ts index 2d2e83f457e59..7d55cb453cf9b 100644 --- a/clients/client-workspaces/src/WorkSpacesClient.ts +++ b/clients/client-workspaces/src/WorkSpacesClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -367,7 +368,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/clients/client-xray/src/XRayClient.ts b/clients/client-xray/src/XRayClient.ts index 9104dc229b500..b99eab7694911 100644 --- a/clients/client-xray/src/XRayClient.ts +++ b/clients/client-xray/src/XRayClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -184,7 +185,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/private/aws-echo-service/src/EchoServiceClient.ts b/private/aws-echo-service/src/EchoServiceClient.ts index 4bd3c847b1179..70415dd787875 100644 --- a/private/aws-echo-service/src/EchoServiceClient.ts +++ b/private/aws-echo-service/src/EchoServiceClient.ts @@ -30,6 +30,7 @@ import { } from "@aws-sdk/smithy-client"; import { Provider, + BodyLengthCalculator as __BodyLengthCalculator, Decoder as __Decoder, Encoder as __Encoder, Hash as __Hash, @@ -69,7 +70,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/private/aws-protocoltests-ec2/src/EC2ProtocolClient.ts b/private/aws-protocoltests-ec2/src/EC2ProtocolClient.ts index 7efd274c792e0..47dc2eae54af8 100644 --- a/private/aws-protocoltests-ec2/src/EC2ProtocolClient.ts +++ b/private/aws-protocoltests-ec2/src/EC2ProtocolClient.ts @@ -29,6 +29,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Decoder as __Decoder, Encoder as __Encoder, Hash as __Hash, @@ -153,7 +154,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/private/aws-protocoltests-json-10/src/JSONRPC10Client.ts b/private/aws-protocoltests-json-10/src/JSONRPC10Client.ts index 750343a90eeae..6e82a134f8a76 100644 --- a/private/aws-protocoltests-json-10/src/JSONRPC10Client.ts +++ b/private/aws-protocoltests-json-10/src/JSONRPC10Client.ts @@ -29,6 +29,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Decoder as __Decoder, Encoder as __Encoder, Hash as __Hash, @@ -111,7 +112,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/private/aws-protocoltests-json/src/JsonProtocolClient.ts b/private/aws-protocoltests-json/src/JsonProtocolClient.ts index 47906d84f3272..53bcc66f4fdd0 100644 --- a/private/aws-protocoltests-json/src/JsonProtocolClient.ts +++ b/private/aws-protocoltests-json/src/JsonProtocolClient.ts @@ -35,6 +35,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, @@ -133,7 +134,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/private/aws-protocoltests-query/src/QueryProtocolClient.ts b/private/aws-protocoltests-query/src/QueryProtocolClient.ts index 5a03c4dc7dfb4..d0041b6acd697 100644 --- a/private/aws-protocoltests-query/src/QueryProtocolClient.ts +++ b/private/aws-protocoltests-query/src/QueryProtocolClient.ts @@ -29,6 +29,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Decoder as __Decoder, Encoder as __Encoder, Hash as __Hash, @@ -183,7 +184,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/private/aws-protocoltests-restjson/src/RestJsonProtocolClient.ts b/private/aws-protocoltests-restjson/src/RestJsonProtocolClient.ts index 9ea50773190b3..7990c6d542e2c 100644 --- a/private/aws-protocoltests-restjson/src/RestJsonProtocolClient.ts +++ b/private/aws-protocoltests-restjson/src/RestJsonProtocolClient.ts @@ -29,6 +29,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Decoder as __Decoder, Encoder as __Encoder, Hash as __Hash, @@ -476,7 +477,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. diff --git a/private/aws-protocoltests-restxml/src/RestXmlProtocolClient.ts b/private/aws-protocoltests-restxml/src/RestXmlProtocolClient.ts index 7213f34cdac58..1f1c56586735b 100644 --- a/private/aws-protocoltests-restxml/src/RestXmlProtocolClient.ts +++ b/private/aws-protocoltests-restxml/src/RestXmlProtocolClient.ts @@ -29,6 +29,7 @@ import { SmithyResolvedConfiguration as __SmithyResolvedConfiguration, } from "@aws-sdk/smithy-client"; import { + BodyLengthCalculator as __BodyLengthCalculator, Decoder as __Decoder, Encoder as __Encoder, Hash as __Hash, @@ -315,7 +316,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ * A function that can calculate the length of a request body. * @internal */ - bodyLengthChecker?: (body: any) => number | undefined; + bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes.